What are good libraries for creating a python program for (visually appealing) 3D physics simulations/visualizations?

前端 未结 4 578
广开言路
广开言路 2021-02-10 04:02

What are good libraries for creating a python program for (visually appealing) 3D physics simulations/visualizations?

I\'ve looked at Vpython but the simulation

4条回答
  •  闹比i
    闹比i (楼主)
    2021-02-10 04:59

    If I needed a visualization package for python, I would start with Processing.py: https://github.com/jdf/processing.py

    This is a python binding for the java-based Processing.org codes. A quick comparison can be found here: http://wiki.processing.org/w/Python_Comparison

    Of course, if you are not constrained to python, then Processing itself would also be a good starting point: http://processing.org

    There are also python bindings out there for Visualization Toolkit (VTK), but most of their examples are either C++ or Tk.

    If all you're looking for is scene graph to move geometries around, not native vis, then I have seen some python binding for Open Scene Graph out there, eg: http://code.google.com/p/osgswig/

    Good Luck!

提交回复
热议问题