MicroSim Directory Explorer
Run the MicroSim Directory Explorer Fullscreen
About This MicroSim
Every MicroSim lives in one folder, docs/sims/<sim-id>/, and each file in that folder has one
job. This explorer shows the H-Bridge showcase MicroSim's directory as a tree: the folder
docs/sims/h-bridge/ at the top and its five files below it.
| File | Its job |
|---|---|
main.html |
Loads the library and the sketch into a web page |
h-bridge.js |
Draws the MicroSim and makes it respond to the learner |
index.md |
Explains the MicroSim and embeds it in the textbook |
metadata.json |
Describes the MicroSim so search tools can find and filter it |
h-bridge.png |
Shows what the MicroSim looks like at a glance |
Hovering a file shows its one-sentence job. Clicking it shows three things in the panel: what the file contains, who reads it, and one change a person would make there. The Which file? mode turns this around: it shows a change request, such as "Make the slider start at 0.5" or "Add a learning objective that catalog searches can filter on," and you click the file you would edit.
Learning objective: The learner will explain the role of each file in a MicroSim directory and predict which file to edit to make a given change.
Bloom's taxonomy level: Understand (verb: explain)
How to Use
- Hover each file to read its job, then click it to read what it contains, who reads it, and a typical change.
- Click the folder at the top to see why its name matters.
- Press Which file? to start a round of six change requests. Click the file you would edit. A wrong pick tells you what that file actually does; try again, then press Next change.
- The score shows correct picks out of attempts. Press Explore to return to the details.
When the page is narrower than 600 pixels, the panel moves below the tree.
Iframe Embed Code
You can add this MicroSim to any web page by adding this to your HTML:
1 2 3 4 | |
Lesson Plan
Audience
Teachers, instructional designers, learning-technology developers and learning-analytics practitioners (college undergraduate and professional development).
Duration
10-15 minutes
Prerequisites
- The MicroSim Directory section of Chapter 2
- The web foundations of Chapter 1 (HTML, JavaScript, iframes)
Activities
- Explore (4 min): Click all five files. For each one, write "who reads it" in one word (browser, reader, search tool, gallery).
- Predict (5 min): Play one round of Which file?. Before each click, say your reason aloud or write it down.
- Explain (4 min): Pick two files that are easy to confuse (for example,
index.mdandmetadata.json, which both describe the MicroSim). Explain the difference in audience. - Apply (2 min): Open a MicroSim folder in this book and find the same five files.
Assessment
- The learner states the job of each of the five files in one sentence.
- The learner picks the correct file for at least five of six change requests on the first try.
- The learner explains why a learning objective for search tools belongs in
metadata.json, while the lesson plan text belongs inindex.md.
References
- MkDocs - The static site generator that turns
index.mdinto a web page. - JSON - Wikipedia. The text format of
metadata.json. - Dublin Core - Wikipedia. The metadata
vocabulary behind the descriptive fields in
metadata.json. - vis-network documentation - vis.js. The library used to draw the directory tree.