Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
awk
 
 
cpp
 
 
 
 
go
 
 
 
 
 
 
 
 
php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

The Mandelbrot set in cpp

The Mandelbrot set in cpp

NodeJS

cli-mandelbrot is an NPM package (Github) for viewing and moving in the Mandelbrot set in a terminal, in ascii.

The Mandelbrot set in nodejs

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:

The Mandelbrot set in glsl

Python

Continuous, Require PIL:

The Mandelbrot set in Python

Go

The Mandelbrot set in go

Scala

The Mandelbrot set in Scala

Haskell

The Mandelbrot set in haskell

Awk

The Mandelbrot set in awk

Ruby

The Mandelbrot set in Ruby

PHP

The Mandelbrot set in 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

The Mandelbrot set in postscript - minimal version

The Mandelbrot set in postscript