danyshaanan / mandelbrot

:mushroom: Renderings of the Mandelbrot set in various languages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

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

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

Continuous, Require PIL:

The Mandelbrot set in Python

The Mandelbrot set in go

The Mandelbrot set in Scala

The Mandelbrot set in haskell

The Mandelbrot set in Rust

The Mandelbrot set in awk

The Mandelbrot set in Ruby

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

By Leerons

Will get your printer huffing and puffing

The Mandelbrot set in postscript - minimal version

The Mandelbrot set in postscript

About

:mushroom: Renderings of the Mandelbrot set in various languages


Languages

Language:C++ 37.2%Language:Python 19.1%Language:PostScript 16.0%Language:PHP 5.1%Language:Go 5.0%Language:JavaScript 4.2%Language:Scala 3.2%Language:Haskell 2.8%Language:Ruby 2.4%Language:Rust 2.3%Language:Awk 1.7%Language:Shell 1.1%