Created
December 18, 2016 17:42
-
-
Save paulinalinaa/baadc020c4ad8ca26b7c9d0d765ca037 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function setup() { | |
| createCanvas(500,500); | |
| colorMode(RGB,255,255,255,100); | |
| background(255); | |
| } | |
| function draw() { | |
| var a =250; | |
| var b =250; | |
| var c =100; | |
| var ax=250; | |
| var ay=0; | |
| var bx=250; | |
| var by=500; | |
| for(var i=0; i<500;i++){ | |
| line(ax,ay,bx,by); | |
| ax+=8; | |
| ay+=2; | |
| } | |
| noStroke(); | |
| ellipse(a,b,c,c); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment