Note!!!! If your
Just as easy as drawing a line, there are two different ways you can draw a circle – but both revolve around the same method –
arc() – which takes 6 parameters:
- Radius of the circle
- Starting angle in radians.
- Ending angle in radians.
- Whether the path is drawn anti-clockwise or not.
Drawing a circle with a stroke
To draw a hollow circle we just need to use the stroke method.
Challenge 1 – Draw the Olympic rings!
Can you recreate the Olympic rings?
Please note all the material on this page was shamelessly lifted from here.