Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jeremy-rifkin/mandelbrot-trajectories

Looking at shapes generated from tracing escape trajectories of points in the Mandelbrot set.
https://github.com/jeremy-rifkin/mandelbrot-trajectories

Last synced: 9 days ago
JSON representation

Looking at shapes generated from tracing escape trajectories of points in the Mandelbrot set.

Awesome Lists containing this project

README

        

## Mandelbrot Trajectories

This is an extension / fork of a [previous project](https://github.com/jeremy-rifkin/mandelbrot-orbits).

The Mandelbrot is defined as points $c$ for which the iteration of $z_{n+1} = z_{n}^2 + c$ does
escape towards infinity.

When complex numbers are multiplied, they appear to rotate on the complex plane. Tracing the
trajectories can lead to cool shapes - spirals and stars.

How many points do these spirals/stars have based off of their starting location?

When investigating algorithms to [identify periods of orbits in the Mandelbrot](https://github.com/jeremy-rifkin/mandelbrot-orbits) I came up
with an algorithm that can quantify apparent "shapes". Check out the inter-active app
[**here**](https://rifkin.dev/projects/mandelbrot-trajectories/).

The result of the algorithm is this, displaying the various regions that will produce various
shapes:

![](render.png)

### Project layout:

General overview:

```
bin - compiled binaries, object files, and dependency files
gui - typescript and sass gui code
gui-dist - html code and compiled js
screenshots - trajectory screenshots used on the web page and README
src - C++ render code
```

Kickstart:

```bash
npm i
make
./bin/mandelbrot.exe
webpack
cp -rv render.png screenshots gui-dist
```