Get Slimed: Exploring the Mesmerizing "Google Gravity Slime" by Mr. Doob

Touch events are partially supported, but precision is poor. Best experienced with a mouse.

Google Gravity

Have you ever wanted to just… break the internet? Not in the "viral video" way, but in the "watch everything smash into the floor" way. If so, you’ve likely stumbled upon , one of the most famous interactive experiments created by the legendary web developer Mr.doob (Ricardo Cabello). What is Google Gravity?

"The slime doesn't move / is very slow."

Mr.doob is also the creator of other similar physics-based "pieces," such as Google Space (where elements float in zero gravity) and Google Sphere by Mr.doob, or are you looking for the source code for this specific gravity effect? Google Gravity - Mr.doob

  • Choice of physics approach (particle system, springs, constraint solver, or soft-body mesh) and justification.
  • Data structures for element states.
  • Event handling for user drag and multi-touch.
  • Performance optimizations for mobile.
  • Fallback for browsers without requestAnimationFrame or pointer events. (Each sub-item evaluated for correctness and practicality.)