Programming Geometry |
Draw a house of lines and circles.
- coordinates
- elementary graphics commands
- methods with parameters
- for loops
First a house is drawn, then several houses at different locations. Translational displacement.
A method is programmed that draws the house at a given position. The position of the house as a parameter of the method.
Several houses are arranged in a grid. Use of for loops.
Interactive graphics. Grid with variable number of rows and columns and variable spacing.