MatRIC - Visualization / Simulation / Programming - SimReal - Programming - Particle |
SimReal - Programming - Particle Exercise: SimReal Here we are going to learn programming in SimReal. SimReal uses JavaScript (this way we can run SimReal on every device), combined with a SimReal-library and Python. The SimReal-library is developed to hide difficult details in JavaScript making JavaScript-use more structured and to make a common userinterface in all the simulations. Click on the pictures to learn about programming this example where a small sphere is travelling back and forth on the screen. Download the library (will be opend in November 2018) for SimReal and unpack it at a suitable place on your computer. With this library you will automatically have the user interface you see to the left, and it will be much easier to program your application in SimReal/JavaScript. Note: This library is a mimimum library, it does not include the SimReal calculator engine that controls most of the advanced simulations. The complete library will be available later. After unpacking, follow these instructions to program your first SimReal application. Video |