From: Arthur <aj...@ix...> - 2003-02-09 19:40:11
|
> Is it possible to use Visual with Jython to produce applet-type things that > will run in a web browser? > > I want to produce simulations that can be viewed more widely, and I don't > want to have to learn java to do it. > > (I could figure out the answer to this on my own, but if someone already > knows that it's not possible, it would save me some hours of poking around > only to come up empty.) Not possible, as I see it. Without *a lot* of work. Because both Numeric and VPython itself are in C, and therefore not accessible to Jython. There had at one point been a partial port of Numeric to Java - probably complete enough for most needs related to VPython. But then there is the issue of the VPython code itself. In the perfect world, VPython code would be ported both to use the Bosst C++ library- one one hand, and to Java using some like GL4Java, on the other. In the end, the same Python code might be able to run both flavors. Would be wonderful. But this kind of effort behind a refractoring of VPython does not seem to be in the cards - by all signs. Art |