Chaos Fractal with rolling a dice

by sayochi
See Code Download Embed
rolling dice chaos game creates a fractal.

pick a random point on screen. roll a dice.
if dice is:

1 or 2 = move towards A with (Distance to A) / 2

3 or 4 = move towards B with (Distance to B) / 2

5 or 6 = move towards C with (Distance to C) / 2

repeat the same process for new point

Created April 12, 2021

Last updated May 1, 2021

Published April 12, 2021