Physics MasterLab is an interactive webbased simulation platform designed to demonstrate key concepts from physics through visual and experimental learning. Instead of static diagrams, this project allows users to explore real-time behavior of systems across thermodynamics, electrical circuits, and semiconductor physics.
This project brings together three core laboratory experiments:
-
Carnot Cycle (Thermodynamics) Visualizes the PV diagram and explains heat engine efficiency.
-
Wheatstone Bridge (Electric Circuits) Simulates resistance balancing and null detection.
-
PN Junction Diode (Semiconductors) A fully interactive I–V characteristic simulator with forward and reverse bias behavior.
- Real-time graph plotting
- Dynamic parameter control (sliders, toggles)
- Animated voltage sweeps
- Forward and reverse bias modes
- Accurate exponential I–V behavior
- Breakdown region visualization
- Knee voltage detection (forward bias)
- Material selection (Silicon / Germanium)
- Log-scale current plotting
- Moving operating point (red dot)
- Traced curve during sweep
- Data table generation
- Adjustable resistance values
- Balance detection
- Real-time output display
- Embedded PV diagram visualization
- Integration of geogebra
- Conceptual explanation of thermodynamic processes
- HTML5 – Structure
- CSS3 – Styling and layout
- JavaScript – Simulation logic and rendering
- Canvas API – Graph plotting and visualization
- GeoGebra Embed – Carnot cycle visualization
-
Clone the repository:
git clone https://github.com/birbh/Physics-Masterlab.git -
Open the project folder:
cd Physics-Masterlab -
Run the project:
- Open
index.htmlin your browser
- Open
OR
- simply open this url: Masterlab!!!
This project is designed for:
- Students studying physics ( high school level)
- Beginners exploring simulation-based learning
- Demonstrations and presentations
- Concept visualization for exams and viva
- Export graph as image
- Download data as CSV
- Add more semiconductor devices
- Responsive design improvements
- Modular JavaScript structure
This is not just a project,it is a step toward making physics visible, interactive, and intuitive.