Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.1%) to scientific vocabulary
Repository
Python OpenGL Graphics Framework
Basic Info
- Host: GitHub
- Owner: fogleman
- License: mit
- Language: Python
- Default Branch: master
- Homepage: http://pg.readthedocs.org/
- Size: 3.87 MB
Statistics
- Stars: 211
- Watchers: 13
- Forks: 33
- Open Issues: 10
- Releases: 0
Metadata Files
README.md
pg: The Python Graphics Framework
pg is a lightweight, high-level OpenGL graphics framework for Python. It is a work in progress.
Tutorial
A basic tutorial is available here:
http://pg.readthedocs.org/en/latest/tutorial.html
Features
Many OpenGL applications have a lot of features in common, but there's a lot of boilerplate involved when using OpenGL. This high-level framework lets you focus on your application-specific functionality instead.
- shaders
- compile and link
- attributes and uniforms
- built-in shaders for common use-cases
- vertex buffers
- optionally interleaved
- matrices
- translate, rotate, scale
- perspective and orthographic projections
- transpose, determinant, inverse
- textures
- geometric shapes
- sphere, cuboid, plane, cylinder, cone, axes
- models
- .obj and .stl file formats
- WASD movement
- built-in!
- windowing and input
- glfw-based
- multiple windows
Dependencies
brew tap homebrew/versions
brew install glfw3
pip install Pillow PyOpenGL
Examples
Clone the repository and run main.py to see these and several other examples.
3D Pipes: pipes.py

Gusev Crater: gusev.py

OBJ and STL Models: suzanne.py

Constructive Solid Geometry (CSG): csg.py

Owner
- Name: Michael Fogleman
- Login: fogleman
- Kind: user
- Location: Cary, NC
- Company: @Formlabs
- Website: http://www.michaelfogleman.com/
- Repositories: 142
- Profile: https://github.com/fogleman
Software Engineer at Formlabs
GitHub Events
Total
- Watch event: 3
Last Year
- Watch event: 3
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Michael Fogleman | f****n@g****m | 226 |
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 9
- Total pull requests: 11
- Average time to close issues: about 18 hours
- Average time to close pull requests: 8 months
- Total issue authors: 3
- Total pull request authors: 4
- Average comments per issue: 0.44
- Average comments per pull request: 1.55
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 8
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- stuaxo (6)
- kbrafford (2)
- lwanger (1)
Pull Request Authors
- dependabot[bot] (8)
- ssebs (1)
- kbrafford (1)
- stuaxo (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 4,346 last-month
- Total dependent packages: 1
- Total dependent repositories: 27
- Total versions: 1
- Total maintainers: 1
pypi.org: pg
Python OpenGL Graphics Framework
- Homepage: https://github.com/fogleman/pg
- Documentation: https://pg.readthedocs.io/
- License: MIT
-
Latest release: 0.1
published almost 12 years ago
Rankings
Maintainers (1)
Dependencies
- Pillow ==2.5.1
- PyOpenGL ==3.1.0
- Pillow *
- PyOpenGL *