[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GScript released



On Aug 21, 7:04 pm, limtc <thyech...@gmail.com> wrote:
> GScript updated based on feedback. Setting color is now using the
> Applesoft-like hcolor= rather than hcolor(), and I now used the easier
> to read circle/rect commands rather than hcircle/hrect. Added a newly
> implemented oval command but need to refine further for the
> parameters.
>
> The programs above will be changed to:
>
> for (i = 0; i < 50; i++) {
>     hcolor = rnd(15) + 1
>     hplot(rnd(640), rnd(400), rnd(640), rnd(400))
>
> }
>
> A blog (with programs and images) here:http://retromaccast.ning.com/profiles/blog/show?id=1672786%3ABlogPost...
>
> Will continue to add more Applesoft commands later.

Check out the "excanvas" project at GoogleCode/SourceForge.  Aside
from the small Javascript file, it is a 1-line addition to the demo
page and makes the <canvas> element available in IE.

<!--[if IE]><script type="text/javascript" src="excanvas.js"></
script><![endif]-->

With the above, I successfully tested your demo page using IE7.

/pitz