DEV Community

eddex
eddex

Posted on

I'm looking for examples of 2D simulators. Do you know of any?

Hi :)

I'm looking for examples of 2D, top-down simulators of robots, vehicles, machines or similar things. Searching on github doesn't bring up many results and searching the internet with a search engine usually leads to some simulator game (even if I exclude search terms like "game" etc.).

As an example, here's a project that simulates a bunch of cars in a 2D environment: https://github.com/oseiskar/js-car

If you know of any 2D simulation software, it would be great if you'd leave a comment.

Thanks and have a great day!

Top comments (8)

Collapse
 
oscar profile image
Oscar Laureano • Edited

The University of Colorado Boulder have a few simulations on 2D, they are for educational purposes, but I've used a lot of the physics section for school projects back in high-school. You can find that section here: phet.colorado.edu/en/simulations/c...

Collapse
 
eddex profile image
eddex

Great, thanks a lot! :)

Collapse
 
schwepmo profile image
schwepmo

Probably not what you are looking for, but the DLR (German Aearospace Center) is actively developing a traffic simulator called SUMO. A part of that development is called SUMO-GUI, which is a top-down graphical user interface for the simulator.

Collapse
 
eddex profile image
eddex

Thank you! Projects like this is exactly what I'm looking for.

Collapse
 
jithinks profile image
Jithin KS

dynamiclearning.io/
This is a project that I'm working on. It is about improving Science and Math education using visualizations created in p5.
Here is are some examples
dynamiclearning.io/workbookeditor/...
dynamiclearning.io/workbookeditor/...

Collapse
 
eddex profile image
eddex

Interesting project, thanks for sharing!

Collapse
 
kodierkroete profile image
Steffen Frosch

You are probably looking for a 2D physics engine. Most 2D Game engines have on build in. Maybe you can have a look at those.

Collapse
 
eddex profile image
eddex

Thanks for the comment but I'm looking for reference projects and not ways to implement a simulation by myself.