Skip to content

Instantly share code, notes, and snippets.

@MattyBalaam
Created June 3, 2014 14:23
Show Gist options
  • Save MattyBalaam/1ce30dbef10e734e43c0 to your computer and use it in GitHub Desktop.
Save MattyBalaam/1ce30dbef10e734e43c0 to your computer and use it in GitHub Desktop.
A Pen by MattyBalaam.
<canvas id="canvas" width="900" height="700">
</canvas>
var canvas = document.getElementById('canvas');
if (canvas.getContext){
var ctx = canvas.getContext('2d');
ctx.fillStyle = '#694';
ctx.font = '70px FontAwesome';
ctx.fillText("\uf170 \uf037 \uf039 \uf036 \uf038 \uf0f9 \uf13d \uf17b \uf103 ", 50, 100);
ctx.fillText("\uf100 \uf101 \uf102 \uf107 \uf104 \uf105 \uf106 \uf179 \uf106 \uf179", 50, 200);
ctx.fillText("\uf187 \uf0ab \uf0a8 \uf01a \uf190 \uf18e \uf01b \uf0a9 ", 50, 300);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment