sveltejs / gl

A (very experimental) project to bring WebGL to Svelte
https://svelte.dev/repl/8d6d139a3d634c2fb1e1ff107c123dd5?version=3.16.4
MIT License
603 stars 26 forks source link

Throttle controls (e.g. OrbitControls) on rAF #7

Closed Rich-Harris closed 5 years ago

Rich-Harris commented 5 years ago

It's possible to have events more than once per frame, so there should be an easy throttling mechanism