All Projects → jakecoffman → Cp

jakecoffman / Cp

Licence: mit
(unofficial) Chipmunk2D in Go, no dependencies

Programming Languages

go
31211 projects - #10 most used programming language

Labels

Projects that are alternatives of or similar to Cp

Tbtk
A C++ library for solving second-quantized Hamiltonians
Stars: ✭ 89 (-34.07%)
Mutual labels:  physics
Rhusics
A cgmath physics library that can be used with Specs
Stars: ✭ 105 (-22.22%)
Mutual labels:  physics
Galgebra
Symbolic Geometric Algebra/Calculus package for SymPy 🔮
Stars: ✭ 113 (-16.3%)
Mutual labels:  physics
Psrealvehicle
Plugin for Unreal Engine 4 with simple force-driven vehicle simulation
Stars: ✭ 92 (-31.85%)
Mutual labels:  physics
Physics3d
A 3D physics engine
Stars: ✭ 101 (-25.19%)
Mutual labels:  physics
Interact
Brand New SwiftUI Library For Adding Dynamic Interaction To Views With Just A Single Modifier!
Stars: ✭ 107 (-20.74%)
Mutual labels:  physics
Thephysicshub
The Physics Hub is an open source physics simulations project that is being developed by physics students worldwide and aims to deliver clear and easy to understand physics simulations free for everyone!
Stars: ✭ 88 (-34.81%)
Mutual labels:  physics
Espresso
The ESPResSo package
Stars: ✭ 130 (-3.7%)
Mutual labels:  physics
Root
The official repository for ROOT: analyzing, storing and visualizing big data, scientifically
Stars: ✭ 1,377 (+920%)
Mutual labels:  physics
Nphysics
2 and 3-dimensional rigid body physics engine for Rust.
Stars: ✭ 1,530 (+1033.33%)
Mutual labels:  physics
Computer Science Resources
A list of resources in different fields of Computer Science (multiple languages)
Stars: ✭ 1,316 (+874.81%)
Mutual labels:  physics
Specs Physics
nphysics integration for the Specs entity component system
Stars: ✭ 94 (-30.37%)
Mutual labels:  physics
Bulletsharppinvoke
.NET wrapper for the Bullet physics library using Platform Invoke
Stars: ✭ 108 (-20%)
Mutual labels:  physics
Pyautolens
PyAutoLens: Open Source Strong Gravitational Lensing
Stars: ✭ 90 (-33.33%)
Mutual labels:  physics
Curated resources
📚 Curated lists for programming, books, movies, music, games, etc
Stars: ✭ 116 (-14.07%)
Mutual labels:  physics
Refractiveindex.info Database
Database of optical constants
Stars: ✭ 87 (-35.56%)
Mutual labels:  physics
Ode4j
Java 3D Physics Engine & Library
Stars: ✭ 105 (-22.22%)
Mutual labels:  physics
Phaser Examples
Contains hundreds of source code examples and related media for the Phaser HTML5 Game Framework.
Stars: ✭ 1,680 (+1144.44%)
Mutual labels:  physics
Landgreen.github.io
Landgreen's public site: physics notes, n-gon
Stars: ✭ 125 (-7.41%)
Mutual labels:  physics
Cadabra2
A field-theory motivated approach to computer algebra.
Stars: ✭ 112 (-17.04%)
Mutual labels:  physics

cp

GoDoc Sourcegraph

Chipmunk2D ported to Go

project status

Stable -- most features are implemented and the demos are very close to Chipmunk2D demos.

examples

https://github.com/jakecoffman/cp-examples contains the port of all of the Chipmunk2D demos.

https://github.com/hajimehoshi/ebiten/blob/master/examples/chipmunk/main.go is an example using Ebiten

https://github.com/gen2brain/raylib-go/blob/master/examples/physics/chipmunk/main.go is an example with raylib's Go port

documentation

The official chipmunk docs are a really good place to start: https://chipmunk-physics.net/release/ChipmunkLatest-Docs/

features

Same features as Chipmunk2D:

  • Designed specifically for 2D video games.
  • Circle, convex polygon, and beveled line segment collision primitives.
  • Multiple collision primitives can be attached to a single rigid body.
  • Fast broad phase collision detection by using a bounding box tree with great temporal coherence or a spatial hash.
  • Extremely fast impulse solving by utilizing Erin Catto’s contact persistence algorithm.
  • Supports sleeping objects that have come to rest to reduce the CPU load.
  • Support for collision event callbacks based on user definable object types types.
  • Flexible collision filtering system with layers, exclusion groups and callbacks.
  • Can be used to create all sorts of effects like one way platforms or buoyancy areas. (Examples included)
  • Supports nearest point, segment (raycasting), shape and bounding box queries to the collision detection system.
  • Collision impulses amounts can be retrieved for gameplay effects, sound effects, etc.
  • Large variety of joints – easily make vehicles, ragdolls, and more.
  • Joint callbacks.
  • Can be used to easily implement breakable or animated joints. (Examples included)
  • Maintains a contact graph of all colliding objects.
  • No external dependencies.
  • Many language bindings available.
  • Simple, read the documentation and see!
  • Unrestrictive MIT license
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].