mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
26 lines
488 B
HTML
26 lines
488 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<script>
|
||
|
|
||
|
function boom()
|
||
|
{
|
||
|
var ctx = document.querySelector("canvas").getContext('2d');
|
||
|
ctx.rotate(17);
|
||
|
ctx.closePath();
|
||
|
ctx.setTransform(107, 16, 113, 76, 0, 165);
|
||
|
ctx.lineTo(4, 0);
|
||
|
ctx.arc(104, -8191, 35, 50, 359, 0);
|
||
|
ctx.scale(74.75, 729);
|
||
|
ctx.stroke();
|
||
|
ctx.stroke();
|
||
|
ctx.lineTo(-1, 40);
|
||
|
ctx.isPointInPath(92, 463);
|
||
|
ctx.clip();
|
||
|
}
|
||
|
|
||
|
</script>
|
||
|
</head>
|
||
|
<body onload="boom();"><canvas width="100" height="100"></canvas></body>
|
||
|
</html>
|