Skip to content

A self-similar fractal gallery application using Scala native.

License

Notifications You must be signed in to change notification settings

Rusty-Bike/fractals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fractals

A Scala native fractal generator.

Sierpinski Triangle Sierpinski Triangle

First runners

You need to install llvm, sdl2 and bdw-gc to your system.

MacOS

brew install llvm sdl2 sdl2_ttf bdw-gc

Linux (tested on Ubuntu 18.04)

sudo apt install llvm
sudo apt install libsdl2-dev
sudo apt install libgc-dev

It is also needed clang and libunwind-dev.

sudo apt install clang
sudo apt install libunwind-dev

Running

After that sbt run will start and run the project.

For the implemented fractals you can add the number of the implementation as command line parameter. (for ex. sbt "run 3")

You can use left mouse button to add more detail/depth to the actual fractal. You can use right mouse button to iterate between the fractals. You can use middle mouse button to animate the actual fractal.

List of implemented fractals

  • 0: sierpinski SierpinskiTriangle

  • 1: vicsek Vicsek

  • 2: vicsekx VicsekX

  • 3: cantorDust CantorDust

  • 4: kochCurve KochCurve

  • 5: kochSnowflake KochSnowFlake

  • 6: Tree Tree

  • 7: sierpinski carpet SierpinskiCarpet

  • 8: dragon curve DragonCurve

  • 9: H fractal Hfractal

  • 10: Minkowski Sausage MinkowskiSausage

  • 11: Cesaro Cesaro

About

A self-similar fractal gallery application using Scala native.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages