Skip to content

PythonNorte/pyb2d

 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 53.7%
  • Python 40.8%
  • CMake 5.5%