A Pen by MattyBalaam on CodePen.
Created
June 3, 2014 14:23
-
-
Save MattyBalaam/1ce30dbef10e734e43c0 to your computer and use it in GitHub Desktop.
A Pen by MattyBalaam.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<canvas id="canvas" width="900" height="700"> | |
</canvas> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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