Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Nov 17th, 2018 65 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. stage {
  2.     backdrop White("gallery:General/White")
  3.  
  4.  
  5.    
  6.     actor Robot {
  7.         costume Idle("gallery:Figures/Robot Idle")
  8.         when stage.started {
  9.             this.pen.up();
  10.             this.hide();
  11.             this.setPosition(0,-180);
  12.             this.heading = 0;
  13.             stage.clearPenTrails();
  14.             this.pen.down();
  15.             this.pen.hue = 60;
  16.             this.pen.size = 2;
  17.             tree(40);
  18.         }
  19.  
  20.         function tree(p){
  21.             if(p > 1){
  22.                 this.pen.hue += 10;
  23.                 this.move(p);
  24.                 this.turnRight(20);
  25.                 tree(p-3);
  26.                 this.turnLeft(40);
  27.                 tree(p-3);
  28.                 this.turnRight(20);
  29.                 this.move(-p);
  30.                 this.pen.hue -= 10;
  31.  
  32.             }
  33.         }
  34.     }
  35. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top