logoalt Hacker News

Rohansiyesterday at 4:24 PM1 replyview on HN

> I assume that means it is rendering an entirely new image each frame... which is a tad wild.

What's wild about that? That's exactly what it's doing and what most uses of canvas/WebGL do.


Replies

wyrdcurtyesterday at 6:52 PM

It's wild if it's running at 400 fps because nobody has a screen that refreshes at 400Hz. Every frame rendered past the screen refresh rate is wasted compute. Easily solved by limiting the frame rate.

show 1 reply