Guys any Solution how to save the work?

float g = random(256);
float b = random(256);
float cChange = 2;
float distanceChange = .001;

for (float angle = 0; angle < 360*100; angle += .07) {

  float x = width/5 + cos(radians(angle))*distance;
  float y = height/2.5 + sin(radians(angle))*distance;

  r += random(-cChange, cChange);
  r = constrain(r, 0, 256);

  g += random(-cChange, cChange);
  g = constrain(g, 0, 256);

  b += random(-cChange, cChange);
  b = constrain(b, 0, 256);

  stroke(r, g, b);

  point(x, y);

  distance += distanceChange;
}

Hello,

Lots of resources here:

Save and New:
https://processing.org/tutorials/gettingstarted/#save-and-new

image

:)

2 Likes

thank you for your support

2 Likes