dorkhub

Physics2D

Physics2D - Simple 2D Physics Simulation for Blog Tutorials.

acrlw
C++9613 forksMITupdated 2 years ago
git clone https://github.com/acrlw/Physics2D.gitacrlw/Physics2D

Physics2D

中文

Simple 2D Physics Engine For Blog Tutorials.

Attention: For testbed, please see Physics2D-TestBed-SFML .

Build

Use XMake to build project:

xmake build

Requirement

  • C++ 20

Features

  • Basic Linear Algebra
  • Collision Detection
    • Narrowphase
      • Algorithm
        • SAT
        • GJK & EPA & MPR & Distance
        • Contact Pair By Sutherland-Hogdman Clipping
      • Continuous Collision Detection
        • Sampling Trajectory of Body
        • Time of Impact
    • Broadphase
      • Axis-Aligned Bounding Box
      • Dynamic Bounding Volume Tree
        • SAH
        • Dynamic Tree & Array
        • Raycast
      • Sweep And Prune
      • Spatial Hashing Grid
  • Contact Maintainer
  • Rigid Body Dynamics Simulation
  • Sequential Impulse Solver
  • Joint
    • Distance
    • Rotation
    • Point
    • Mouse
  • Simple 2D Geometry Algorithm
    • Support Mapping
      • Ellipse
      • Circle
      • Polygon
      • Line
      • Point
      • Capsule
      • Sector
    • Intersection
      • Raycast
      • Line Segment
    • Convexity
      • Graham Scan
      • Convexity Test
    • Center
      • Incenter
      • Centroid
      • Circumcenter
    • Circle
      • Circumcircle
      • Inscribed-circle
    • Ellipse
      • Support Mapping
      • Nearest Point

Future

  • Integrator
    • Verlet
    • Rk4
  • Joint
    • Prismatic
    • Weld
  • Non-Fit Polygon
  • Soft Body
    • Finite Element Method
    • Mass-Spring System
  • Rope
    • Position-Based Dynamics

Reference

more like this

FyWorld

FyWorld - Base-Building / Simulation Game & Tutorial in Unity

C#331

BubbleML

A multiphase multiphysics dataset and benchmarks for scientific machine learning

Python50

SimGAN

Pytorch Implementation of SimGAN: Hybrid Simulator Identification for Domain Adaptation via Adversarial Reinforcement L…

Python50

ncrystal

NCrystal : a library for thermal neutron transport in crystals and other materials

C++50

search

search projects, people, and tags