html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: #292a33;
  overflow: hidden;
}
function setup() {
  createCanvas(windowWidth, windowHeight);

  drawCircle(10, 0);
}

function drawCircle(n, x) {
  if (n === 0) {
    return;
  }

  circle(x, height / 2, 40);
  x += 100;
  drawCircle(n - 1, x);
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdn.jsdelivr.net/npm/[email protected]/lib/p5.min.js