concept:
“My artwork is derived from early computer graphics, with its use of dynamically changing, concentric forms. I‘d prefer to utilize symmetry and repetition in an attempt to produce a hypnotic rhythmic effect, similar to early computer artwork.”
highlight of the codes:
I’m particularly enjoying the loop structure I designed for generating concentric shapes with iteratively altering colors and dimensions. That recursive algorithm generates a rich, multi-colored effect that looks complex but is achieved with relatively simple code.
function setup() {
createCanvas(400, 400);
noFill();
}
function draw() {
background(0);
let x = width / 2;
let y = height / 2;
for (let i = 0; i < 10; i++) {
push();
translate(x, y);
rotate(frameCount * 0.01 + i * 0.1); // Rotate dynamically
stroke(0, 255, 255); // Cyan-colored square
rectMode(CENTER);
rect(0, 0, 6, 6); // Small square inside the circle
pop();
}
}
