Code:
flower() {
for (let theta = 0; theta < TWO_PI; theta += 0.01) {
let r = this.a + cos(this.m * theta);
let x = this.r * r * cos(theta);
let y = this.r * r * sin(theta);
this.points.push(createVector(x, y));
}
} ![]() Kolam ruleset with astroid and flower curve |
![]() Koch snowflake with flower curve |
![]() Square skierpinski ruleset with flower curve |
![]() ADH231a ruleset with flower curve |




