{
replay;
const context = DOM.context2d(width, height);
context.fillStyle = "#fff";
context.fillRect(0, 0, width, height);
context.fillStyle = "#000";
for (let i = 1; i <= n; ++i) {
const r = (radius + padding) * Math.sqrt(i);
const a = i * angle;
const x = r * Math.cos(a) + width / 2;
const y = r * Math.sin(a) + height / 2;
if (x < -radius
|| y < -radius
|| x > width + radius
|| y > height + radius) continue;
const o = omega(i, P);
context.beginPath();
context.arc(x, y, radius / o, 0, 2 * Math.PI);
context.fill();
if (i % q === 0) yield context.canvas;
}
}