Years ago, I wrote a fractal generator/explorer for OpenGL. Crazily enough, after nearly 10 years, it still compiles without complaint on Linux. But the web is the future [er… or, rather, the present], so…
So I ported the the C version to Coffeescript, AngularJS, LESS, Jade and [insert buzzword]. The port was actually very straightforward with the majority of time spent on building the UI, fiddling with AngularJS, adding fractals, refactoring, etc. Nothing in the code is too surprising. One controller handles the UI, two services manage application state and one service renders the fractal.
The app is here. The code is on GitHub here. To “compile” the code, you’ll need the NodeJS compilers for Coffeescript, LESS and Jade. Then run ./scripts/run_compilers.sh. (Yes, I could have used Grunt or Gulp, but the simple bash script is really simple.)
Pull requests, comments, suggestions, etc always welcome. In particular, are there other fractals that you’d suggest?