xxxxxxxxxx
37
function setup() {
createCanvas(600, 600);
noFill();
noLoop();
}
function draw() {
background(255);
// Circle in the center (representing peace, wholeness)
stroke(0);
strokeWeight(2);
ellipse(width / 2, height / 2, 300, 300);
// Horizontal and vertical lines (creating a balanced, stable grid)
strokeWeight(1);
line(width / 2 - 150, height / 2, width / 2 + 150, height / 2); // horizontal
line(width / 2, height / 2 - 150, width / 2, height / 2 + 150); // vertical
// Arc in the upper part (a gentle curve, symbolic of calmness)
arc(width / 2, height / 2 - 100, 200, 200, PI, TWO_PI);
// Overlapping semicircles on the sides (representing the concept of soft containment)
arc(width / 2 - 125, height / 2, 150, 150, -QUARTER_PI, -PI + QUARTER_PI);
arc(width / 2 + 125, height / 2, 150, 150, HALF_PI - QUARTER_PI, PI - QUARTER_PI);
// Small circles scattered in the background, adding gentle elements to the space
for (let i = 0; i < 10; i++) {
let x = random(width);
let y = random(height);
ellipse(x, y, 40, 40);
}
}
function mousePressed(){
save("shapes.png");
}