Doris GAO 3175995
- Draw a canvas with a restriction of 900*900
- Draw circles, circle srokes, rhombus, polygon and special strokes
- Set random coordinate for all shapes except polygon
- Set random colors for circles, rhombus and special strokes
The image will be random generated when the page refreshed.
I named this work as “wonder”, the polygon is positioning in
same coordinate, the position won’t change everytime I refresh the page, but lines inside are changing. Other shape will be randomly generated around it. I want to express that time goes by, although things will change around us, we are exactly what we are, we shouldn’t lose ourselves when everything changed by our side .
-comments from second assignmen
-plan to add more shapes, colors into canvas
Set global variable
Set up canvas
Set random color