8 Queens Problem
Abhivadaye
Anagram Finder
Bouncing Spheres
Break Out
Classic Snake
Cycloids
Deflection Demo
Double Pendulum
EV Savings
Flocking
Fog fly through
Forces on Objects
Fractals
Game of Life
Horizontal Stars
Image Scanning
JSON Beautify
Julia Sets
Kaleidoscope
Kock Fractals
Lorenz Attractor
Mandlebrot Set
Meta Balls
Natural Flocking
Number Convert
Number Game
Pandemic Simulator
Particles & Nodes
Perlin Noise
Poisson Disk
QuadTree Search
Ripples
Set Demonstration
Sierpiński Triangles
Simple Pendulum
Sine Waves
Starfield
Super Shapes 2D
Target Finder
Tic Tac Toe
Voronoi Diagram
Who Moved My...
Sierpiński triangles
The Sierpinski triangle also called the Sierpinski sieve, is a fractal with the overall
shape of an equilateral triangle, subdivided recursively into smaller equilateral triangles.
This is one of the basic examples of self-similar sets–that is, it is a mathematically generated pattern
that is reproducible at any magnification or reduction. It is named after the Polish mathematician Wacław Sierpiński,
but appeared as a decorative pattern many centuries before the work of Sierpiński.
27 Nov 2019
These triangles are drawn in much the same way many fractals are drawn. Using recursion.
![]() |
We start with the triangle depicted in orange on the image to the left. The frame is updated so that
we draw three triangles, half its size, adjoining it.
|