Gravetat is a 3D gravity and electromagnetism simulator. Gravetat offers you the possibility of creating a universe with a few particles and then see how them interact due to the forces mentioned before. It uses an own 3D engine specially designed to enable real-time simulation as well as SVG exporting. Its GUI uses wxWidgets so it's very portable. It makes universe files editing much simple.