console
<!DOCTYPE HTML>
<html>
<body>
<canvas id="myCanvas">your browser does not support the canvas tag </canvas>
<script type="text/javascript">
var myCanvas = document.getElementById("myCanvas")
if(myCanvas.getContext){
var ctx = myCanvas.getContext("2d")
}
ctx.fillStyle = "black"
ctx.arc(200,100,50,Math.PI/2,3*Math.PI/2,false)
ctx.fill()
ctx.beginPath()
ctx.fillStyle = "white"
ctx.arc(200,100,50,3*Math.PI/2,Math.PI/2,false)
ctx.fill()
ctx.beginPath()
ctx.fillStyle = "white"
ctx.arc(200,75,25,0,2*Math.PI,false)
ctx.fill()
ctx.beginPath()
ctx.fillStyle = "black"
ctx.arc(200,125,25,0,2*Math.PI,false)
ctx.fill()
ctx.beginPath()
ctx.fillStyle = "black"
ctx.arc(200,75,12.5,0,2*Math.PI,false)
ctx.fill()
ctx.beginPath()
ctx.fillStyle = "white"
ctx.arc(200,125,12.5,0,2*Math.PI,false)
ctx.fill()
console.log(ctx)
</script>
</body>
</html>