Created
September 21, 2015 18:59
-
-
Save sergiorgiraldo/515b592987b6b215d54f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| <!-- download from https://raw.github.com/processing-js/processing-js/v1.4.8/processing.min.js --> | |
| <script src="processing.js"></script> | |
| <script type="text/processing" data-processing-target="mycanvas"> | |
| void setup() | |
| { | |
| size(200,200); | |
| background(125); | |
| noLoop(); | |
| PFont fontA = loadFont("courier"); | |
| textFont(fontA, 14); | |
| } | |
| void draw(){ | |
| fill(#ffffff); | |
| text("Hello Web!",20,20); | |
| fill(#ff0000); | |
| ellipse(56, 80, 55, 55); | |
| } | |
| </script> | |
| <canvas id="mycanvas"></canvas> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment