◀ VibeCruiser

gravity visualizer

A free physics simulation — play it in your browser, no install. Interactive web simulation of gravitational dynamics, General Relativity, and Minkowski spacetime diagrams built with Three.js.

by @Wrinck · Wrinck/gravity-visualizer on GitHubLANG HTMLHOSTED ON WRINCK.GITHUB.IOUPDATED 3 May 2026

Made this, @Wrinck? See how many people played it → or use email

Controls: Left Click on 3D/2D view: Select an object

▶ Play full screen ▲ Vote: free account with email ▲ Or sign in with GitHub

GitHub may ask you to sign in, then to let VibeCruiser “Verify your GitHub identity” and “Act on your behalf”. We only read your profile and email, and never post anything.

Open the live demo Source on GitHub

From the README

An interactive web-based simulation of gravitational dynamics, General Relativity effects, and Minkowski spacetime diagrams. Built with vanilla JavaScript and Three.js.

3D Side View & Isometric View (WebGL/Three.js). 2D Top-Down View with space-time curvature grid. 2D Side View with velocity vectors. Minkowski Diagram (Space-Time diagram with light cones). Newtonian Gravity & Relativistic corrections (toggleable). Collision modes: Merge, Elastic Bounce, Fragmentation, Black Hole Collapse. Time Control: Play, Pause, Rewind, and Speed adjustment.

Read the full README on GitHub →

Built something like this? Submit your vibe — free account, takes a minute. How listing works.

More like this

Made this?

Claim it: create a free account, then press CLAIM THIS in the cruiser. Put the badge below in your README or on your demo page first; that link is how we know it's yours.

Your project is on the cruise, loaded live from your own site. Put the badge in your README or on the demo page: it shows your live play count, it links back to this page, and everyone who lands here is one click from running the real thing.

On VibeCruiser

How listing, the badge and claiming work →