A downloadable game

Experiment with Real Physics in Your Browser! ⚛️

Physics Playground is an engaging, hands-on physics simulation lab that brings classical mechanics to life. Play with two distinct experiments – a Projectile Cannon and a Pendulum Simulator – and watch real-time physics unfold before your eyes!

🎮 Two Labs in One

🎯 Projectile Cannon

Master the physics of projectile motion! Aim, adjust parameters, and launch projectiles at targets.

Features:

  • Adjustable Launch Angle – Aim from 5° to 85°
  • Variable Launch Speed – Control initial velocity
  • Real Gravity – Tune gravitational acceleration
  • Air Resistance Toggle – Add realistic drag effects
  • Target Practice – Hit colorful targets for points!
  • Real-time Trajectory Prediction – See where your shot will land before you fire
  • Keyboard Controls – Fine-tune aim and power with arrow keys

🕰️ Pendulum Simulator

Explore harmonic motion! Release a pendulum and watch it swing with realistic physics.

Features:

  • Adjustable Length – Change the pendulum's length
  • Variable Start Angle – Set initial displacement
  • Adjustable Gravity – Experiment with different gravitational environments
  • Damping Toggle – Add realistic friction to observe decay
  • Period Measurement – Automatically calculates and displays the oscillation period
  • Real-time Velocity Vector – See speed and direction of the bob
  • Trail Visualization – Track the pendulum's path

🎯 Key Physics Concepts

ConceptCannon ModePendulum Mode
Motion Type Projectile motion Simple harmonic motion
Key Forces Gravity, Air Resistance Gravity, Tension, Damping
Equations x = v₀·t, y = ½gt² T = 2π√(L/g)
Variables Angle, Speed, Gravity, Drag Length, Angle, Gravity, Damping
Real-world Application Ballistics, Sports Clocks, Seismometers

🎮 Controls & Interaction

Cannon Mode

  • Drag the cannon barrel to aim
  • Use sliders to adjust speed, gravity, and air resistance
  • Click "FIRE!" or press Space to launch!
  • Keyboard Shortcuts:
    • Space – Fire!
    • ←/→ – Adjust angle
    • ↑/↓ – Adjust power

Pendulum Mode

  • Adjust sliders for length, angle, gravity, and damping
  • Click "Release" to start the pendulum
  • Watch as it swings and the period is measured automatically
  • Reset anytime to try a new configuration

🎨 Visual Experience

  • Beautiful Gradient Backgrounds – Dynamic skies for cannon, clean interface for pendulum
  • Particle Effects – Explosions on impact
  • Real-time Trails – See the complete path of your projectile or pendulum
  • Visual Feedback – Scores, velocity arrows, and angle indicators
  • Smooth Animations – 60fps physics simulation
  • Interactive Controls – Drag the cannon or use sliders for instant feedback

🌟 Why You'll Love It

✅ Educational – Learn physics through hands-on experimentation ✅ Engaging – Target practice and scoring keep you hooked ✅ Interactive – Drag, click, and tweak parameters in real-time ✅ Beautiful – Polished visuals with particle effects ✅ Accessible – No installation needed, runs in any browser ✅ Responsive – Works on desktop and touch devices ✅ Instant Feedback – See results of your adjustments immediately

🚀 Get Started Now!

Jump into the lab and start experimenting! Whether you're:

  • A student learning physics concepts
  • A teacher looking for an engaging classroom demo
  • A casual gamer who loves interactive simulations
  • A science enthusiast exploring mechanics

Physics Playground has something for everyone!

[Play Now!] (Add your game link here)

💻 How to Play

  1. Choose a Lab – Click "Cannon" or "Pendulum" at the top
  2. Adjust Parameters – Use the sliders to change physics properties
  3. Interact – Drag the cannon barrel or click "Release"
  4. Score Points – Hit targets in Cannon mode
  5. Observe Physics – Watch period measurement in Pendulum mode
  6. Experiment – Try different settings and see what happens!

🛠️ Technical Info

  • Platform: Web Browser (HTML5)
  • Technologies: Vanilla JavaScript, Canvas API
  • Physics Engine: Custom real-time simulation
  • Controls: Mouse/Touch + Keyboard
  • Performance: Smooth 60fps on modern devices
  • Compatibility: Works on desktop, tablet, and mobile

📚 Perfect For

  • Physics Students – Visualize projectile and pendulum mechanics
  • Teachers – Demonstrate principles in the classroom
  • Hobbyists – Fun, addictive physics gameplay
  • STEM Enthusiasts – Explore the beauty of classical mechanics
  • Curious Minds – Anyone who loves to experiment and learn

Rating: Everyone Genre: Simulation / Educational / Physics Play Time: 5-30+ minutes per session Platform: Web Browser

"Physics is fun when you can play with it!" ⚛️🔬

🎯 Learning Outcomes

With Physics Playground, you'll:

  • Understand projectile motion and trajectory
  • Experience how gravity affects motion
  • Observe harmonic motion and period
  • Learn the relationship between length, gravity, and period
  • See the effects of air resistance and damping
  • Develop intuition for physics concepts through experimentation

Ready to explore the laws of physics? Launch, swing, and discover! 🚀

Published 4 days ago
StatusReleased
Author2d creator
GenreEducational
Tags2D
AI DisclosureAI Assisted, Code, Graphics

Download

Download
physics .html 39 kB

Leave a comment

Log in with itch.io to leave a comment.