Tuesday 14 April 2020

Drawing code day 1

Day 1 of Drawing Code Basic Cityscape
The first step was to learn how to draw a rectangle using code.
The second step was to learn how to draw the ground line.
The third step was to learn how to make the building shape resting on the ground.
The fourth step was to learn how to add color the the building.
 The main part that was the hardest was the math because it got confusing at times and the code is really sensitive to mistakes.
The fifth step was to start adding variables to the code.
The sixth step was to add a program to calculate to the position and size of the building.
The seventh step was to write a function to draw the building.
The eighth step was to use translate() to position the building.

No comments:

Post a Comment