24 lines
741 B
Markdown
24 lines
741 B
Markdown
# Blood Sugar Delay Lab
|
|
|
|
Standalone Glitch University component that visualizes type 2 diabetes as a delayed feedback problem. The graph shows blood sugar, insulin level, and insulin response moving out of phase so learners can see how delay destabilizes a system that is trying to return to equilibrium.
|
|
|
|
## Commands
|
|
|
|
- `npm install`
|
|
- `npm run dev`
|
|
- `npm run build`
|
|
- `npm run preview`
|
|
|
|
From the workspace root, the standard wrappers also work:
|
|
|
|
- `npm run glitch:validate`
|
|
- `npm run glitch:build`
|
|
- `npm run glitch:release`
|
|
|
|
## Notes
|
|
|
|
- The packaged entrypoint is `src/index.tsx`
|
|
- Dev-only styling lives in `src/dev-theme.css`
|
|
- Host integration metadata lives in `glitch.manifest.json`
|
|
- CDN release path: `/components/bloodsugar.js`
|