Learn creative coding writing simple programs

16. Create an animated rainbow

We draw circles in the bottom part of the screen. Half of the circle is outside the screen, so it looks like half circle. We draw them using different sizes, colors and line weights, so we get a colorful rainbow effect.


Code editor

You can make changes to the code below. Then
Questions and comments are welcome! :) But please try to stay close to the topic of this episode. Use the Processing forums for help with your Processing projects (or hire me for help ;-)