xxxxxxxxxx
21
n = 4;
d = 1;
t = 0;
background_color = [101,66,244]; // black
rose_color = [221,55,63]; // gray
function draw() {
k = n / d;
beginShape();
r = 200 * cos(k * t);
x = r * cos(t);
y = r * sin(t);
drawPoint(x, y, rose_color);
endShape(CLOSE);
t += 0.01;
}