[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Super Hires routine for Safari
- Subject: Super Hires routine for Safari
- From: limtc <thyechean@gmail.com>
- Date: Fri, 15 Aug 2008 01:08:16 -0700 (PDT)
- Complaints-to: groups-abuse@google.com
- Injection-info: v13g2000pro.googlegroups.com; posting-host=202.63.135.214; posting-account=xPI8rAoAAABxyK8KyUIiYChvvtqAeJGI
- Newsgroups: comp.sys.apple2
- Organization: http://groups.google.com
- User-agent: G2/1.0
- Xref: g2news1.google.com comp.sys.apple2:2480
This is a small spin off of what I am doing right now for iPhone
programming. Just created a set of Super Hires routines for doing
graphics on Safari browser, setting up a 640x400 canvas with the same
color palette for the users.
You can try them in Safari browser (PC/Mac/iPhone):
http://virtualgs.larwe.com/safari/demo.html
http://virtualgs.larwe.com/safari/pattern.html
You can check the same codes in Safari source view. Except for the
HTML container codes, no additional software installation or plugin
required.
Sample codes for pattern.html
--
hgr();
print("Welcome to the Super Hires Demo!");
for (i = 0; i < 64; i++) {
hcolor(i % 15 + 1);
hline(i * 10, 0, 639 - i * 10, 399);
}