- Notifications
You must be signed in to change notification settings - Fork0
Sierpiński triangle implementation with React/TypeScript
License
Constantiner/sierpinski-triangle-react
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This project is a recursive implementation of the Sierpiński triangle using React, Canvas, and TypeScript. The Sierpiński triangle is a fractal named after Polish mathematician Wacław Sierpiński. The triangle is formed by recursively dividing an equilateral triangle into smaller equilateral triangles and removing the central triangle. The resulting pattern is a beautiful and intricate fractal. In this project, we use React to render the Sierpiński triangle on a Canvas element and TypeScript for strict typing. The recursive implementation allows for creating Sierpiński triangles of varying sizes and levels of detail.
The demo is availablehere.
Thanksthis article for the inspiration.
About
Sierpiński triangle implementation with React/TypeScript
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.