Skip to content

Lab: find anything, smoother walking, realistic glassware, four new experiments - #43

Open
Rockman6 wants to merge 4 commits into
mainfrom
feature/lab3d-v2
Open

Rockman6 wants to merge 4 commits into
mainfrom
feature/lab3d-v2

Conversation

@Rockman6

@Rockman6 Rockman6 commented Nov 2, 2026

Copy link
Copy Markdown
Owner

Builds on #42 (the rename and the engine error fix), so merging this one publishes both.

  • Find anything (F): a typo-tolerant search; the thing found is outlined through walls and a marker points the way.
  • Aiming and walking: the aimed-at object is outlined, a ring shows where a held item lands (red if blocked), walking speeds up and slows down and slides along benches, with footsteps.
  • Realism: thick-walled glassware, reshaped tools, sound effects made in code.
  • Four experiments: dose–response (micropipette, 6-well plate, plate reader; paclitaxel IC50 ≈ 40 nM at 72 h from the engine), counting cells (trypsin, trypan blue, hemocytometer, checked against the engine's dish), mitosis in a root tip and osmosis in red onion (both drawn, not simulated).
  • Speed: merged meshes, single-pass transparency and on-demand shadows: about 600 draw calls for the whole room, down from 870.

Tested by playing all eight experiments and the search in headless Chrome through the game's own aiming and clicks: every scripted step passed, no game errors.

The repository becomes Rockman6/CellSim, so the site moves to
rockman6.github.io/CellSim/. Links in the README, the landing page,
pyproject.toml, the conda-forge recipe and the lab's credits point
there. The lab's title, loading screen and README say CellSim, and
"Cell Sim" is spelled one way throughout. OLD/ and docs/archive/ keep
the old name as the record they are; GitHub forwards those links.
…file

The worker read lab/wheel/LATEST without checking the response, so on
the old site address, dead since the rename, it took GitHub's 404 page
for the wheel's name and the eyepiece printed the page's HTML. Both
fetches now check the status and say which file is missing and where
the lab moved. Errors are cut to one line, and readiness is its own
flag, since Python can be up while the engine is not.
…xperiments

F finds anything in the lab by name. The search scores whole words, the
start of a word and spelling mistakes (one wrong, missing, extra or
swapped letter in four still matches), knows other words for things
("tweezers", "trash"), and with nothing typed suggests what the current
step needs. The thing found is outlined through walls and a marker
points the way. Whatever you aim at is outlined; a ring shows where a
held item will land, red if something is in the way, and items no
longer stack on each other.

Walking speeds up and slows down, slides along benches instead of
sticking, and bobs and sounds with each stride. Glassware has wall
thickness and rounded lips, beakers a spout, caps ribs; the tools,
tile, towels and boxes are reshaped. Sound effects are made in code.

Four experiments:
- Dose-response: a 2-200 uL micropipette (a fresh tip for each
  solution), a 6-well plate whose wells are each their own engine run,
  and a plate reader. Paclitaxel on A549 at 72 h gives an IC50 of about
  40 nM.
- Counting cells: trypsin, trypan blue and a Neubauer hemocytometer.
  The count is checked against the engine's dish, scaled from the
  simulated patch to a 60 mm dish, with the counting error explained.
- Mitosis in a root tip: acid in a 60 C water bath, toluidine blue, a
  squash, and naming the stage of each cell. Drawn, not simulated.
- Osmosis in red onion cells: salt drawn under the cover slip with a
  paper towel. A simple osmotic model, not the engine.

Parts sharing a material are merged, see-through materials draw in one
pass, and the sun's shadows redraw only when something moves: the whole
room is about 600 draw calls, down from 870.
The README opened on a dense status block and a reference table, so a
visitor had to read far to learn what CellSim is or how to try it. It
now says that in plain words first, then: the four browser tools, the
3D lab's experiments (marked drawn or simulated), what the engine does,
what it is and isn't good for, and how far to trust it. The Python and
docking quickstarts, the full capability table, the roadmap and the
contributor notes follow, with every number and caveat kept.

This branch has not been deployed

No deployments
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