View Full Version : Draw on Websites
astgtciv
05-01-2007, 10:49 AM
Here's the latest project I've been playing with - an interface to draw on top of websites: http://addover.net :). All feedback is more than welcome!
evride
05-01-2007, 09:36 PM
awesome interface but the painting is slow to update. I'm wondering how u got the web page in there for the background and be able to change it. want to enlighten us? I would also suggest that you don't use the whitehouse.gov as the default page to paint on. It may be offensive.
astgtciv
05-02-2007, 10:15 AM
No doubt you are right about the default canvas site, evdog, I changed it to yahoo.com. Thanx for the feedback! Even though I couldn't decide if having the whitehouse.gov there was an act of patriotism or terrorism, it did make it unneccessarily controversial.
It's true that the painting routines could use some optimization in terms of speed, but I really like the effect produced (which actually does look like spray paint to me). Those routines are based on Mario Klingenman's (aka quasimondo's) routines.
I'm wondering how u got the web page in there for the background and be able to change it. want to enlighten us?
Yes, of course! The webpage is not loaded into flash (as you might have guessed), it is displayed in an iframe. That iframe has another iframe (with a transparent background) stacked on top of it, which houses the flash running with wmode=transparent. The resulting effect is that you are painting on top of the website. To change the canvas website, the src of the lower iframe is simply set to the new url.
evride
05-02-2007, 10:34 PM
thats pretty clever.
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.