Pymunk tutorial
latest

Contents:

  • Introduction
  • Shapes
  • Constraints and joints
  • Auto-geometry
  • Create an app
  • Using mouse and keyboard
  • Demo examples
  • Angry Birds
Pymunk tutorial
  • Docs »
  • Welcome to this Pymunk tutorial
  • Edit on GitHub

Welcome to this Pymunk tutorial¶

Contents:

  • Introduction
    • About the naming of variables
    • The abstract Body
    • A bouncing ball
    • Creating an App class
    • A ball rolling down slope
    • A block sliding down a slope
    • A block tumbling down a slope
    • A ball inside a box
    • Many particles in a box
    • Pin joint
    • Double pendulum
    • Newton’s cradle
  • Shapes
    • The Box class
    • A simple compound shape
    • A moving segment
    • L-shaped segment
    • Multiple L-shaped segment
    • Triangles
    • Conveyer belt
    • Pivot joint
    • Damped spring
  • Constraints and joints
    • Pin joint
    • Double pendulum
    • Pivot joint
    • Rag doll
    • Motors
    • Motors moving at different speeds
    • Wheeled car
    • Slide joint
    • Groove joint
    • Damped rotary spring and rotary limit joint
    • Gear joint
    • Creating GIF images
    • Complete source code
  • Auto-geometry
    • Soft contour
  • Create an app
    • Circle
    • Segment
    • Poly
  • Using mouse and keyboard
    • Starting file
    • Create balls at random locations
    • Select a ball with the mouse
    • Move the active shape with keys
    • Rotate an object with the mouse
    • Pull a ball with the mouse
    • New objects at mouse position
    • Remove an object
    • Add a bounding box (BB)
    • Toggle gravity
    • Animated GIF
    • Complete source code
  • Demo examples
  • Angry Birds
    • Resources
    • First program

Indices and tables¶

  • Index
  • Module Index
  • Search Page
Next

© Copyright 2019, Raphael Holzer Revision 2012ca16.

Built with Sphinx using a theme provided by Read the Docs.