How to use JavaScript to Configure and Control the Simulation

1. Using buttons and Hyperlinks to control the simulation:

Apply the following commands to body number :

2. Using JavaScript methods to create your own methods:

3. Creating your own exercises and problems: