Image manipulation. Web Scraping. Box2D User Manual. Copyright © 2007-2011 Erin Catto Chapter 1 Introduction. 2 Chapter 2 Hello Box2D.. 7 Chapter 3 Common. 13 Chapter 4 Collision Module. 15 Chapter 5 Dynamics Module. 22 Chapter 6 Fixtures. 23 Chapter 7 Bodies. 26 Chapter 8 Joints. 33 Chapter 9 Contacts. 42 Chapter 10 World Class. 49 Chapter 11 Loose Ends. 55 Chapter 12 Debug Drawing. 57 Chapter 13 Limitations. 59 Chapter 14 References. 60 Box2D is a 2D rigid body simulation library for games.
Box2D is written in portable C++. In this manual I'll assume you are familiar with basic physics concepts, such as mass, force, torque, and impulses. Box2D was created as part of a physics tutorial at the Game Developer Conference. Since Box2D is written in C++, you are expected to be experienced in C++ programming. Caution Box2D should not be your first C++ project. This manual covers the majority of the Box2D API.
This manual is only updated with new releases. If you have a question or feedback about Box2D, please leave a comment in the forum. Shape rigid body. PyUnit. The Ultimate Psyco Guide. SQLObject. Universal Encoding Detector: character encoding auto-detection. Pdftools. Introduction I have written some classes in Python for reading Portable Document Format (PDF) files and interpreting their contents.
They are somewhat incomplete, so are best used in an interactive Python session. Some of the methods are documented, but the order in which they should be invoked hasn't been made clear. Nonetheless, you may find them useful. Download pdftools-0.37.tar.gz. PyPdf. Out of date!
This page is no longer updated. I've stopped maintaining pyPdf, and a company named Phaseit has forked the project and continued development and maintenance with my blessing as pyPdf2 ( About A Pure-Python library built as a PDF toolkit. It is capable of: extracting document information (title, author, ...), splitting documents page by page, merging documents page by page, cropping pages, merging multiple pages into a single page, encrypting and decrypting PDF files.
By being Pure-Python, it should run on any Python platform without any dependencies on external libraries. Download Latest. SciPy - Getting Started. This page is intended to help the beginner get a handle on SciPy and be productive with it as fast as possible.
What are NumPy, SciPy, matplotlib, ...? SciPy and friends can be used for a variety of tasks: NumPy‘s array type augments the Python language with an efficient data structure useful for numerical work, e.g., manipulating matrices. NumPy also provides basic numerical routines, such as tools for finding eigenvectors.SciPy contains additional routines needed in scientific work: for example, routines for computing integrals numerically, solving differential equations, optimization, and sparse matrices.The matplotlib module produces high quality plots. With it you can turn your data or your models into figures for presentations or articles. How to work with SciPy Python is a programming language, and there are several ways to approach it. The most common is to use the advanced interactive Python shell IPython to enter commands and run scripts.
Learning to work with SciPy. Parsing XML with SAX and Python. Parsing XML with SAX and Python(Page 1 of 7 ) This tutorial will explain how to parse an XML document using the SAX API implementation available for Python.
Of course, there is more than one way to parse XML data with Python. In this article we will focus on its built-in SAX module. You don’t have to be an expert in Python or XML in order to follow this article. On the contrary, this is an introduction rather than an in-depth analysis. In the next part of this article, I will describe the SAX classes of Python. In any case, if you want to test the code in this tutorial, you will need to install Python 2.1 or later. Our example is Web-based, therefore it would be nice if Python were integrated in your Web server, but-–of course--you may modify the script to run as a standalone application or in any other way you desire.