Skip to content

Latest commit

 

History

History
69 lines (40 loc) · 2.48 KB

File metadata and controls

69 lines (40 loc) · 2.48 KB

pyb2d

Micromamba + CMake Pip Documentation Status Binder Anaconda-Server Badge Anaconda-Server Badge Anaconda-Server Badge Anaconda-Server Badge Anaconda-Server Badge

Warning, this is a work in progress and all APIs are subject to changes! Nothing is stable yet.

Installing from conda-forge

Then you can install in this environment pyb2d and its dependencies

mamba install pyb2d -c conda-forge

Installing from source

Or you can install it from the sources, you will first need to install dependencies

mamba install cmake python numpy -c conda-forge

Then you can compile the sources (replace $CONDA_PREFIX with a custom installation prefix if need be)

mkdir build && cd build
cmake .. -D CMAKE_PREFIX_PATH=$CONDA_PREFIX -D CMAKE_INSTALL_PREFIX=$CONDA_PREFIX -D CMAKE_INSTALL_LIBDIR=lib
make && make install

Trying it online

To try out pyb2d interactively in your web browser, just click on the binder link:

Binder

Features:

  • Liquidfun Integration

  • Pygame Integration

  • Jupyter Integration

jupyter_integration

History

This project originated 2015 with the goal to create python bindings for liquidfun. The original work can still be found here: https://github.com/DerThorsten/liquidfun/tree/master/liquidfun/Box2D/pybox2d