/go-fractals

Fractal geometry / CAD models using SDFs. (Signed Distance Functions)

Primary LanguageGoMIT LicenseMIT

Go Fractals!

Some renders I made based off fractal patterns.

I found out that GitHub has a built in STL viewer!! Check them here!

Usage

$ go run ./cmd/menger --help

Usage: menger.exe

Flags:
  -h, --help                   Show context-sensitive help.
      --iterations=3           The number of recursive calls to make when
                               generating.
      --mesh-cells=300         Number of MeshCells to use in rendering.
      --size=30                Size in mm of the requested geometry.
      --output="menger.stl"    Output path to write rendered geometry to.