Wrapper | Description |
---|---|
Simulation | Shows the simulation without any data streams or iframes. |
Instance Proxies | Shows all of the instrumented instances in a simulation, with their corresponding IDs, types and a basic functionality for testing interacting with them. This also provides a "Generate HTML" feature which can be used to create a customized simulation or to generate a template/starting point for developing new wrappers. |
Events: colorized | Shows the PhET-iO Event Stream in the console, colorized and optimized for human readability. The console must be open to see this data. Chrome/Firefox only. |
Events: JSON | Shows the PhET-iO Event Stream in the console, formatted in JSON, suitable for machine parsing and analysis. The console must be open to see this data. |
Events: textarea | Shows the PhET-iO Event Stream in the wrapper frame instead of the console. |
Events: recording | The simulation is embedded in a full-size iframe and emits events to the console. Query parameters can be added to redirect the data stream to another location. |
State | Shows a JSON object representing the simulation's state, and immediately sets the state to a copy of the simulation for testing the ability to set state to a simulation. Provides a "Launch" button to launch another copy of the simulation with the given state using Query Parameters. |
Mirror Inputs | Shows the Scenery input event stream in the console and mirrors the events to a copy of the simulation, to test for visual playback (like a recorded screen capture). |
Screenshot | Shows a "Screenshot" button that can be used to capture and display screenshots from a live simulation. |
Active | Shows a button that enables the user to toggle whether a simulation is active (running and taking user input) or inactive (paused and not accepting user input). |
PhET-iO Developer's Guide for this simulation.