JS1k: The JavaScript code golfing competition

2019 - Ten Year Js1k!

Home   Rules   Demos   Submit Mailing list  |  Update demo meta data  |  The /r/js1k subreddit JS1k, the yearly JS code golfing competition

Create some JavaScript program with a max size of 1k and make it do something cool. Submit it before April 2019 for fame and a chance of a prize! See rules for details and existing demos for some cool examples. Entry is free and the rules are simple. Give it a try, it"s really fun!


This year there are a lot of judges who will combined construct the final top 10.

Javier Roman



Ioannis Cherouvim



Damien Seguin



Diego F. Goberna



Frederic Charette



Ateş Göral



Graham Licence



Sugendran Ganess



Josep del Río



Martin Kleppe



Claudio Cañete



Igor Sbitnev




Zoli Kahan



Bálint Csala


Petter Nyman



Philippe Deschaseaux




What's a competition if you can't win anything? Here are the prizes and the awesome companies or people that brought them to you... (Cash paid through paypal or IBAN bank transfer only)

50$ from you?

Ask — What's 50 bucks for any company, really? Ask your boss, ask yourself, ask a friend, donate some money and get everlasting fame on js1k.com


10k ¥

van der Zee — When I suggested I might put up 10k as a prize, my wife asked whether I meant Yen :p So here you go (~80 eur)


100 usd

Shutterstock — Incredible content. Endless possibilities. Shutterstock is a world-leading stock asset provider with over 250 million images, videos, and music tracks. Join our team and help us shape the future of creative storytelling


50 usd

Jordan Eldredge — In appreciation for all the JavaScript mad scientists


50 usd

Diego Goberna — In appreciation for all the participants and Peter's dedication all these years


50 usd

Aruma Studios — We are an indie studio making video games at the intersection between narrative and puzzles. We love making browser games, and js1k is a great source of inspiration. Thanks Peter and all the participants!


2^6 cad

Ateş Göral — Why put up $50 when there's the nice round number $64? (~50 usd) In appreciation of this fun compo keeping the community inspired and engaged all these years!



Below are the final top10 demos for this compo. Check the overview page to see them all!

pure The Digit Dilemma

By Frank Force
( @KilledByAPixel, website )

Push numbers until none are left. Arrow keys Move. Space is Undo.

canvas Xenon

By James Wright
( @jamesseanwright, website )

WARNING: has sound! Rotate your ship with the X key to collect Xs before your health runs out.

webgl i feel fine

By Alexander Timoshenko
( @t_vaeringjarson )

rotating tunnel

canvas webgl2 initial support

By Alexander Timoshenko
( @t_vaeringjarson )

stunning graphics, gpu sound right at your fingertips! likely you have to reload the page

pure Tiny Ski

By Frank Force
( @KilledByAPixel, website )

Ski for your life! Use arrow keys to move. Press enter to restart after dying.

canvas Verlet physics racing simulation

By Alfons Nilsson
( @TC5550_2, website )

I tried to make hill climb racing in 1024b

canvas 3D Grapher Calculator

By Lác Neobým Helkár

3D expression visualiser! use X, Y as coordinates, F as frame, x and y as mouse coordinates. Move with mouse

canvas Pixel Art Editor

By Rubén López
( @el_ryu, website )

Use palette and toolbar with the mouse or keys 1,2,3 for tools and 0 for the palette.

canvas X Dive

By Alexander Curtis
( @statenlogic, website )

Bring as many eggs as you can to the surface, and don't run out of air! Use arrow keys to move.

canvas ShadowBoX

By Jani Ylikangas
( @jylikangas, website )

The shadow box comes alive 10 past midnight. Watch out for the spooky owl!