Four experiments in text that moves by Israel PiñaFour experiments in text that moves by Israel Piña

Four experiments in text that moves

Portfolio project
Israel Piña
Text on the web sits still. It is the one element we never let move, because moving text reads as decoration, and decoration on top of language usually gets in the way of the language.
These four exercises start from the opposite premise: that motion can carry the meaning instead of competing with it. Each one takes a passage and asks what the words are actually doing, then builds the interaction around that answer rather than around a visual effect.
The first takes the opening of Alice in Wonderland, where a girl complains about a book with no pictures in it, and turns the paragraph into a physical rope you can pull apart. The second floods the screen with the same passage and lights it from beneath, so reading becomes something closer to looking into water. The third takes the least poetic object on the internet, a form field, and makes it a length of string you stretch with your hand until it is long enough to hold what you have to say. The fourth just makes typing feel good.
None of them use an animation library. There is no GSAP, no Framer Motion, no spring utility. Every one is verlet integration, canvas math or hand written CSS keyframes, running in a single file you can drop into any site.
They share one design system: the same paper white, the same ink, the same corner panel where every constant in the simulation is exposed as a live slider. Because the point was never to ship one finished effect. It was to build four instruments and leave them tunable.

01 — Textstring, pull the thread

The opening paragraph of Alice in Wonderland is broken into individual graphemes with Intl.Segmenter and laid out at twenty pixels with a twenty eight pixel line height. Then comes the trick that makes it work: the letters are re-ordered into a snake. Reading order runs left to right on every line, but the physical rope alternates direction line by line, and the snake is flipped so the tail ends up at the visual end of the paragraph. That way pulling the last letter unravels the text in the order you actually read it.

02 — Caustic text

The same passage, repeated a hundred and fifty times into a pool of words, laid out on a canvas and stopped exactly at the bottom of the viewport so nothing is computed offscreen. Every frame, every word samples three trigonometric waves derived from its own coordinates and the clock. Those three are summed and raised to the fourth power through a sine, which is what produces the sharp bright bands of a caustic rather than a soft gradient. The result drives both position and opacity: alpha runs from 0.25 to 0.9, so the light is not cast onto the text, the text is the light.
Cursor movement further than forty pixels drops a ripple of strength eight and radius three hundred. A click drops one of strength thirty five and radius twelve hundred. Each ripple is an expanding wavefront with exponential damping in both space and time, a sixty pixel smoothing edge so the front is not a hard ring, and displacement projected along the vector from its origin. Ripples are retired after eight seconds. Six constants are live: line height, ambient speed, ambient drift, ink density, ripple speed, ripple strength.

03 — Form file, elastic fields

An input field rendered as an SVG stroke, with its own label riding the curve through a textPath. The pill shape comes from drawing the path twice: once at stroke width plus one in ink, then again at stroke width minus one in the background color, on top. That hollow means the field can take any shape at all without a single fill polygon.
Drag the right handle and the path samples a point every seven pixels, rebuilt as quadratic midpoint curves so it stays smooth however fast you move. In calligraphy mode the drag speed in pixels per millisecond maps to stroke width, faster reading as thinner, floored at a quarter of the base. Three physics modes: none, gravity, which runs verlet on the interior points only with the two ends anchored, and elastic, which on release eases every interior point eighteen percent per frame toward the straight line between the ends and then deletes them entirely once motion drops below half a pixel, so the field snaps back to a clean line rather than an approximation of one.
Typing grows the field: the tip is pushed along its own last direction by exactly the overflow, clamped inside the viewport. Each keystroke also adds six pixels of stroke weight that decays by a factor of 0.78 every sixteen milliseconds, so the field breathes as you write. Validation recolors the entire stroke green or red. Submit has three modes: a button parked at the tip and rotated along the final direction vector, a button that travels the whole path from tip back to origin over seven hundred milliseconds on a cubic ease out, and a pull mode where you have to physically stretch the field past six hundred and twenty pixels of total length before releasing fires it. Shapes normalize into a unit box for localStorage or encode into the URL hash to share.

04 — Letras saltarinas, springy type

Type at eleven percent of viewport width. Every character enters on a two hundred and forty millisecond keyframe that starts at eight pixels down and sixty percent scale, overshoots at the sixty percent mark to four pixels up and a hundred and eight percent, then settles. The curve is cubic-bezier with a control point at 1.4, which is the entire reason it feels sprung rather than eased.
Each keystroke also bursts emoji from the position of the character that just landed. Count per key, size, push force, gravity, bounce, spin, persistence and click sound are all live sliders, with six emoji sets plus a field to paste your own. The caret is an inline span animated on a two step timing function so it snaps on and off instead of fading. Everything is driven by a hidden offscreen input so mobile keyboards and IME composition work correctly, and any printable keypress anywhere on the page refocuses it.

0 likes · 0 views · Nov 28, 2026

Four interactive type experiments where motion carries meaning: a paragraph you pull like rope, text lit from below and a form field you stretch.

Tags