p5(sketch => {
sketch.setup = function() {
sketch.createCanvas(1000, 1000);
sketch.noLoop();
sketch.pixelDensity(2);
};
sketch.draw = function() {
sketch.background('#F7F7F7');
sketch.noFill();
sketch.stroke('black');
sketch.strokeWeight(0.5);
sketch.beginShape();
for(let i = 0; i < 600; i+=4) {
let x = sketch.width/2 + sketch.cos(i) * sketch.width/2.5;
let y = sketch.height/2 + sketch.sin(i) * sketch.width/2.5;
sketch.vertex(x, y);
}
sketch.endShape();
}
})