Skip to content

ymchandra/sierpinski-triangle

Repository files navigation

Choas game

Wiki - https://en.wikipedia.org/wiki/Chaos_game

Getting Started

Initialize the repo with

yarn install

First, run the development server:

yarn dev

Open http://localhost:3000 with your browser to see the homepage.

It has the following properties to play with

Property Description Default
Total Dots The number of dots that the triangle should have 1
Distance The distance between the dots wrt base dots 0.5
Base Radius The radius of the base dots 10
Base Dots color The color of the base dots #0000FF
Dots Radius The radius of the dots 1
Top Dots color The color of the top dots violet
Left Dots color The color of the left dots red
Right Dots color The color of the right dots cyan

About

This repo holds the source code for Sierpiński triangle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published