Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jpablo/superficie
Superficie is a Python library for creating beautiful 3D graphics
https://github.com/jpablo/superficie
Last synced: 10 days ago
JSON representation
Superficie is a Python library for creating beautiful 3D graphics
- Host: GitHub
- URL: https://github.com/jpablo/superficie
- Owner: jpablo
- Created: 2011-04-21T04:55:34.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-07-08T03:31:51.000Z (over 11 years ago)
- Last Synced: 2024-11-14T00:51:58.446Z (about 2 months ago)
- Language: Python
- Homepage: http://jpablo.github.com/superficie/
- Size: 5.4 MB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
superficie
==========Superficie is a python library for creating 3D graphics.
It is build upon Pivy (OpenInventor), and Qt4
It support several classes of objects:
* Simple objects: lines, planes, polygons, arrow, etc
* 3d charts: plot3d, parametric plots, etc.
* animationsThe objects can be organized hierarchically via a book-like object, which has containers resembling chapters and pages.
## Quick start
```python
import sys
from PyQt4 import QtGui
from superficie.plots import Plot3D
from superficie.viewer import MinimalViewerapp = QtGui.QApplication(sys.argv)
viewer = MinimalViewer()plot = Plot3D(lambda x, y: .5 * x ** 3 - .5 * 3 * x * y ** 2 + 2.5, (-1, 1), (-1, 1))
viewer.addChild(plot)
viewer.resize(400, 400)
viewer.show()
viewer.viewAll()
sys.exit(app.exec_())
```![Plot3D](http://jpablo.github.com/superficie/images/plot3d.jpeg)