This free online interactive science lab provides a virtual pendulum simulation for physics students. Users can manipulate variables like string length, bob mass, and environmental gravity (Earth, Moon, Mars, Jupiter) to conduct virtual experiments. The deterministic physics engine runs at 60 frames per second and allows users to record trials. Finally, students can export a formatted A4 PDF Lab Report containing their data and measured periods for school submission.
Real-time Physics Simulator
Interactive Science Lab
A real-time deterministic physics simulator allowing students to experiment with mass, length, and gravity to understand harmonic motion.
A complete virtual laboratory
No broken strings. No missing weights. Just pure mathematics.
Deterministic Engine
Unlike generic physics libraries that suffer from floating point drift, our pendulum uses exact harmonic integration to ensure every swing is mathematically precise.
Export Lab Reports
Stop manually copying numbers into Word. The tool compiles your recorded trials into a perfectly formatted, A4 PDF Lab Report ready for your teacher.
Zero Uploads
The entire physics engine, data charting, and PDF generation algorithms run directly inside your browser. No data is ever sent to a server.
Virtual Pendulum Simulator for Physics Students
Understanding harmonic motion and the relationship between string length and the period of a pendulum is a fundamental part of high school physics. However, physical pendulums are prone to air resistance, friction, and measurement errors. This Interactive Science Lab provides a frictionless environment where students can test theoretical limits.
How to Conduct the Experiment
The standard experiment involves changing only one variable at a time (e.g., the string length) while keeping the bob mass and gravity constant. Drag the blue pendulum bob with your mouse or finger to set the initial release angle. Click Start to begin the oscillation, and then click Record to capture the data for that specific configuration.
Data Analysis and Export
As you record multiple trials, the system automatically plots a line chart. By increasing the length, you should observe that the period of the pendulum increases proportionally to the square root of the length. Once you have enough data points, clicking Export Lab Report will generate an offline PDF document containing your data table, which can be immediately submitted to your instructor.
Frequently Asked Questions
Does changing the mass affect the pendulum's period?+
No. According to the formula T = 2π√(L/g), the period is entirely independent of the mass of the bob. You can verify this by running the simulation with different masses!
Can I simulate gravity on other planets?+
Yes. The dropdown menu allows you to switch the gravitational constant from Earth (9.81 m/s²) to the Moon, Mars, or Jupiter. Notice how the pendulum swings much slower on the Moon.
Do I need an account to use this simulator?+
No, this tool requires zero login or registration. It runs entirely on your local device, and the PDF is generated in your own browser's memory for maximum privacy.