Skip to content

Instantly share code, notes, and snippets.

@ff6347
Forked from paulinalinaa/closed_white sun
Created December 18, 2016 21:22
Show Gist options
  • Select an option

  • Save ff6347/0887c40dd6dcf43ad3a32a93b6d20edc to your computer and use it in GitHub Desktop.

Select an option

Save ff6347/0887c40dd6dcf43ad3a32a93b6d20edc 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