Advertisement
MrsMcLead

Intro to Processing

Jan 25th, 2018
360
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void setup() {
  2.     //runs once, when you hit the "play" button
  3.     size(500,500);
  4.     background(#8df9ec);
  5.  
  6. }
  7.  
  8. void draw() {
  9.     //runs every frame, forever and ever and ever
  10.        
  11.         //sun
  12.         fill(#FFC01D);
  13.         ellipse(0,0,150,150);
  14.        
  15.         //sand
  16.         noStroke();
  17.         fill(#D5CFBF);
  18.         rect(0,400,500,100);
  19.        
  20.         //tent
  21.         fill(#FF6A6C);
  22.       triangle(40,410,90,300,140,410);
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement