Monthly Archives: July 2011

Old Tools

Years ago, we have been using these to create graphics.

Posted in Graphics | Tagged , | Comments closed

HTML5 Testing

I try to put a canvas (400 x 300 pixels) here with an orange (#FFAA00) rectangle. var canvas1 = document.getElementById(“myCanvas1″); var context1 = canvas1.getContext(“2d”); context1.fillStyle = “#FFAA00″; context1.fillRect(0,0,200,100); <canvas id="myCanvas" width="400" height="300"></canvas> <script type="text/javascript"> var canvas = document.getElementById("myCanvas"); var context = canvas.getContext("2d"); context.fillStyle = "#FFAA00"; context.fillRect(0,0,200,100); </script>

Posted in Testing | Tagged | Comments closed