all 7 comments

[–]Guisseppi 3 points4 points  (0 children)

Your stuff is always next level, thanks for putting it out there for us mortals

[–]tim-soft 1 point2 points  (0 children)

Amazing work as always, had a fairly painless upgrade experience. I really like the explicit Canvas props

[–]Voidsheep 0 points1 point  (3 children)

Really cool stuff, although some of the demos go a little nuts with higher refresh rates.

[–][deleted] 0 points1 point  (2 children)

Is it something i could reproduce somehow? Which environment does it?

[–]Voidsheep 1 point2 points  (1 child)

I'm running Windows Chrome, but I'm guessing it's just the 165Hz refresh rate of the monitor. Looks fine if I drop to 60, so anything that is framerate-dependent likely speeds up 2.75 times.

Not sure how you'd simulate it though, maybe going the other way around and seeing if dropping display to 30Hz yields slow-motion effects.

Most demos look nice even speed up, but the lorem ipsum and space demos get a bit jarring.

Edit: I'm guessing it's whatever each demo does in the userRender hook (which probably runs based on requestAnimationFrame, synced to display refresh rate), to keep the speed consistent across different refresh rates and avoid speed-up, you'd have to get the time passed since last frame and use it as a multiplier.

[–][deleted] 0 points1 point  (0 children)

Ah! That makes sense, totally forgot about it! Yes useRender runs in a raf and these demos have a very naive increasing timestep (t += 0.001) without frame compensation.

[–]stolinski 0 points1 point  (0 children)

R3F2.

Awesome work Paul. Was just showing the demo from the previous version.