top of page
Search

Drawing Application

  • nathaliamccarthy
  • Apr 12, 2019
  • 1 min read

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.







 
 
 

Comments


©2019 by Blogs By Nathalia. Proudly created with Wix.com

bottom of page