Structure of a MicroSim Demonstration
To make it easier for developers to understand and reuse our MicroSims, we are proposing the following directory and file standards.
Required Components
- Directory with the name of the app
- index.md file within this directory. The index.md file has a link to the HTML file.
- HTML file that displays the application. It also loads the JavaScript file and provides a link back to the main index.md file.
- JavaScript file that holds the simulation code.
Optional Components
- An image of the working simulation. Ideally, this will serve as the Link Preview.
- A button to the working simulation.
- A sample set of one or more prompts that were used to generate the simulation.
- Sample of code that was generated.
- Suggested activities or lesson plans.
- Links to related simulations.