TutorLoom
The learning platform for companies, colleges and training institutes. Free and open source, with an Enterprise edition.
翻译准备中
尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
Human Kidney and Urinary System — interactive 3D learning lab (HuBMAP + BodyParts3D, CC BY 4.0)
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗Live: https://kidney-anatomy-lab.vercel.app
Works on phones and tablets: the details rise from the bottom in a sheet you can drag, fold or close with a swipe down, and picking a structure frames it above the sheet.
A realistic, interactive 3D urinary system for secondary-school and first-year biology:
Educational only. This is not a clinical tool, and the text has not been reviewed by a physician. The kidneys, urinary tract, main vessels, spine and pelvis are the HuBMAP Human Reference Atlas female organ set; the adrenal glands, segmental and adrenal vessels, lower ribs, psoas and diaphragm are BodyParts3D (DBCLS), fitted onto it. All are CC BY 4.0; see public/ATTRIBUTION.md.
Requires Node.js ≥ 22.12.
npm install
npm run dev # http://localhost:5190
npm run build # type-check + production build → dist/
npm run preview # http://localhost:5191
Add ?quality=high or ?quality=low to the URL to force a rendering quality. By default the lab drops the costly wet coat and sheen on software renderers and when frames stay slow.
npm run typecheck
npm test # unit tests (Vitest)
npm run validate:assets # model hash, nodes, geometry sanity, baked shading, attribution
npx playwright install chromium # once
npm run build && npm run e2e # browser tests (Playwright)
See docs/TESTING.md for results and what is not verified.
public/models/kidney.glb is generated from two checkouts:
github.com/Niyaz-05/female-atlas): the HRA united female body.github.com/Niyaz-05/human-atlas): BodyParts3D.node tools/extract-kidney.mjs "<female-atlas>/public/models" "<human-atlas>/public/models"
node tools/bake-shading.mjs
node tools/validate-assets.mjs
Both steps are deterministic, and every input and the output are hashed in src/kidney/generated/provenance.json, with the BodyParts3D fits, the measurements and the routes.
The site is a Vercel project (Vite preset, output dist/) for github.com/Niyaz-05/kidney-anatomy-lab, deployed with vercel deploy --prod to https://kidney-anatomy-lab.vercel.app.
| Path | What |
|---|---|
src/contract/ | Simulation schema (zod), approved-asset registry, validation gate |
src/kidney/ | Definition (structures, layers, routes, tour, sources), filtration, tubule and urine, eGFR, bladder, stones, hormones, nephron layout, anchors, generated geometry and provenance |
src/app/ | Pure state reducer (modes, colour, cut, physiology, bladder, stones, hormones, eGFR), mode layers, search, React context |
src/viewer/ | three.js / react-three-fiber scene: tissue material and lighting, kidney model (pyramid stripes, ureter peristalsis, bladder filling, cut caps), renal vessels, blood and urine particles, stones, nephron view, camera rig, labels |
src/ui/ | Panels: structures (colour, cut, layers), details, Blood, Nephron, Filtering, Urine, Stones, Kidney test, Hormones, tour, About |
tools/ | Extraction, shading bake and asset validation |
tests/unit, tests/e2e | Vitest and Playwright suites |