Skip to content

A unique live-drawing canvas for multibrot-like fractal images.

Notifications You must be signed in to change notification settings

fcseidl/fractalinator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fractalinator

This repo holds the source code for a digital art demo I created and deployed as a single-page web application. To use the app to make your own art, click here. Read on to learn more about the idea and its implementation.

This is an drawing app which lets you draw a multibrot-like fractal in any shape that you choose! The video below shows an example. I tried to evoke a saguaro cactus. A few more example fractalinations are at the bottom of this README.

cactus480p.mov

What's going on

Your browser runs the fractalinator app using the four files in the /docs folder. Three of these are the usual index.html, with a CSS stylesheet, and a javascript to handle the interactivity. The fourth is a wheel for the fractalinator Python package, built from source code in this repository. This package controls the fractal image, performing numerical computation which would be slow and cumbersome in Javascript. Python methods are called from Javascript using pyodide, a WASM Python interpreter.

fractalinator

You can also install the fractalinator package to your Python environment using

pip install git+https://github.com/fcseidl/fractalinator/

You can run the demo.py module to open a fractalinator canvas in a Tkinter widget, outside the browser.

Is the name a Phineas and Ferb reference?

Yes, yes it is.

Lagoon

The waves are achieved by setting bailout_radius=2.0.

fractalinator

Flames

Here, I drew in the negative space rather than the positive.

fractalinator

Ghost

From 10/24. Happy Halloween!

fractalinator

Saguaro

Here's the cactus drawing from the video, in higher resolution.

fractalinator

M

Go Blue!

fractalinator

About

A unique live-drawing canvas for multibrot-like fractal images.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages