HTML5 Canvas Semicircle Tutorial

To create a semicircle with HTML5 Canvas, we can create an arc using the arc() method and define the ending angle has startAngle + PI.

Open in new window

Code Editor

Modified on April 8th, 2013 by Eric Rowell
comments powered by Disqus