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!

A 2D drawing and animation engine using OpenGL

Project Description

lib2d is a 2D drawing and animation library for games. Both the C and Python API are given equal love and is suitable for games made with either language.

lib2d is not a standalone game engine. An OpenGL context will need to be created before instantiating a lib2d scene. SDL2 is used by the example programs, but lib2d’s only dependency is OpenGL.

Rabbyt’s spiritual successor

lib2d doesn’t attempt to mimic Rabbyt’s API or feature set. Instead, lib2d tries to learn from Rabbyt’s mistakes while retaining the same goals and ideas. lib2d is as close to a Rabbyt 2.0 as you’ll get.

Some things lib2d does different from Rabbyt:

  • Python 3 support.
  • Better performance.
  • OpenGL ES 2.0
  • Simplified API.
  • C implementation and API, using ctypes to create a pythonic API.
Release History

Release History

This version
History Node


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
lib2d-0.0.2.win32-py3.3.exe (274.8 kB) Copy SHA256 Checksum SHA256 3.3 Windows Installer Jan 21, 2014 (60.3 kB) Copy SHA256 Checksum SHA256 Source Jan 21, 2014

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