Victus Spiritus


Chaotic CoffeeScript

24 Jun 2011

Thanks to a helpful reminder I got the html5 chaos field working smoothly with client side file based coffeescript (.coffee) . I found the effect at Jonas Wagner's site, and went through the practice of converting it to CoffeeScript. The process literally took an instant thanks to js2coffee. The mods took a couple of hours to determine what was too slow or just broken about my CoffeeScript modifications. The one tiny issue I have with js2coffee is replacing 2 spaces with tabs.

The effect runs much smoother in Chrome/ium than the versions of Firefox (5.0 beta) and Safari (latest) I have installed locally.