Advertisement
Guest User

Coding Club Meeting 6 - Base 1

a guest
Nov 12th, 2014
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void setup() {
  2.  
  3.   size(200, 200);   // how many pixels wide/long?
  4.  
  5.   smooth();     // makes things look smooth
  6.  
  7.   noStroke();       // no borders
  8.  
  9.   max_distance = dist(0, 0, width, height);
  10.  
  11. }
  12.  
  13.  
  14.  
  15. void draw() {
  16.     // CODERS: Here you will draw your ellipse to follow the mouse!
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement