Science Fair Project:

Order in Chaos

4.1 based on 16 ratings


Mathematics, Physics


This experiment will explore if a randomly iterated algorithm will result in a pattern.

Research Questions:

  • Can patterns be pulled out of a seemingly random algorithm?
  • How long does an algorithm have to be repeated until a pattern appears?


Iterated algorithms are very important for mathematics today. By repeating equations, scientists are finding brand new things out about the natural world (populations, epidemics, etc.). Iterated algorithms help us forecast the weather as well as predict how a faucet drips.


  • Large piece of paper
  • Pencil
  • Ruler
  • Die
  • Camera
  • Computer

Experimental Procedure

  1. Draw three points on the paper, making a loose triangle. Label these points A, B, and C.
  2. Draw another point anywhere on the paper. This is the “seed.”
  3. Roll the die.
  4. If a 1 or 2 comes up, use the ruler to draw a line halfway between the seed and point A. If a 3 or 4 comes up, draw a line halfway to point B. If a 5 or 6 comes up, draw the line halfway to point C.
  5. This point, halfway between the original seed and A, B, or C, is your new seed.
  6. Repeat Step 3 and 4 for the new seed.
  7. Keep on repeating as long as possible. Take photos along the way.
  8. You will reach a point where your materials will be too big and clumsy to continue. Stop.
  9. Analyze this data. Does a pattern emerge? What would it look like if you could iterate your algorithm many more times?
  10. If you have basic programming skills, attempt to create a computer program that could iterate this algorithm thousands of times. Does a pattern emerge now?

Concepts: fractals, iterated algorithm, The Sierpinski Triangle

Author: Barry Eitel
Disclaimer and Safety Precautions provides the Science Fair Project Ideas for informational purposes only. does not make any guarantee or representation regarding the Science Fair Project Ideas and is not responsible or liable for any loss or damage, directly or indirectly, caused by your use of such information. By accessing the Science Fair Project Ideas, you waive and renounce any claims against that arise thereof. In addition, your access to's website and Science Fair Project Ideas is covered by's Privacy Policy and site Terms of Use, which include limitations on's liability.

Warning is hereby given that not all Project Ideas are appropriate for all individuals or in all circumstances. Implementation of any Science Project Idea should be undertaken only in appropriate settings and with appropriate parental or other supervision. Reading and following the safety precautions of all materials used in a project is the sole responsibility of each individual. For further information, consult your state's handbook of Science Safety.

How likely are you to recommend to your friends and colleagues?

Not at all likely
Extremely likely