mandelbrot
mandelbrot copied to clipboard
:mushroom: Renderings of the Mandelbrot set in various languages
mandelbrot
Renderings of the Mandelbrot set in various languages. Some are interactive and pretty, and some are no more than coding exercises. If you wanna skip the details and just play with the best one, click here.
C++
Continuous, interactive.
Run in shell and use the wasd
keys for movement, rf
for zoom, tg
for changing the number of iterations, and o
to quit.
Result will output to temp.bmp
.
NodeJS
cli-mandelbrot is an NPM package (Github) for viewing and moving in the Mandelbrot set in a terminal, in ascii.
Canvas and GLSL
The Mandelbrot-Julia relation implemented in both Canvas and GLSL (OpenGL Shading Language over WebGL).
GLSL is much much faster, as can be seen in the similar implementations:
Python
Continuous, Require PIL:
Go
Scala
Haskell
Rust
Awk
Ruby
PHP
Spreadsheet
This Google spreadsheet generates the Mandelbrot set out of five formulae - two to define the real and imaginary values of the area, two to define the real and imaginary parts of the iteration, and one to define the escaping condition. Those formulae can be found in the five cells marked with borders. All other cells are stretched from them.
Guest committers
PostScript
By Leerons
Will get your printer huffing and puffing