Skip to content
🍄 Renderings of the Mandelbrot set in various languages
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
awk
cpp
docs
go
haskell
nodejs
other
php
postscript
python
ruby
scala
.gitignore
README.md
TODO.md

README.md

mandelbrot

Renderings of the Mandelbrot set in various languages

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

You can’t perform that action at this time.