What is a tenk?
A tenk (from "10k") is a single JavaScript file of up to 10 KB: 10,240 bytes.
That's smaller than most website logos, yet it's enough for generative art, particle systems, tiny games,
3D scenes, physics toys, fractals and demoscene-style effects. Every tenk draws onto a full-size
<canvas> and runs live in your browser, right in the feed.
Like TikTok, but for JavaScript
Short-video apps proved that an endless vertical feed is a brilliant way to discover creative work. TenkJS brings that format to code. Instead of watching a recording, you're running the real thing: tap, drag, or use your keyboard, and the tenk responds.
- Swipe or scroll to move through the feed, or use ↑ ↓ on a keyboard.
- Like the tenks you love (L) and replay them from the start (R).
- Latest shows new tenks as they land; Trending shows what everyone is liking right now.
- Share any tenk with its own link, so friends land straight on it.
- View the source: every tenk is readable JavaScript, so you can learn how it was made.
Why 10 KB?
Constraints spark creativity. The 10 KB limit has a long history in the demoscene and in code-golf challenges such as JS1k and js13kGames, where developers squeeze astonishing results into a handful of bytes. A small limit keeps every tenk quick to load, quick to read, and fair: a first-time coder and a seasoned graphics programmer get exactly the same 10k budget.
Safe by design
Every tenk runs in a locked-down sandbox, isolated from the TenkJS page and from your browser data. Tenks can't make network requests, read cookies or storage, open popups, or play sound. Every upload is checked automatically before it goes live, and our content policy keeps the feed friendly for everyone.
Who is TenkJS for?
- Creative coders who want an audience for their canvas sketches and JavaScript experiments.
- Learners looking for bite-sized, real-world JavaScript examples to read and remix.
- Demosceners and code golfers who love making a lot out of a little.
- Anyone who wants a few minutes of surprising, interactive things to play with.
Join the JavaScript social network
You don't need an account to post. Upload one .js file, give it a title and a tag or two,
and confirm your email. Read how to submit a tenk, or jump straight to the
submit page.