Skip to content

Pdbjork/human_body_simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

human_body_simulation

A prototype simulation of the human body as a multi-agent system, where each major body system (nervous, circulatory, respiratory, digestive, endocrine, musculoskeletal, immune, excretory, and brain) is represented as an interconnected program. The simulation visualizes interactions and homeostasis in real time.

Features

  • Interactive web-based prototype (prototype) visualizing body systems and their states
  • Simulates stress response, digestion, rest, and recovery
  • Models physiological variables (heart rate, breathing rate, hormone levels, etc.)
  • Modular structure for each system with real-time updates

Getting Started

Prerequisites

  • A modern web browser (Chrome, Firefox, Edge, Safari)
  • (Optional) Docker and Google Cloud account for deployment

Running the Prototype Locally

  1. Open the prototype file in your browser to view and interact with the simulation.

Project Structure

Deployment

This project includes a GitHub Actions workflow (.github/workflows/google.yml) for building a Docker container and deploying to Google Kubernetes Engine. See comments in the workflow file for setup instructions.

Usage

  • Detect Threat (Fight-or-Flight): Simulates a stress response across all systems
  • Ingest Food: Triggers digestion and nutrient absorption
  • Rest & Recover: Returns the system to a resting state

Observe how each system responds to different scenarios in real time.

Contributing

Pull requests and suggestions are welcome! Please open an issue to discuss changes or ideas.

License

MIT

About

application of interconnected programs for each body system... sans substrate!

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors