Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

3d modelling library

Project Description
Pyglet Helper

.. image:: doc/examples/all_objects.gif

.. image::

.. image::

The goal of this project is to make pyglet_ usable to people with no OpenGL experience by
reproducing the functionality of VPython_ for drawing geometric primitives.

.. _pyglet:
.. _VPython:


To Install this project, either pull it from the PyPI:
pip install -i PygletHelper

or clone it and build from source:
git clone
cd pyglet_helper
python install

The following example will show how to create a window with a sphere:

.. image:: doc/examples/sphere.png

First, create a pyglet window to draw the shapes to:
from pyglet.window import Window
window = Window()

Then, create a pyglet_helper view:
from pyglet_helper.objects.renderable import View
scene = View()

Create a gl light:
_light = Light()

Geometric objects can be added to scene. For example, to define a red sphere in the center of the view:
from pyglet_helper.util import color
_ball = Sphere(pos=(1, 1, 0), radius=0.5,

Finally, render the object, and run the pyglet window:


The documentation is available on my `github page`_.

.. _github page:
Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyglet_helper-0.0.1.tar.gz (35.3 kB) Copy SHA256 Checksum SHA256 Source May 26, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting