Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Mattie Richardson
- Red light, Green Light, Stoplight!
- 9-4-18
- */
- size(320,180);
- //black rectangle
- fill(0,0,0);
- rect(140,40,60,120);
- //red circle
- fill(255,0,0);
- ellipse(170,60,38,38);
- //yellow circle
- fill(255,255,0);
- ellipse(170,100,38,38);
- //green circle
- fill(0,255,0);
- ellipse(170,140,38,38);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement