Create your First Simulation - simphysoftwares/SimPHY-docs GitHub Wiki

Let's create a simulation to understand what Simple Harmonic Motion is.

  1. Make a rigid ground by selecting the ‘Infinite Plane’ icon with mouse in the Bodies menu.
  2. Default gravity should be 9.8 m/s2 but if it's not, set gravity by yourself.
  3. Then select the 'Rectangle' icon and drag mouse while pressing left button to make 2D block.
  4. Use 'Spring' Joint from Joints menu to attach block with the background.
  5. Also, attach a tracer and a graph from the 'Visualisation' menu to make the simulation more informative.
  6. Click ‘Play Simulation’ to see the motion as below.
  7. You can decrease the simulation speed to view the motion better.

Creating First Simulation