--
You received this message because you are subscribed to the Google Groups "VPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vpython-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No, the package doesn't include a browser; it invokes whatever browser is your default. I wasn't aware of severe resource problems with Firefox or Chrome. In my own work I've been thrilled that Chrome's JavaScript compiler keeps generating ever faster code. Just a few weeks ago performance on one of my GlowScript VPython benchmarks nearly doubled in speed overnight on Chrome, without me doing anything. I've also noticed that GlowScript VPython (compiled by RapydScript-NG to JavaScript) runs several times faster than the same code in CPython.
--
You received this message because you are subscribed to the Google Groups "VPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vpython-users+unsubscribe@googlegroups.com.
There are still some bugs, but we expect to release soon an installer for full Python that in addition to running VPython in a Jupyter notebook can also run VPython from IDLE or a command line, without involving a Jupyter notebook. This addresses the needs of those who want to use VPython with full Python capabilities (which is not possible in GlowScript VPython) but who don't wish to use the Jupyter environment. At least initially, this modality will not work with Python 2.7.Here's how it works: In the Jupyter notebook case, the notebook machinery does most of the server work of handling communications between a VPython program and the browser. When running without the notebook, we use our own server code, using the Python modules webserver and http.server for setting up the client program in the browser and sending libraries, images, and fonts to the browser, and using the Python module autobahn.asyncio.websocket to establish high-speed two-way communications to create or modify VPython objects and to handle events. This means that the new VPython installer will need to install autobahn, which is apparently available in Python 3.4 and later but not in Python 2.7.
It is sometimes important to be able to distinguish between Classic VPython, GlowScript VPython, Jupyter VPython, and Trinket VPython, even though the latter three versions share the same syntax for 3D objects. How shall we refer to the new non-notebook VPython version? I admit to having no good suggestions for a name and invite you to suggest one. Thanks!Bruce
The key issue is that some Python users, for whatever their reasons, have expressed a desire to be able to use VPython without having to work in the Jupyter notebook environment. Obviously Jupyter is widely popular but not universally so. Some people prefer a lighter-weight environment, or whatever IDE environment they happen to prefer.As I've said, the new version uses a web browser for the display, just as in the GlowScript environment.
I wonder if the need for your new version is a limitation in the client-server architecture, or something else?