Académique Documents
Professionnel Documents
Culture Documents
Riling
You will be drawing with two functions. They are named drawCircle and drawRectangle. drawCircle takes four inputs: drawCircle(x-coordinate, y-coordinate, radius, color) drawRectangle takes five inputs: drawRectangle(x-coordinate, y-coordinate, width, height, color)
So if I wrote: drawCircle(20, 40, 5, red) I would get a circle positioned at (20, 40), with a radius of 5 pixels, drawn in red!
So change up the text in the algebra1Drawing.coffee file to include these things and create a beautiful masterpiece.