Drawing on desktop

The following effectively describes my dilemma…

I need to present a series of URLs/Webpages for several seconds each.
For each page I have xy coordinates separated by 100 milliseconds. These
coordinates have to be painted onto the desktop leaving a trace, by
linking the sequence of points. The problem is how do I paint onto the
desktop overlaying the browser display?

Thanks,
Ken

Sounds like human factors testing or a psychology experiment having to
do with retention of detail…

There are three basic ways to do this. If it really has to be done over
a browser then write the code in Java or as a control and embed it in
the web page you are viewing for the test. Or, you can use one of the
many browser widget available for the Java, the various *NIX desktops,
and Windows, and hack it on top of those. Or, take screen shots of the
formatted web content, edit the image to look the way you want it to
look, and then use that as the initial contents of an SDL surface and
draw over the top of it. If you preloaded all the images you can get a
pretty consistent display time. If this is human factors or psychology
you most likely need the kind of time precision you can get with SDL.
Accurate timing on anything loaded from a web page is “problematical” at
best. If the content has to be browsable then code embedded in a web
page is a pretty good choice.

Those are the ways to to that I can think of off the top of my head.

Hope that helps.

	Bob P.

Ken Seergobin wrote:>

The following effectively describes my dilemma…

I need to present a series of URLs/Webpages for several seconds each.
For each page I have xy coordinates separated by 100 milliseconds. These
coordinates have to be painted onto the desktop leaving a trace, by
linking the sequence of points. The problem is how do I paint onto the
desktop overlaying the browser display?

Thanks,
Ken


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


±-----------------------------------+

  • Bob Pendleton is seeking contract +
  • and consulting work. Find out more +
  • at http://www.jump.net/~bobp +
    ±-----------------------------------+

Bob’s suggestions highlights the issue of screen captures. Essentially I
would need this to be done in the background each time the URL changes (to
generate the initial images). My current tinkering is with Python (and
Pygame). Unfortunately, it looks like I need to set the display mode in
pygame before being able to capture the screen. I would like as little
interference with the desktop as possible.

KenOn Mon, 14 Jan 2002, Bob Pendleton wrote:

There are three basic ways to do this. If it really has to be done over
a browser then write the code in Java or as a control and embed it in
the web page you are viewing for the test. Or, you can use one of the
many browser widget available for the Java, the various *NIX desktops,
and Windows, and hack it on top of those. Or, take screen shots of the
formatted web content, edit the image to look the way you want it to
look, and then use that as the initial contents of an SDL surface and
draw over the top of it. If you preloaded all the images you can get a
pretty consistent display time. If this is human factors or psychology
you most likely need the kind of time precision you can get with SDL.
Accurate timing on anything loaded from a web page is “problematical” at
best. If the content has to be browsable then code embedded in a web
page is a pretty good choice.