Skip to content

Latest commit

 

History

History
52 lines (40 loc) · 3.42 KB

README.md

File metadata and controls

52 lines (40 loc) · 3.42 KB

DianFreya Math Physics Simulator (DF Simulator C++)

DianFreya Math Physics Simulator is a book that explain how to create Mathematics and Physics simulation from zero.

When you are interested in science and want to prove classical mechanics computation through computer simulation till quantum mechanics, C++ can come in handy. We are going to use popular Physics library Box2D and ReactPhysics3D, modify them and analyze the results. As a bonus, we also include an example with Bullet Physics, but mainly we stay with Box2D that is more simple and easy to follow.

The book:

DianFreya Math Physics Simulator Book
Click

it is not finished yet, our goal is to finish major sections and chapters in Fundamental of Physics book and some Mathematics simulation like Heat Equation PDE, Numerical Integration, Numerical Differentiation. I have to postpone Lasthrim Projection writing due to this (turns out Physics is more fun than Mathematics alone)

To Clone the repository

Go to a directory specified to learn this, then open terminal / xterm and type:

git clone https://github.com/glanzkaiser/DFSimulatorC.git

How to build can be seen at this: https://youtu.be/6FK19XRSh6U

Current Box2D Simulation

Name Simulation
Circular Motion
Gravity
Newton's First Law
Projectile Dropped
Simple Pendulum

Current Mathematics Simulation

Name Simulation
Fourier Series
Linear Algebra: Rotation of Axes, Gram-Schmidt, Planes Intersection
3D Object TransRotating Continuously with Assimp and OpenGL
Ellipse Simulation
Sphere Simulation
Level Curves Simulation

Source of Learning:

  1. Fundamental of Physics 10th Edition, David Halliday, Jearl Walker, Robert Resnick
  2. Box2D
  3. Bullet Physics
  4. ReactPhysics3D
  5. OpenGL, GLEW, GLFW, SFML, SOIL (I make the full references tidy in the book)