Skip to content

dkreft/sierpinski-fractal-generator

Repository files navigation

sierpinski-fractal-generator

Sample Fractal

About The Project

As part of my son's collegiate math class, he wanted to create a variation of a Sierpinski triangle where the triangles grew outside of the primary triangle rather than being nested within it. We couldn't figure out a programmatic solution before the due date of the project, so he wound up having to draw it by hand.

Some weeks later, I decided to attack the problem as a side-research project to expand my skillset a bit. After a few weeks of beating my head against the keyboard, things finally fell into place, and I was able to generate the same image my son drew by hand. Then, of course, I had to add some features to make it fun to play with.

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Installation

  1. Clone the repo
    git clone [email protected]:dkreft/sierpinski-fractal-generator.git
  2. Install dependencies
    yarn
  3. Run the development server
    yarn dev

License

Distributed under the MIT License.

About

Customized, interactive Sierpinski fractal generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published