We can get much better performance and redraw speed by using requestAnimationFrame instead of timeouts in a tight loop.
This PR is on top of #18, so it should be merged first (sorry, @benschwarz but I’m being lazy and didn’t want to have to deal with merging the two later)
We can get much better performance and redraw speed by using
requestAnimationFrame
instead of timeouts in a tight loop.This PR is on top of #18, so it should be merged first (sorry, @benschwarz but I’m being lazy and didn’t want to have to deal with merging the two later)
TODOs
Before
After