3 ms·
Here is a version adapted for Tributary: http://tributary.io/inlet/4199801/ http://tributary.io/inlet/4199801/ Press play in the bottom left to have it go, and
by enjalot 14y ago
Here is a version adapted for Tributary: http://tributary.io/inlet/4199801/ http://tributary.io/inlet/4199801/
Press play in the bottom left to have it go, and scrub numbers/colors to your hearts content!
Part of the reason it slows down in livecoding is because of the way the original code uses setInterval, and every change reevaluates the code which polutes the scope and starts way too many threads going. I've added optional functionality to Tributary which gives you a run loop (using requestAnimationFrame) that doesn't polute anything.
Hope this helps!
- scottyallen 14y agoVery awesome:) It's _almost_ fast enough to feel like you're modifying it in realtime on my macbook air. This is a great demo of what might be possible with this responsive programming approach.