For most modern browsers, you can now use the CANVAS tag in HTML to
graphics. On this page there's a 600 by 400 pixel box which is set
to draw commands attached to a canvas variable. See the
Some error checking is in place, but I haven't figured out yet how to break out of infinite loops.
This page is functional on an iPhone or iPod Touch, but the
bars in text boxes, so you'll have to keep your code and output
short. Also be careful with the helpful typing correction features
these devices; autocapitalization and automatic conversion of two
spaces to a period may interfere with the execution of your code.
Here are some canvas instructions:
fillStyle = "blue"
fillStyle = "#FFA500"
strokeStyle = "red"
10, 55, 50)
bezierCurveTo(60, 70, 60, 70, 70, 150)
fillStyle = "black"
textBaseline = "top"
font= "9pt Helvetica"
textAlign = "center"
fillText("Your ad here", 100, 100)
strokeText("Your ad here", 200, 200)
Jeffrey Clymer -- Debut: May 7, 2009. Revision 4: December 31, 2016 -- Email -- HomepageVisitors: