This project is a visualizer for Multibrot and Julia Sets. It allows to create and visualize complex fractals using various coloring techniques. The renderer is highly customizable. The project is written in TypeScript and uses WebGL for rendering, with GLSL shaders for fractal generation and coloring.
Try the web demo.
The Multibrot Set
in the form:
For each complex parameter
if we indicate with
The case of
To visualize a Multibrot Set, one typically starts with a grid of complex numbers in the complex plane. For each complex number
The Julia Set
For a given complex number
Each Julia Set is associated with a unique point in the Multibrot Set, and the shape of the Julia Set can provide insights into the behavior of the complex dynamical system associated with its corresponding point in the Multibrot Set. Values of the parameter
Visualizing the Julia Set involves a process similar to the Multibrot Set, but with a slight variation. We begin with a point
You need to have Node.js and npm installed on your machine. You can download Node.js here and npm is included in the installation.
First, clone the repository to your local machine:
git clone https://github.com/xhst/multibrot-set.git
then, navigate to the project directory and install the dependencies with:
npm install
To build the application, run:
npm run build
Or, to have a localhost webpack server, run:
npm run serve