Code:
eight() {
let a = 1;
for (let theta = 0; theta < TWO_PI; theta += 0.05) {
let x = this.r * a * sin(theta);
let y = this.r * a * sin(theta) * cos(theta);
this.points.push(createVector(x, y));
}
}
Rounded star ruleset with eight curve |
Hilbert curve with eight curve |
Krishna anklet with eight curve |
Box ruleset with eight curve |