RoundedPetal.js has some gnarly logic. It's duplicated in CurveyPetal.js and CirclePetal.js
The purpose of the logic is twofold:
1) Create the necessary petals at angle 0
2) Move each petal to it's appropriate angle
I think this strategy is correct, but I would like it to live in one place instead of being duplicated. Every new petal should be able to hook into this algorithm easily and without knowing all of the crazy.
RoundedPetal.js
has some gnarly logic. It's duplicated inCurveyPetal.js
andCirclePetal.js
The purpose of the logic is twofold: 1) Create the necessary petals at angle 0 2) Move each petal to it's appropriate angle
I think this strategy is correct, but I would like it to live in one place instead of being duplicated. Every new petal should be able to hook into this algorithm easily and without knowing all of the crazy.