Continue from a previous project with one moving line, and knowing how to detect if two lines intersect, animate two randomly moving lines. When these two lines intersect, color the the line in green. Knowing the orientation of triangles may help you solve this problem.
Two Randomly Moving Intersecting Lines
Categories: