A downloadable game

Experiment with Real Physics in Your Browser! ๐Ÿš€

Physics Playground is an interactive simulation that brings classical mechanics to life. Play with two distinct physics experiments โ€“ a Spring Cannon and a Gravity Orbit Simulator โ€“ and watch real-time physics unfold before your eyes!

๐ŸŽฎ Two Labs in One

๐Ÿ”ง Spring Cannon

Master the physics of elastic potential energy! Compress a spring, adjust parameters, and launch projectiles at targets.

Features:

  • Adjustable Spring Constant (k) โ€“ From loose to stiff
  • Variable Mass โ€“ Heavier or lighter projectiles
  • Real Gravity โ€“ Tune gravitational acceleration
  • Launch Angle Control โ€“ Aim from 10ยฐ to 80ยฐ
  • Target Practice โ€“ Hit colorful targets for points!
  • Real-time Prediction โ€“ See the predicted trajectory before you launch
  • Energy Visualization โ€“ Watch kinetic and potential energy in action

๐ŸŒŒ Gravity Orbits

Explore celestial mechanics! Launch satellites into orbit around a massive star and navigate gravitational fields.

Features:

  • Adjustable Star Mass (GM) โ€“ Control the gravitational pull
  • Custom Launch Parameters โ€“ Distance, speed, and angle
  • Orbit Tracking โ€“ Count completed orbits in real-time
  • Ring Targets โ€“ Earn points by passing through orbital rings
  • Visual Feedback โ€“ Watch trajectory trails and particle effects
  • Physics Accuracy โ€“ Real inverse-square law gravity simulation

๐ŸŽฏ Key Physics Concepts

ConceptSpring ModeOrbit Mode
Energy ยฝkxยฒ โ†’ ยฝmvยฒ Potential & Kinetic
Force Hooke's Law (F = -kx) Newton's Law (F = GM/rยฒ)
Motion Projectile with gravity Orbital mechanics
Key Formula vโ‚€ = xยทโˆš(k/m) v_circ = โˆš(GM/r)

๐ŸŽฎ Controls & Interaction

Spring Cannon

  • Drag the orange handle to compress the spring
  • Release to launch!
  • Keyboard Shortcuts:
    • Space โ€“ Fire!
    • โ†/โ†’ โ€“ Adjust angle
    • โ†‘/โ†“ โ€“ Compress/release spring

Gravity Orbits

  • Adjust sliders for mass, distance, speed, and angle
  • Click "Launch!" or press Space to send your satellite
  • Watch as it orbits, passes through rings, or escapes!

๐ŸŽจ Visual Experience

  • Beautiful Gradient Backgrounds โ€“ Blue skies for spring, deep space for orbits
  • Particle Effects โ€“ Explosions on impact and target hits
  • Real-time Trails โ€“ See the path of your projectile or satellite
  • Interactive Feedback โ€“ Score tracking and visual hints
  • Smooth Animations โ€“ 60fps physics simulation

๐ŸŒŸ 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

๐Ÿš€ Get Started Now!

Jump into the lab and start experimenting! Whether you're a student learning physics, a teacher looking for a demo, or just someone who loves interactive simulations, Physics Playground has something for you.

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

๐Ÿ’ป How to Play

  1. Choose a Lab โ€“ Click "Spring Cannon" or "Gravity Orbits" at the top
  2. Adjust Parameters โ€“ Use the sliders to change physics properties
  3. Interact โ€“ Drag the spring handle or click "Launch!"
  4. Score Points โ€“ Hit targets and pass through rings
  5. 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

๐Ÿ“š Perfect For

  • Students โ€“ Visualize physics concepts in action
  • Teachers โ€“ Demonstrate mechanics in the classroom
  • Casual Gamers โ€“ Fun, addictive physics gameplay
  • Science Enthusiasts โ€“ Explore gravitational and elastic physics

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

"Physics is fun when you can play with it!" โšก๐Ÿ”ฌ

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

Download

Download
phisics2.html 39 kB

Leave a comment

Log in with itch.io to leave a comment.