Code:
bicorn() {
for (let theta = 0; theta < TWO_PI; theta += 0.05) {
let x = this.r * sin(theta);
let y = (this.r * pow(cos(theta), 2)) / (2 + cos(theta));
this.points.push(createVector(x, y));
}
}
Two ADH23a rule-sets with bicorn curve |
Recursive circles with bicorn curve |
ADH23a with bicorn |
Mango leaf with bicorn curve |