dynamic drawing in web page

Paul Boddie paul at boddie.org.uk
Sun May 21 19:19:37 EDT 2006


barbaros wrote:
>
> I need to put some dynamic drawings on my web page. More precisely, I
> need to draw a number of geometric figures (circles, rectangles) which
> evolve into a graphics windows according to some law (a little bit like
> the solar system). I need also to have several fields aside the window,
> where the visitor can change values for several significant parameters
> (like the mass of each body).
>
> Could you please suggest a solution (preferably not involving hundreds
> of lines of code) ? The computations should be performed on the client
> machine.

In the context of recent Flash-related discussions and the usage of
open Web standards, I searched for 'animation SVG "solar system"' and
discovered this example:

http://www.svgelves.com/svg/L_chrisa_02.svg

Sadly, it only works in Opera amongst the browsers I have. Konqueror
displays the initial frame but doesn't animate the scene, although
later versions of that browser might support animation. I have an old
version of Firefox which doesn't support SVG at all.

Paul




More information about the Python-list mailing list