AI generated javascript: Dynamic Petals

Equation: x = radius * cos(a/b * θ) * cos(θ), y = radius * cos(a/b * θ) * sin(θ)
Every refresh is a new design!
Current values: a = 2, b = 5