Simulating the Chaos Game & Tutorial Links

  scripts
  sprites
See inside
Instructions

Chaos Game
Given: We have 3 fixed target vertices 1,2,3 ,say, at coordinates: (0,1),(-1,0),(1,0) respectively
Rule:
Pick a random starting point and run the following scheme:
1) Randomly choose a target vertex 1,2 or 3 and move half the distance towards it. For example, if vertex 1 was chosen then move half the distance towards vertex 1 from the current position. Mark new position.
2) Repeat the process until at least 10,000 times.

Notes and Credits

This is the scratch document that compliments my Youtube tutorials
Scratch Programming: Chaos Game 1&2
1)Introduction: https://youtu.be/QEv1WM8ugCA
2)Coding tutorial: https://youtu.be/MzgBWmRBU_4

Use Turbo mode (shift+Green Flag) to speed up the simulation.

Shared: 20 Jan 2016 Modified: 21 Jan 2016
Favorite this project 12
Love this project 17
Total views 375
View the remix tree  7
  
More projects by selim_tezel