I think this is going to be my last monochrome particle sketch. I started this series on hicetnunc while trying to come up with an original style and exploring what we could do with mathematical constrains.
Though complex looking, these systems are usually only build with sin and cos and some random offset on a particle system. In this case we're looking at a 40k particle system.
Its been fun, onwards to another series.
class Point { float offset = random(1, 20); float theta;
Point(float theta_) { theta = theta_; }
void draw() { float radius = 150 + 100 * sin(TWO_PI * t + offset); float x = width / 2 + radius * cos(TWO_PI * t + theta) + offset * theta * sin(TWO_PI * t + offset) * 3; float y = height / 2 + theta * cos(TWO_PI * t + offset) - offset - theta * radius + height / 2;
stroke(255);
strokeWeight(1);
point(x, y);
} }