Google Gravity: Lava Mr Doob
Decoding the Internet Phenomenon: Google Gravity Lava Mr Doob
Google Gravity is an interactive web experiment created by Ricardo Cabello, a developer widely known as . It is a physics-based simulation that breaks the standard layout of the Google homepage, causing all interface elements—such as the logo, search bar, and buttons—to fall to the bottom of the browser window as if affected by gravity. ☄️ Key Experiments by Mr.doob
While the official Mr. Doob site hosts the gravity experiment and the lava experiment separately, many fan-made versions and bookmarklets merge the two. Here is what you typically see in a "Lava Gravity" experience:
If you wanted to add a "Lava" effect to this "paper," you would mathematically define a or viscosity layer at the bottom of the screen: Google Gravity Lava Mr Doob
: When users visited the page, it looked exactly like the classic Google homepage. However, within a second, the master code overrode the layout, and every element—the logo, the search bar, the buttons, and the text—fell to the bottom of the screen as if pulled down by real-world gravity.
One of Mr. Doob's definitive fluid-like experiments is . This experiment populates the browser screen with a massive cluster of colored circles. If the user shakes the browser window or drags their mouse through the screen, the balls roll, flow, and interact exactly like a fluid or a vat of molten lava.
In the late 2000s and early 2010s, modern web browsers were experiencing a massive technological leap forward. The introduction of HTML5, enhanced JavaScript execution engines, and WebGL opened the door for developers to treat the web browser as an interactive canvas. Mr.doob | Three.js Quake Decoding the Internet Phenomenon: Google Gravity Lava Mr
The code then applies a "gravity" calculation, causing them to fall to the bottom of the browser viewport.
| Technology | Purpose | |------------|---------| | JavaScript | Core logic & physics | | HTML5/CSS3 | Page structure & styling | | Canvas / WebGL | Real-time rendering (lava effect) | | Box2D (or similar) | 2D physics engine (gravity, collisions) |
Ricardo Cabello (Mr. Doob) is a legendary creative coder, and this experiment is just one example of his work. He is also famous for: Doob site hosts the gravity experiment and the
The era of "Google Gravity" marked a golden age of internet novelty. It proved that the web didn't just have to be a sterile tool for retrieving information; it could be a sandbox for digital art. Mr. Doob's experiments inspired a generation of front-end developers to study physics integration and helped pave the way for the complex 3D web applications, browser games, and interactive UI designs we take for granted today.
: Every element on the page—the logo, search bar, and buttons—falls to the bottom as if pulled down by gravity.
It removes them from their static positions.
Originally built to showcase the power of JavaScript in browser physics, it became an instant classic, proving that websites didn't have to be static. Exploring the "Lava" Variation (Google Gravity Lava)
