Repository navigation
A 3D lab you walk into, with the dish engine behind its cultures - #41
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
web/lab3d/, a first-person biology lab, and makes it the first thing on the landing page and in the README.run_dish_streamin 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).Tested by playing all four experiments in headless Chrome through the game's own aiming and clicks: no page errors, onion 12/12 steps.