Lab #21

In this lab, we are suppose to create a canvas that allows users to draw on it, while at the same time the color changes with the pen size changing also. This one was a rather difficult one, because in code.org, it was way easier to make it. First we have to declare the x and y position as their own separable variable. Next, we have to declare that when the mouse is clicked, the color would change depending on the position of the mouse. So as long as the person keep moving around the mouse, it would always be different. I learned from this lab how to create an interactive drawing board, which could be implemented to a certain website like an Art Promotion.

Comments

Popular posts from this blog

Lab 11

Final Portfolio Plan

Lab #43