To view this content, you need to install Java from java.com

Purpose:
Illustrate the use of the Java "for" loop.
Draw three rectangles to the canvas (screen) using a "for" loop using the default colors.

The variable "i" will go from 0 to 9 incremented by 3.
The toal times in the lopp will be 4.

Default canvas size is width 100 and length 100.
Default canvas color is a gray.
Default stroke (outline) color is black.
Default fill color (for shapes) is white.

Source code: for_loop_0005

Built with Processing