My name is Robin. I live in Sweden, currently studying Master of Science in Game and Software Engineering. I'm very dedicated to programming as well as composing music. You can find my music by searching for "robinerd" on spotify/youtube/iTunes ;)

Report RSS Showcase - 2D Physics simulator

Posted by on

2D physics simulator

I made this 2D physics simulator from scratch in Java. It includes the physical concepts of gravity, friction, rigid body collision, spring forces, torques and rotations, moment of inertia, momentum and more. The video pretty much shows what it is about, the user draws the rigid body objects with his mouse, similar to drawing in paint, places connections by right clicking, and then starts the simulation.

Download:
Robinerd.com

Source code:
Github.com

Post comment Comments
AlexVSharp
AlexVSharp - - 215 comments

Hey, nice work! Kind of like "Crayon Physics". To be honest, I'm far more impressed by those shadows in your previous post, however this seems like a good starting point as well. What I'm wondering now is in which direction will you be taking these projects?

Reply Good karma Bad karma+2 votes
robinerd Author
robinerd - - 200 comments

I'm probably not going to work more on the shadow project, atleast not for now, but for this physics project I have plans for a game. I'm going to implement fluid mechanics to simulate lift force and drag force. In the game you will draw your own airplane, add engines and wheels, and then try to fly it as far as possible. I haven't figured in detail how the game play will work, but I think it's a nice idea. Thanks for your feedback!

Reply Good karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: