Skip to content

A 3D lab you walk into, with the dish engine behind its cultures - #41

Merged
Rockman6 merged 1 commit into
mainfrom
feature/lab3d
Oct 31, 2026
Merged

Rockman6 merged 1 commit into
mainfrom
feature/lab3d

Conversation

@Rockman6

Copy link
Copy Markdown
Owner

Adds web/lab3d/, a first-person biology lab, and makes it the first thing on the landing page and in the README.

  • Slides: onion, cheek and pondweed, prepared step by step and focused at 4×, 10× and 40×. Their cells are drawn at measured sizes, not simulated, and the page says so.
  • Culture dishes: simulated by run_dish_stream in a Pyodide worker, from the same wheel the Lab installs. Two drops of paclitaxel give 0.196 µM; at 24 h the treated dish is held in mitosis (80 cells) while the control grows (80 → 172).
  • Performance: Low to Ultra graphics presets; the page draws nothing while nothing moves.
  • Assets: Poly Haven (CC0) plus four credited CC-BY Sketchfab models. The raw downloads are gitignored.

Tested by playing all four experiments in headless Chrome through the game's own aiming and clicks: no page errors, onion 12/12 steps.

web/lab3d/ is a first-person biology lab in three.js: walk with WASD,
left-click takes, right-click uses, and a nine-slot hotbar holds what
you carry. Onion, cheek and pondweed slides are prepared step by step
and focused at 4x, 10x and 40x; their cells are drawn at measured
sizes, not simulated, and the page says so.

The culture dishes are simulated. lab_engine.py calls run_dish_stream
in a Pyodide worker, installing the same wheel the Lab does, and the
drops added in the lab set the dose: two 50 uL drops of 10 uM
paclitaxel in 5.1 mL give 0.196 uM, and at 24 h the dish is held in
mitosis while the untreated one grows.

Graphics presets run from Low (0.75x resolution, no shadows, 30 fps)
to Ultra, and the page stops drawing when nothing moves. The models
are Poly Haven (CC0) and four credited CC-BY Sketchfab models; the
raw downloads stay out of the repository.

The landing page and the README now open with the lab.
@Rockman6
Rockman6 merged commit 3909896 into main Oct 31, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant