Skip to content

surt91/AFractalADay

Repository files navigation

🎨 A Fractal A Day

4 Möbius transformations with 7-fold rotational symmetry

Rust

This is the Twitter bot @AFractalADay, which tweets pictures of random fractals.

Two blog articles describing the fractals and -- more importantly -- showing example fractals can be found here and here.

🛠️ Setup

This program is pure rust with an optional dependency on Imagemagick and optipng which will be called through the shell.

Just use cargo: cargo run --release --features="binaries"

Important: Do not forget to put in valid keys and secrets in keys_and_secrets.json.

🐳 Docker

You can also use a docker container:

# build it
docker build . -t fractal
# run it
mkdir -p img
docker run -v $PWD/img:/img fractal --appolonian --width 400 --height 400
# the generated fractal will be saved to the mounted volume (here `./img`)

🌿 Dependencies

  • Imagemagick (optional)
  • optipng (optional)

About

Tweets a random fractal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages