Gravity Grid

Show Preview
Gravity Grid

About Gravity Grid

A 26 by 26 grid of spacetime that warps around your cursor like a heavy mass. Based on the rubber-sheet visualization of general relativity.

Features

  • Cursor-reactive gravity well

  • Smooth inverse-square falloff

  • Soft cursor inertia

  • Background stars that twinkle

  • Configurable grid density and mass strength

  • No external dependencies

How to use it

  • Drop into any project

  • Use as a hero background, section divider, or full-page experience

  • Adjust grid size, line color, and mass strength to fit your design