Simple 2D Physics Engine

https://github.com/fbxiang/PhysicsVideoGen

2D physics simulation and collision detection

I accomplished the following tasks in ths project

  • collision detection between circles and rectangles
  • force and impact simulation
  • rigid body collision resolution
  • Canvas drawing with OpenCV
  • Sound synthesis from scratch
  • Video production with OpenCV and FFMPEG

Project Summary

This is a simple physics engine for 2D object collision simulation. The purpose of this physics engine is to generate data for machine learning purposes.

Generated video frames

Copyright © 2020, Fanbo Xiang. Website generated with org-mode and Jekyll.
Please feel free to use my designs however you like. Code is available here.