/* built with Studio Sketchpad:
* https://sketchpad.cc
*
* observe the evolution of this sketch:
* https://studio.sketchpad.cc/sp/pad/view/ro.iNcpTjO8uRG/rev.128
*
* authors:
* Eric Fickes
* license (unless otherwise specified):
* creative commons attribution-share alike 3.0 license.
* https://creativecommons.org/licenses/by-sa/3.0/
*/
int i = 0;
float x, y;
///////////////////////////////////////////////////////////////////
void setup() { // this is run once.
background(0);
size(666,666);
smooth();
noFill();
rectMode(CENTER);
}
//////////////////////////////////////////////////////
void draw() {
x = (width/PI)-frameCount * cos(frameCount) + PI / (180/TWO_PI);
y = (height/PI)-frameCount * sin(frameCount) + PI / (180/TWO_PI);
stroke(#FF0000, 222);
strokeWeight( PI*PI );
point( x, y );
point( y, x );
stroke(#b00b35 , 75 );
strokeWeight(PI*TWO_PI);
point( x, y );
point( y, x );
strokeWeight(TWO_PI*TWO_PI);
point( x, y );
point( y, x );
strokeWeight(.5);
stroke(#EFEFEF, 55 );
ellipse(x, y, y, x );
ellipse(y,x,x,y );
if( frameCount > width )
{
fill(#EF2012);
text("pomegranish", width-75, height-5 );
fill(#EFEFEF);
text("pomegranish", width-76, height-6 );
noLoop();
}
}