From: Flavio C. <fcc...@gm...> - 2005-06-30 14:25:12
|
2005/6/30, Jonathan Brandmeyer <jbr...@ea...>: >=20 > On Wed, 2005-06-29 at 23:21 -0700, Anton Sherwood wrote: > > Titi Anggono wrote: > > > I have a physics visualization using vpython. I just > > > curios to show it in a web page. I want when a visitor > > > clicks this file, a web browser will execute the > > > program and generate the visualization. >=20 > Starting your script from a web page shouldn't be a problem , see cherryp= y=20 (www.cherrypy.org <http://www.cherrypy.org>) for a web application=20 framework, see also snakelets (www.snakelets.org <http://www.snakelets.org>= ).=20 your main chalenge will be to get the output of vpython in a format that ca= n=20 be visualized through a web-browser: animated gif, mpg perhaps?=20 In any case, I believe, interactivity such as we heve in the standard=20 vpython canvas, would be out of the question. I hope someone in vpython development team will correct if I am wrong. It= =20 would be really good to have a way to integrate vpython into a web=20 application. --=20 Fl=E1vio Code=E7o Coelho registered Linux user # 386432 --------------------------- Great spirits have always found violent opposition from mediocrities. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence. Albert Einstein |