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

  angle = 0;
  r = 0;

  translate(width / 2, height / 2);
  for (let i = 0; i < 300; i++) {
    const x = cos(angle) * r;
    const y = sin(angle) * r;
    circle(x, y, 10);

    angle += 0.1;
    r++;
  }
}

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