Rainbow Lines (v3, Scratch Programming Playground)
This is a graphics demo. You just watch it.
Learn to program games with this free online Scratch course: https://inventwithscratch.com/class
This game is featured in the book "Scratch Programming Playground", which you can read online for free at https://inventwithscratch.com
Version 3 of this demo has two separate lines instead of a triangle or V.