[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GScript released
- Subject: GScript released
- From: limtc <thyechean@gmail.com>
- Date: Wed, 20 Aug 2008 17:22:34 -0700 (PDT)
- Complaints-to: groups-abuse@google.com
- Injection-info: q5g2000prf.googlegroups.com; posting-host=218.186.11.5; posting-account=xPI8rAoAAABxyK8KyUIiYChvvtqAeJGI
- Newsgroups: comp.sys.apple2, comp.sys.apple2.programmer
- Organization: http://groups.google.com
- User-agent: G2/1.0
- Xref: g2news1.google.com comp.sys.apple2:2657 comp.sys.apple2.programmer:622
Hi,
I have released the 1st version of GScript, an Applesoft-like library
for graphics and animation for the web and iPhone. This library
creates an imaginary Apple IIGS 640x400 Super Hires screen with 16
colors (same as Apple IIGS color palette) with a text screen below.
The codes look like this:
hgr()
print("Random lines.")
print("This program demonstrate the hplot and hcolor commands.")
for (i = 0; i < 50; i++) {
hcolor(rnd(16) + 1)
hplot(rnd(640), rnd(400), rnd(640), rnd(400))
}
You can test drive GScript here (using Safari/Firefox/iPhone):
http://virtualgs.larwe.com/GScript/
GScript program can be enclosed in a simple HTML file to become a
standalone web application.
Example: http://virtualgs.larwe.com/GScript/demo.html
Hopefully this can evolved into Applesoft BASIC for the web and
iPhone. Have fun!