Git Product home page Git Product logo

vpython-wx's Introduction

Future development of VPython has moved to a new project

This incarnation of VPython will not be developed further; see this announcement for an explanation and this history of the development of VPython. Development efforts are now focused on VPython 7, which runs with installed Python, including in a Jupyter notebook, and an in-browser version that requires no local installation at all and runs on mobile devices, at glowscript.org.

The home of vpython on the web is still at vpython.org.

Read on for more information about the old VPython...

vpython-wx

Build Status

VPython 6, at vpython.org, is based on the cross-platform library wxPython. It improves VPython 5.74 and earlier by eliminating most platform-dependent code and by eliminating the threading associated with rendering.

The new version makes essential changes to the rate statement in VPython programs:

  • rate is now required; an animation loop MUST contain it.
  • rate still limits the number of loop iterations per second.
  • rate now updates the 3D scene when appropriate, about 30 times per second.
  • rate now handles mouse and keyboard events.
  • If the animation loop is missing the rate statement, the scene will not be updated until and unless the animation loop is completed.

The heart of the user-interface code, creating windows and handling events, is the file site-packages/visual_common/create_display.py. It is imported by visual/init.py and by /vis/init.py; visual imports math and numpy for convenience whereas vis doesn't.

Please report issues to the Github repository, or to the VPython forum.

vpython-wx's People

Contributors

brucesherwood avatar sspickle avatar glarrain avatar merriam avatar aprilarcus avatar mwcraig avatar

Watchers

James Cloos avatar Eyram K. Apetcho avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.