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

Re: Super Hires routine for Safari



"limtc" <thyechean@gmail.com> wrote in message 1ee53033-44dd-426d-ac19-61f086c555b1@q5g2000prf.googlegroups.com">news:1ee53033-44dd-426d-ac19-61f086c555b1@q5g2000prf.googlegroups.com...
Put up the final codes on Safari/Firefox web browsers for PC/Mac.

http://virtualgs.larwe.com/web/

Note that I change from /safari to /web since now it supports Firefox
(IE cannot be supported since it used a new HTML 5 feature call
Canvas).

Check out excanvas (http://excanvas.sourceforge.net/) which provides partial canvas emulation in Internet Explorer via VML - basically, you drop one <script> tag on your page. I use this to implement hires graphics in my Applesoft interpreter http://www.calormen.com/Applesoft - thus giving me functional graphics in Internet Explorer, Firefox, Safari and Opera.

Since it's emulating a bitmap using vector graphics, it's not going to be "perfect" - and doing too much drawing pixel-by-pixel is likely to make a very large (and hence very slow to render) DOM, but the behavior of canvas across browsers is not pixel-accurate anyway.