0xNyk / pretext-playground
PublicInteractive ASCII dragon playground built with @chenglou/pretext — text measurement without DOM reflow. Features physics-based letter interaction, fire breathing, 3D text tunnel, floating enemies, and a full control panel.
An interactive browser-based playground demo featuring an ASCII dragon interacting with physics-enabled multilingual text particles and various animated scenes.
How It Works
You stumble upon this fun interactive demo featuring an ASCII dragon flying through text on GitHub.
With a quick setup on your computer, the playground opens in your web browser, ready to play.
Move your mouse around colorful animated text scenes like raining characters or waving words that respond to your cursor.
Switch to the dragon scene where your cursor controls a fiery ASCII beast that pushes letters around and breathes fire on click.
Press P to open the control panel and adjust dragon size, fire power, chaos level, or try presets like Gentle or Chaos.
Shoot floating enemies with fire breath to rack up points while letters scatter and spring back into place.
Enjoy buttery 120fps physics as text particles dance, tunnel backgrounds spin, and your dragon rules the screen.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.