BreatheSim AI — Don’t Just Learn About Breathing. Experience It.
Inspiration
Biology is often taught through textbooks, diagrams, and memorization. While these methods explain how the respiratory system works, they rarely allow students to experience how different factors affect breathing.
We wanted to change that.
What if students could experiment with the respiratory system, observe the results instantly, and ask questions whenever they got confused?
That question inspired BreatheSim AI.
What It Does
BreatheSim AI is an interactive educational platform that helps students explore respiratory science through simulations, visualizations, and artificial intelligence.
Instead of simply reading about breathing, students can actively experiment with it.
The platform includes:
- Interactive Respiratory Simulator: Adjust breathing parameters and observe how they influence lung volume, airflow, and pressure through dynamic visualizations.
- AI-Powered Tutor: Ask questions and receive explanations tailored to the learning context, with fallback guidance when AI is unavailable.
- Interactive Challenges: Apply respiratory concepts through hands-on learning activities.
- Pre- and Post-Assessments: Test understanding before and after exploring the simulator.
- Learning Reports: Review assessment results and reflect on learning progress.
Our goal is to make respiratory science more accessible, engaging, and easier to understand.
How We Built It
We developed BreatheSim AI using React and TypeScript, creating an interactive interface that connects respiratory simulations with educational activities.
The simulation uses simplified mathematical models to demonstrate relationships between breathing parameters, lung volume, airflow, and pressure.
We integrated an AI-powered tutor through Replit AI to help students understand the concepts behind their observations. We also built interactive challenges, assessments, and learning reports to create a complete educational experience.
Throughout development, we tested the simulation, user navigation, and application functionality.
Challenges We Ran Into
One of our biggest challenges was translating complex respiratory physiology into an interactive simulation that students could understand.
We needed to balance scientific concepts with simplicity while making the simulation responsive and educational.
Another challenge was integrating AI explanations into the learning experience while ensuring the platform remained useful when AI responses were unavailable.
Finally, we worked to keep the interface accessible across desktop and mobile devices.
Accomplishments That We’re Proud Of
We’re especially proud of creating a platform that combines experimentation, simulation, and AI-assisted learning in one experience.
Rather than displaying static information, BreatheSim AI allows students to interact with respiratory concepts and immediately visualize the effects of their choices.
We also completed 24 automated simulation tests, verified the application’s main user journey, and successfully built its web and API components for production.
What We Learned
Building BreatheSim AI taught us much more than programming.
We gained a deeper understanding of how the human respiratory system works, including how the diaphragm and lungs work together during breathing, how pressure differences drive airflow, and how changes in breathing rate and depth affect lung volume and airflow.
We also explored the relationships between respiratory mechanics and mathematical models, learning how scientific principles can be transformed into interactive simulations.
On the technical side, we strengthened our understanding of React, TypeScript, simulation development, and AI integration. We learned how to turn complex scientific concepts into visual, interactive experiences while balancing educational accuracy with simplicity.
Most importantly, we discovered that building something to teach others can be one of the most effective ways to deepen our own understanding.
What’s Next
In the future, we hope to expand BreatheSim AI with:
- More detailed respiratory simulations.
- Additional educational scenarios.
- Improved personalized learning recommendations.
- More interactive challenges.
- Broader accessibility and language support.
Our long-term vision is to make BreatheSim AI a useful educational resource for students who want to understand science through experimentation rather than memorization.
BreatheSim AI doesn’t just explain breathing. It lets students explore it.
Built With
- css
- html
- javascript
- node.js
- react
- replit
- typescript
- vite