Apple Command icon using canvas
Just eyeballed it. Not sure if the proportions are correct.
by John Schulz
HTML
<canvas id="c"></canvas>
JavaScript
var PI = Math.PI,
PI2 = PI / 2,
TPI = 4 * PI2,
PI180 = PI / 180,
C = document.getElementById("c"),
G = C.getContext("2d"),
W = (C.width = 120),
H = (C.height = 120),
d = function(d) {
return PI180 * d;
};
with(G) {
fillStyle = "#000";
fillRect(0, 0, W, H);
fillStyle = strokeStyle = "#fff";
lineWidth = 4;
strokeRect(0, 0, W, H);
moveTo(50, 50);
lineTo(50, 80);
arc(40, 80, 10, d(30), d(250), 0);
lineTo(80, 70);
arc(80, 80, 10, d(300), d(160), 0);
lineTo(70, 40);
arc(80, 40, 10, d(200), d(60), 0);
lineTo(40, 50);
arc(40, 40, 10, d(120), d(340), 0);
lineTo(50, 50);
stroke();
}