frcroth / sierpinski-random

Draw a Sierpiński triangle with random numbers. Uses python and turtle.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Drawing a Sierpiński triangle with random numbers

This is a small script from my school days, which draws a Sierpiński triangle using random numbers.

This is a well known example of a chaos game. Using turtle, it produces a Sierpiński triangle, which is a nice looking fractal.

This script (without some enhancements) was created at a course at the "Mathematische Schülergesellschaft Leonhard Euler" some years ago.

Troubleshooting

To get it to work, I had to do some searching. These links may help you.

About

Draw a Sierpiński triangle with random numbers. Uses python and turtle.


Languages

Language:Python 100.0%