Skip to content

theRealProHacker/sierpinski

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Drawing the Sierpiński triangle

Original idea: https://www.instagram.com/reel/CtYxBvbscK3/

This JS app draws a Sierpiński triangle in a canvas using the method shown above. The state is saved locally in a cookie so it can be resumed at any time.

A small gif showing the process when you open the page

An example image that shows the triangle after some time

About

Drawing a Sierpiński triangle on a wep page

Topics

Resources

Stars

Watchers

Forks

Languages