Tuesday, November 19, 2019

100 Days of Github. Take 2, Day 31.

Day 31

Aaaaand, another chaos game.

The rules are as follows:
Take a square with vertices labelled 1, 2, 3, and 4.
Start with a random point inside the square.
Toss a 4-sided coin with sides corresponding to vertices of the square.
Based on the coin toss, move halfway closer to the chosen vertex.
Repeat, making sure that the subsequent coin toss must not be the next one in anti-clockwise direction.

Take a look:


And, the notebook is here.

---
Uploads remaining: 69
Days remaining: 42

Ideal rate of uploads: 1 upload per 0.61 days. Or, 1.64 uploads/day.

No comments:

Post a Comment