click the green flag to start and click to draw space is to clear and R is to do rainbow
credit to @t-atwood-rose for everything