by @chenglou/pretext - DOM-free text layout engine
Text dynamically reflows around your mouse cursor. Move your mouse to see thousands of characters re-layout in real-time at 120fps.
Shrink-wrap chat bubbles that perfectly fit their content width - a classic CSS pain point solved elegantly with Pretext measurement.
Text rendered on Canvas with a dynamic sine wave distortion. Each character is individually positioned using Pretext's line layout data.
Words fall from the sky with gravity and stack up at the bottom. Click to launch them back up. Pretext measures each word for pixel-perfect collision.
Typing game! Words fall from the sky — type them to destroy them before they reach the bottom. Combo system, levels, and particle explosions.
Text particles dance to synthesized music! Three genres (Electronic/Jazz/Ambient) and three visualization modes (Fountain/Ring/Rain). Beat detection drives particle emission.