Line Segment Intersection

  scripts
  sprites
See inside
Instructions

1) Click the Green Flag to begin.

2) Set the "Trials" value to any value from 1-100.

3) Set the "Run" value to any value from 1-100.

4) Click the Green Flag again.

Notes and Credits

- In this program, two random line segments are drawn 1 or more times depending on the "Run" value.
- The above process is repeated 1 or more times depending on the "Trials" value.
- The amount of intersections that occur between the line segments is recorded in "TRIALS".

Shared: 22 Dec 2015 Modified: 25 Jan 2016
Favorite this project 0
Love this project 0
Total views 29
View the remix tree  3
  
More projects by 221158454