Programming Geometry |
A configurable house. Parameters control the shape of the house.
- methods with parameters
- geometrical calculations with coordinates
- intercept theorem
Based on
- exercise sheet 3
A house is drawn, where the shape is controlled by six parameters. At first, the houses consist of only one attic. Additional floors are then inserted depending on h1.
Interactive graphics. The parameters of the house can be changed at runtime using sliders.