AI generated javascript: Animated Sinusoidal Wave on Ellipse

Amplitude * sin(B * theta) * sin (A * theta)

Amplitude: 10 A: 10 B: 10