this post was submitted on 31 Aug 2024
883 points (98.6% liked)

196

17520 readers
511 users here now

Be sure to follow the rule before you head out.


Rule: You must post before you leave.



Other rules

Behavior rules:

Posting rules:

NSFW: NSFW content is permitted but it must be tagged and have content warnings. Anything that doesn't adhere to this will be removed. Content warnings should be added like: [penis], [explicit description of sex]. Non-sexualized breasts of any gender are not considered inappropriate and therefore do not need to be blurred/tagged.

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

Other 196's:

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] TootSweet@lemmy.world 15 points 7 months ago (5 children)

I really hope you don't know about this 4GB limit specifically because you've run up against it while doing anything real-world.

[–] Daxtron2@startrek.website 6 points 7 months ago (3 children)

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

[–] TootSweet@lemmy.world 1 points 7 months ago (2 children)

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.)

[–] Daxtron2@startrek.website 2 points 7 months ago

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

load more comments (1 replies)
load more comments (1 replies)
load more comments (2 replies)