Lab 21: Canvas

Link to Lab 21:

Lab 21 was creating a canvas where the user can draw in multiple colors and stroke sizes. Most of the magic behind the scene was done using JavaScript which involved defining the canvas’ dimensions, the stroke style, and line width. Next was to make sure whenever the user holds the mouse down, it will draw and as you draw the color and stroke width will get alternate from small to big.


Comments

Popular posts from this blog

Lab 23-2: Type Ahead

WBL Workshop 2

Lab7 - Simple Accordion