This hour I began the Basic Cityscape drawing in code course and completed stage 1. Specifically, I learned to draw the shapes of different sizes of buildings using code on a coordinate system. Beginning with using the context.fillRect() command to create the shapes by hand I eventually worked up to using variables (vars) and functions (function drawBuilding(leftX, groundY, units, floors) {}) to automate the process. Next Hour I will complete the second stage and continue to learn to draw a cityscape with code. |
|
---|---|
Wednesday, 17 June 2020
10 Hours of Coding Hour 7
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment