16 lines
448 B
Markdown
16 lines
448 B
Markdown
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.
|