creative-codingphysicsinteractive

Fun with Strings

A physics playground disguised as a page of prose. Every letter is a rigid body — click one and watch the words come apart.

Watch the words find their place…

How it works

Every character in the paragraph above — including spaces and punctuation — lives inside its own rectangular physics body powered by Matter.js. Invisible shelves hold each line of text in place. When you click a letter it launches away, the shelf disappears, and gravity pulls the remaining letters down. They tumble, collide, and pile up at the bottom — a little physics playground hidden inside a page of prose.