An interactive compound-microscope simulator that runs entirely in the browser. Four prepared slides are drawn procedurally on canvas; there are no images, fonts, or libraries to download.
Run 'start.bat' or run 'index.html', and the simulator will start in your browser.
| Action | Control |
|---|---|
| Move the slide | Drag the circular field, drag the stage map, or use the arrow keys |
| Focus | Scroll over the field, drag the focus slider, or press + / - |
| Change objective | Click 4×, 10×, 40× or 100×, or press 1–4 |
| Toggle labels | Labels button or L |
| Field guide | Field guide button or G |
| Save a micrograph | Capture button or C |
| Autofocus | Auto button or F |
| Recenter the stage | Reset button or R |
| Help | ? button |
The 100× objective automatically shows the oil-immersion indicator.
- Onion epidermis — acetocarmine-stained cell walls and nuclei
- Human blood smear — Wright–Giemsa red cells, platelets, and leukocytes
- Pond water — live paramecia, euglena, diatoms, algae, and detritus
- Leaf cross-section — epidermis, palisade and spongy mesophyll, stomata, and a vascular bundle
The app accepts URL parameters:
index.html?slide=pond&mag=40&labels=1
slide:onion,blood,pond, orleafmag:4,10,40, or100labels:1to start with structure labels visible
index.html— page structure and UIstyles.css— layout, eyepiece, controls, responsive stylingapp.js— state, optics, interaction, URL parametersart.js— shared constants and specimen registryonion-blood.js— onion and blood rendererspond.js— pond organisms, algae, and detritusleaf.js— leaf cross-section rendererlabels.js— structure annotationscapture.js— 1200 × 1300 micrograph exportthumbs.js— specimen thumbnail canvases