Prototyped with CodeSandbox
To run:
npm install
npm start
you can also play around with this in codesandbox here: https://codesandbox.io/p/github/bryanjj/fractalview/
This app visualizes the 4d space of mandelbrot and julia sets.
this space is a
this is a 2d-complex space and the app views a 2d-real slice of this space.
You configure the 2d slice you are viewing by mapping the 4 real dims to the 2 dims (x and y) of the view window
the other dims not assigned to x and y can be set to specified constants. This allows you to view the 4d space from any orthogonal slice.
The mandelbrot set is defined as:
the set of points c, where the following recursive function converges
So to configure the classic mandelbrot set you would set the following coord mappings:
real
imag
real
imag
The julia sets are defined:
as the set of points Z0, where the following converges:
for example:
real
imag
real
imag