en.javascript.info/3-animation/2-css-animations/3-animate-circle/task.md
Ilya Kantor 455d300d8d renames
2017-05-25 11:56:32 +03:00

448 B

importance: 5


Animated circle

Create a function showCircle(cx, cy, radius) that shows an animated growing circle.

  • cx,cy are window-relative coordinates of the center of the circle,
  • radius is the radius of the circle.

Click the button below to see how it should look like:

[iframe src="solution" height=260]

The source document has an example of a circle with right styles, so the task is precisely to do the animation right.