Interactive web image using Python
jorjun at mac.com
Wed Sep 26 11:10:27 CEST 2001
Macromedia's Flash 5.0, (EXPENSIVE) will certainly do this and lots
more, shame the ActiveScript isn't a Python, it is sort of Java in
appearance, but is not typed.
I'm looking at it (downloaded Free Trial)...I guess there are downsides
in that Flash is not a defacto standard, but it's potential for making
the Web interactive looks better than "the others" to me.
Another thing: I'm convinced there must be a way to communicate with
Python server/side from within ActiveScript, but I don't know how.
Michael Palm wrote:
> I want to have a web image where you can change the color of parts of
> the image by clicking on it.
> e.g. <click on color selector> <click on the guy's hat to change its
> color>. This is for a clothing
> manufacturer. I am (of course) using Python on the client side.
> Any ideas on the best way to do this from Python (PIL, PIDDLE, OpenGL
> etc...). Or should I
> be using a Java applet or Shockwave file instead? The shading program
> will need to know
> about the component shapes so that it can fill each one. Somewhere on
> the web I saw a duck
> whose clothing you could change in this way, but I can't find it again
> or recall what they used.
> I guess I could use their method and just store a library of each
> compoment shaded in all
> possible colors, then overlay the pieces.
More information about the Python-list