top of page
Search
  • nathaliamccarthy

Drawing Application

This week we completed a drawing application, that allowed us to change colors and the size of pen we were writing with. First we started with creating variable which is "var". Then we set values for our variables. Then we began to create our circle using "ellipse", we set mouseX and mouseY so that the circle will move with the mouse and draw. We created conditional statements so that every time we pressed a certain key the color will change to the color we want and also to the size of the circle we want. At the end I created this mini circles different color sorta like an illusion with pretty colors.







2 views0 comments

Recent Posts

See All
bottom of page