Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE HTML>
<html>
<body style="margin:0px; overflow:hidden">
<canvas style="display:block" id="c" width="1024" height="1024"></canvas>
<script>
var ctx = document.getElementById("c").getContext("2d");
ctx.fillStyle = "lime";
ctx.fillRect(0, 0, 1024, 1024);
</script>
</body>
</html>