GeoGebra Interactive Bubble Screen Saver: Vector Motion and Circle Collisions
Loading the math board and drawing, please wait…
This GeoGebra example recreates the classic bubble screen saver as an interactive dynamic geometry model. It shows multiple circular bubbles moving inside a bounded region, updating positions with velocity vectors, reflecting at boundaries, and maintaining separation. The construction uses commands such as Corner, Polygon, PointIn, Sum, and Circle, together with objects like r, r1, pol, vel, v1–v20, and A1–A6 to define the boundary polygon, bubble circles, vector sums, and position updates. It is useful for teaching 2D vectors, coordinate geometry, geometric construction, and parametric motion in middle or high school mathematics, as well as for GeoGebra animation practice.
GeoGebra Commands & Parameters
Corner(1) → E1Corner(2) → E2Corner(3) → E3Corner(4) → E4Polygon(E1 + (r1, r1), E2 + ((-r1), r1), E3 - (r1, r1), E4 + (r1, (-r1))) → pol, f, g, h, iPointIn(pol) → A1PointIn(pol) → A2PointIn(pol) → A3PointIn(pol) → A4PointIn(pol) → A5PointIn(pol) → A6PointIn(pol) → A7PointIn(pol) → A8PointIn(pol) → A9PointIn(pol) → A10PointIn(pol) → A11PointIn(pol) → A12PointIn(pol) → A13PointIn(pol) → A14PointIn(pol) → A15PointIn(pol) → A16PointIn(pol) → A17PointIn(pol) → A18PointIn(pol) → A19PointIn(pol) → A20Sum(enerLista, n) → energíaCircle(A1, r2) → B1Circle(A3, r2) → B3Circle(A4, r2) → B4Circle(A5, r2) → B5Circle(A6, r2) → B6Circle(A7, r2) → B7Circle(A8, r2) → B8Circle(A2, r2) → B2Circle(A9, r2) → B9Circle(A10, r2) → B10Circle(A11, r2) → B11Circle(A12, r2) → B12Circle(A13, r2) → B13Circle(A14, r2) → B14Circle(A15, r2) → B15Circle(A16, r2) → B16Circle(A17, r2) → B17Circle(A18, r2) → B18Circle(A19, r2) → B19Circle(A20, r2) → B20
AI Drawing Prompt Reference
Create an interactive bubble screen saver as a dynamic geometry scene. Start with a bounded region formed by offsetting four boundary vertices inward, then place twenty bubble centers inside that region and draw equal-radius round bubbles around them. Give each bubble a velocity vector, update its position by vector motion, reflect it when it reaches the boundary, and keep the bubbles separated so they continue moving inside the enclosed area.
The prompt above was compiled from the original drawing commands and is for reference only.