Untitled

Rupert Russell

Ballarat, Australia

  • Available
    Products
    39
  • Artist
    Notes

Apparel

Cases & Skins

Wall Art

Home Decor

Accessories

Stationery

Artist's Description

// Fork of Angle Flower #6 by Rupert Russell
// by Michael Pinn https://www.openprocessing.org/sketch/162660
// 22 September 2018
// code on github
// artwork on redbubbe

/* We set num to -270 so our points start outward, then go towards the middle, then spread out. */
float num = 0;

void setup(){
size(7100, 7100);
/* Set up the draw screen appearence. */
background(0);
stroke(0, 150, 255, 50);
stroke(255);
}

void draw(){
translate(width/2, height/2);
rotate(radians(num));
for(int i = 0; i < 360; i+=12){
/* We have see how x and y work before. However notice we multiply them by num. This makes the points spread out /
float x = sin(radians(i+num)) * num;
float y = cos(radians(x)) * num;
point(x, y);
point(y, x);
point(-x, -y);
point(-y, -x);
}
/
End the animation. Also for more detail make the addition to “num” smaller like 0.2. */
if(num < 800){

num += 0.02;

strokeWeight(num/10000);

}else{

save(“Angle_Flower_006.png”);
exit();
}

}

void mouseClicked(){
save(“test.png”);
}

desktop tablet-landscape content-width tablet-portrait workstream-4-across phone-landscape phone-portrait
desktop tablet-landscape content-width tablet-portrait workstream-4-across phone-landscape phone-portrait