Search “Google Antigravity” and click “I’m Feeling Lucky.” Watch as every element on the page floats away from your cursor like you’ve broken physics itself.

It’s delightful, useless, and exactly the kind of hidden fun that makes the internet great.

What is Google Antigravity?

Google Antigravity (sometimes called Google Anti-Gravity or Google Zero Gravity) is an unofficial Easter egg that simulates zero gravity on a Google search page. Elements that should stay fixed—the logo, search box, buttons—instead drift and float around the screen.

Move your mouse, and everything scatters. It’s interactive physics simulation disguised as a search engine.

How to Access It

Method 1: I’m Feeling Lucky

  1. Go to google.com
  2. Type “google anti-gravity” or “google antigravity”
  3. Click “I’m Feeling Lucky” (not regular search)
  4. Watch chaos unfold

Method 2: Direct URL

Visit one of the hosted versions:

  • elgoog.im/antigravity/
  • mrdoob.com/projects/chromeexperiments/google-gravity/

These work without relying on Google’s “I’m Feeling Lucky” redirect.

How It Works (Technically)

The effect uses JavaScript physics simulation, specifically the matter.js or Box2D libraries (or similar). Here’s the basic concept:

DOM to Physics Objects

// Conceptual - not actual implementation
const elements = document.querySelectorAll('*');

elements.forEach(el => {
  const rect = el.getBoundingClientRect();

  // Create physics body matching element position/size
  const body = Bodies.rectangle(
    rect.x + rect.width/2,
    rect.y + rect.height/2,
    rect.width,
    rect.height
  );

  // Add to physics world
  World.add(engine.world, body);

  // Link DOM element to physics body
  linkElementToBody(el, body);
});

Physics Simulation Loop

function update() {
  Engine.update(engine);

  // Update DOM positions to match physics bodies
  bodies.forEach((body, el) => {
    el.style.transform = `
      translate(${body.position.x}px, ${body.position.y}px)
      rotate(${body.angle}rad)
    `;
  });

  requestAnimationFrame(update);
}

Mouse Interaction

The cursor creates a repulsion force:

document.addEventListener('mousemove', (e) => {
  bodies.forEach(body => {
    const dx = body.position.x - e.clientX;
    const dy = body.position.y - e.clientY;
    const distance = Math.sqrt(dx*dx + dy*dy);

    if (distance < 200) {
      // Apply force away from cursor
      const force = 0.05 / (distance * distance);
      Body.applyForce(body, body.position, {
        x: dx * force,
        y: dy * force
      });
    }
  });
});

No Gravity

The key difference from “Google Gravity” (where elements fall) is that gravity is set to zero or near-zero:

const engine = Engine.create({
  gravity: { x: 0, y: 0 } // Zero gravity
});

This lets elements drift freely instead of piling at the bottom.

The Creator

The original Google Gravity effect was created by Ricardo Cabello (Mr.doob), a creative coder known for:

  • Three.js - The most popular WebGL library
  • Chrome Experiments contributions
  • Creative coding projects

The antigravity variant followed similar techniques with modified physics parameters.

Other Google Easter Eggs

Google has hidden dozens of Easter eggs over the years. Some favorites:

Still Working

Do a Barrel Roll - Search “do a barrel roll” and the page spins 360 degrees.

Askew - Search “askew” and the results page tilts slightly. Subtle but satisfying.

Recursion - Search “recursion” and Google asks “Did you mean: recursion” (which links back to the same search).

Anagram - Search “anagram” and it suggests “nag a ram.”

Blink HTML - Search “blink html” and the words “blink” and “HTML” blink on the results page.

Games

Pac-Man - Search “pac-man” for a playable game in search results.

Snake - Search “snake game” or “play snake.”

Tic Tac Toe - Search “tic tac toe” for an interactive game.

Solitaire - Search “solitaire” to play cards.

Minesweeper - Search “minesweeper” for the classic.

Interactive

Spinner - Search “spinner” for a fidget spinner or wheel you can spin.

Coin Flip - Search “flip a coin” for a random heads/tails.

Roll Dice - Search “roll dice” for random dice rolls.

Metronome - Search “metronome” for a functional metronome.

Visual

Thanos - Search “thanos” and click the gauntlet to snap away half the results.

Wizard of Oz - Search “wizard of oz” and click the ruby slippers.

Friends - Search any Friends character name and click the icon for themed effects.

Why Easter Eggs Matter

Easter eggs seem trivial, but they serve purposes:

Developer culture - They celebrate the playful side of building software. Engineers who add these features care about delight, not just function.

Brand personality - Google’s Easter eggs reinforce their image as innovative and fun, not just corporate.

Viral marketing - People share Easter eggs. Free word-of-mouth promotion.

Technical showcase - Many Easter eggs demonstrate impressive web capabilities. Google Antigravity shows off JavaScript physics simulation.

Developer recruiting - The kind of developers who build Easter eggs are the kind other developers want to work with.

Building Your Own

Want to add physics-based Easter eggs to your site? Key libraries:

Matter.js - 2D physics engine, beginner-friendly Cannon.js - 3D physics Box2D.js - Port of the classic Box2D physics engine

Basic recipe:

  1. Select DOM elements to animate
  2. Create physics bodies matching their dimensions
  3. Run simulation loop
  4. Update DOM transforms to match physics state
  5. Add interaction (mouse, touch, keyboard)

Start simple. A single falling element teaches you the mechanics. Build complexity from there.

The Lesson

Google Antigravity is silly. It serves no practical purpose. You can’t actually search anything.

But it makes people smile. It gets shared. It reminds us that technology can be playful.

Sometimes the best feature is the one that exists purely because someone thought it would be fun.

That’s worth remembering when you’re deep in serious business logic and sprint deadlines. Leave room for delight. Hide something unexpected for users to discover.

The internet is better when builders play.