896
AI Rule (lemmy.world)
submitted 5 months ago by seaQueue@lemmy.world to c/196
you are viewing a single comment's thread
view the rest of the comments
[-] Daxtron2@startrek.website 6 points 5 months ago

Canvas code can get out of hand very quickly if not done right

[-] TootSweet@lemmy.world 2 points 5 months ago

I've made exactly two projects that utilized canvas, both of which I "released" in a sense. One contains 248kb of JS code and the other contains 246kb. That's before it's minified.

So I guess that means I did my canvas code right. Lol.

(Unless you meant 3d canvas or WebGL stuff with which I haven't played.)

[-] thanks_shakey_snake@lemmy.ca 6 points 5 months ago

I think they're referring to the memory footprint, not the source code file size.

[-] Daxtron2@startrek.website 2 points 5 months ago

Code size isn't really related to how much graphics data you're throwing in RAM

this post was submitted on 31 Aug 2024
896 points (100.0% liked)

196

17013 readers
676 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

If you have any questions, feel free to contact us on our matrix channel.

founded 2 years ago
MODERATORS