Skip to content
Create a gist now

Instantly share code, notes, and snippets.

<canvas> Hello World, thanks @miketaylr!
window.onload = function() {
var ctx = document.querySelector('#c').getContext('2d');
ctx.lineWidth = 20;
ctx.lineCap = 'square';
ctx.lineJoin = 'round';
ctx.strokeStyle = '#c9f'; // 'rgb(247, 63,20)';
<canvas id="c" height=400 width=400></canvas>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.