solar-system-of-js
solar-system-of-js copied to clipboard
Prevent overflow of the animation channel
from: http://www.reddit.com/r/javascript/comments/32t9q6/the_solar_system_of_js/cqf7h5o
Keeps breaking for me (on latest OS X with latest Chrome) after a few slides with: Uncaught Error: Assert failed: No more than 1024 pending puts are allowed on a single channel. >Consider using a windowed buffer. (< (.-length puts) impl/MAX-QUEUE-SIZE)
I'm pretty sure this is the tick-tap
channel. Something must be blocking it. I thought it the draw function was the only thing that would slow it down, whereas the animations are just state calculations that can presumably happen in less than 12ms.
Maybe the persistent state structure is growing too much. Will investigate
Let me know if I can help!