Skip to content

Instantly share code, notes, and snippets.

@paulinalinaa
Created December 18, 2016 17:42
Show Gist options
  • Select an option

  • Save paulinalinaa/baadc020c4ad8ca26b7c9d0d765ca037 to your computer and use it in GitHub Desktop.

Select an option

Save paulinalinaa/baadc020c4ad8ca26b7c9d0d765ca037 to your computer and use it in GitHub Desktop.
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