Many people did fractals renderers in Javasript in 256 bytes, but no one ever made one that zooms and rotate... until today.
Exactly 256 bytes.
And here is a slightly beautified version of the render loop
Not much magic going here. It is rather straight forward implementation of a
Mandelbrot fractal renderer with zoom and rotation of the viewport.
Many bytes were
wasted to make sure this effect works cross browser.
The one trick I like here and reused many times was to have one line with some kind credits that also serves as a look up table to render the frames.
You can find
Other recent experiments
There are many experiments and projects like
ROTOZOOM to discover other here. MONOSPACE
Solves a Sudoku grid using magic, recursion, and 140bytes of brute force. ASAHIKAWA
Flyby the city of Asahikawa in 64 bytes. TERRA
A voxel landscape rendered using a plasma in a valid 480bytes Atari bootsector. TERRA ranked #2 at Outline 2006 PULPINA
Winning 64kb DOS intro at the Volcanic party 1997, made in one week, in Pacal.
Don't be shy; get in touch by
mail, twitter, github, linkedin or pouet if you have any questions, feedback, speaking, workshop or performance opportunity.