January 9, 2026
Micro code, mega chaos
JavaScript Demos in 140 Characters
Tiny code, big drama: are 140‑char ‘dweets’ genius or cheating
TLDR: A site lets people create visual JavaScript art in 140 characters, and it’s dazzling. The comments clash over whether Unicode and “eval” tricks are clever or cheating, with calls for new rules and more shortcuts—while fans cheer that Dwitter’s vibe and creativity have outlived Twitter.
The web is buzzing over dwitter.net, the tiny playground where artists squeeze JavaScript into 140 characters and make it dance 60 times per second. Think code haiku: a single function, helpers like S and C (sine and cosine), and a canvas that turns whispers of math into visuals. Admirers are swooning over the ingenuity, but the comments lit up with controversy.
Enter the “eval/unescape/escape” trick—using wide Unicode characters to sneak in extra code that expands after decoding. Some call it creativity; others call it a loophole. One user sighed that it “feels a bit like cheating,” even while admitting the results slap. Another broke down the “metagame,” complaining that character counting encourages hacks and asking for better rules. A third camp wants “eval” banned entirely and more built‑ins added, demanding shortcuts for long names, like the paint‑mode setting “globalCompositeOperation.”
Nostalgia hit hard when dang linked classic posts like “A Stargate in 140 chars,” reminding everyone this micro‑art obsession has deep roots. Meanwhile, jokers flexed their code’s “140/140” like gym PRs, and someone dropped the line of the day: “Dwitter outlived Twitter. Goated site.” The vibe? Equal parts awe, rule‑lawyering, and meme energy—tiny code, huge feelings.
Key Points
- •Dweets are JavaScript demos limited to 140 characters on dwitter.net.
- •The core function `u(t)` runs at 60 frames per second, with `t` as elapsed time in seconds.
- •Shorthands `S`, `C`, `T` map to `Math.sin`, `Math.cos`, and `Math.tan` to save characters.
- •Rendering uses a 1920x1080 HTML5 canvas (`c`) and its 2D context (`x`).
- •A helper `R` function generates rgba color strings; posting requires user login or registration.