Code:
kissCurve() {
for (let theta = 0; theta < TWO_PI; theta += 0.05) {
let x = this.a * this.r * cos(theta);
let y = this.b * this.r * pow(sin(theta), 3);
this.points.push(createVector(x, y));
}
}
ADH231a ruleset with kiss curve, a = 3.85, n = 2.5 |
Hilbert ruleset with kiss curve |
Rounded cross ruleset with kiss curve |
Box rule-set with kiss curve |