Gravitational Attractor
Copy this iframe to your website:
1 | |
Description
This MicroSim demonstrates gravitational attraction between particles and a central attractor mass. The simulation visualizes Newton's Law of Universal Gravitation in an interactive environment.
How It Works
- Central Attractor: A large pink mass at the center that attracts all particles
- Particles: 100 colorful particles with random initial positions and velocities
- Force Arrows: Green arrows show the gravitational force acting on each particle; yellow arrows show velocity
- Path Tracing: Each particle leaves a fading trail showing its orbital path
- Collision Physics: When particles collide, they merge into a larger particle with combined mass
- Absorption: Particles that reach the central attractor are absorbed, increasing its mass
Interactions
- Click anywhere on the canvas to add a new particle at that location
Physics Concepts Demonstrated
- Gravitational Force: Force increases with mass and decreases with distance squared (F = Gm1m2/r^2)
- Orbital Motion: Particles can achieve stable orbits around the attractor
- Conservation of Momentum: Particle collisions conserve momentum
- Mass Aggregation: The central attractor grows as it absorbs particles
Lesson Plan
Learning Objectives
By the end of this lesson, students will be able to:
- Explain how gravitational force depends on mass and distance
- Describe the conditions necessary for orbital motion
- Predict how changing initial velocity affects a particle's trajectory
- Analyze the relationship between kinetic energy and orbital stability
Grade Level
High School Physics (Grades 10-12)
Prerequisites
- Understanding of vectors (magnitude and direction)
- Basic knowledge of Newton's Laws of Motion
- Familiarity with the concept of force
Duration
45-60 minutes
Activities
Activity 1: Orbital Exploration (15 min)
- Observe the initial particle behavior
- Click to add particles with different positions relative to the attractor
- Record observations about which particles achieve stable orbits vs. spiral inward
Activity 2: Force Analysis (15 min)
- Pause and observe the green force arrows
- Compare arrow lengths for particles at different distances
- Discuss: Why are arrows longer for closer particles?
Activity 3: Collision Investigation (15 min)
- Watch for particle collisions (particles merge when they touch)
- Observe how the new particle's size and trajectory changes
- Discuss conservation of momentum in the collision
Discussion Questions
- What happens to particles that start with very low velocity?
- Why do some particles achieve stable orbits while others spiral in?
- How does the central attractor's growth affect nearby particles?
- What would happen if we added a second attractor?
Assessment
- Students sketch predicted trajectories for particles at different starting positions
- Students explain the relationship between initial velocity and orbital radius
- Students compare this simulation to real planetary motion
References
- Newton's Law of Universal Gravitation - Wikipedia - Comprehensive overview of gravitational theory
- The Nature of Code: Chapter 2 - Forces - Daniel Shiffman - 2024 - Explains implementing forces in p5.js simulations
- Orbital Mechanics - NASA Glenn Research Center - Educational resource on orbital motion
- Original Simulation - Nikola Bozhinov (vislupus) - Source code inspiration