Animated circle
importance: 5
Create a function showCircle(cx, cy, radius) that shows an animated growing circle.
cx,cyare window-relative coordinates of the center of the circle,radiusis the radius of the circle.
Click the button below to see how it should look like:
The source document has an example of a circle with right styles, so the task is precisely to do the animation right.