Circle wave
function setup() {
createCanvas(400, 400);
}
function draw() {
background(220);
noFill()
let t = millis() / 400
for (let i = 2; i < 600; i += 4) {
circle(200 + sin(t - i * 0.05) * 10, 200 + cos(t * (600-i) / 200) * 10, i)
}
}(Originally seen at https://editor.p5js.org/bojidar-bg/sketches/hGEmdoAa2)
Browse more articles?
← Particle automata Experiments tagged p5 (50/85) Spinny hexagon/hexagon-star tiling →
← Particle automata Experiments on this site (50/85) Spinny hexagon/hexagon-star tiling →