JS1k: The JavaScript code golfing competition

2017 - It's like magic

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 March 2017 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! Also see the intro by p01.


Together the hand picked jury will pick the top 10. They are a mix of JavaScripters and demo sceners.

Martin Kleppe

Martin went beyond the known limits of JavaScript many times. He is well known for his work like JSFuck, the spinning Globe in 1K, 雨, Invisible Code or Aurebesh.js. Now he talks at conferences around the world about "Creative Coding" – but still remembers, that JS1k is where he grew up.

@aemkei aem1k.com

Ruth John

Ruth is a web technologist and Google Developer Expert. She likes to educate people about new web technologies and inspire them to try them, coming up with exciting and engaging ways to use them. She’s a founding member of { Live: JS }, a collective of audio and visual artists that solely rely on JavaScript to create their performances. Her favourite things include interactive audio/visual installations and 80s cartoons, usually at the same time!

@rumyra rumyrashead.com

Ada Rose Edwards

Ada Rose Edwards is a Senior Engineer and Web Developer Advocate at Samsung Research UK. Currently focusing on Progressive Web Apps and bringing Virtual Reality to the Web.

@lady_ada_king ada.is

Ingvar Stepanyan

Obsessed D2D programmer (parsers, compilers, tools & specs), speaker and performance engineer. Currently speeding your code up at Cloudflare.

@rreverser rreverser.com


A competition has to have prizes. Below you see an overview of the prizes and who offered them.

80 EUR

Peter van der Zee — Besides spending hours on end maintaining this website, he's also a JavaScript freelancer. Get in touch at c80.nl!


50 USD

Andrzej Mazur — HTML5 game developer from Enclave Games who organizes js13kGames compo and sends the Gamedev.js Weekly newsletter.



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


By Mathieu 'p01' Henri
( @p01, website )

Audio Visual LIVE coding environment for the Twitter generation.

#2: Solar System Game

By Viktor Kovacs
( website )

One click to place new planet, another click to define speed and direction. Try to create as many orbiting planets as you can.

#3: Leap of Faith

By Rebecca
( @veubeke, website )

Controls: left and right arrow keys to move, up to levitate.


By Mathieu 'p01' Henri
( @p01, website )

Abracadabra - Spook at the wizard library

#5: Game

By RasmusErik Voel Jensen
( website )

#6: pure js ray tracer

By Igor Sbitnev
( @ISbitnev )

Pure javascript raytracer, without WebGL, completely software rendering.

#7: Mini Shadertoy

By The Codegolf Team

Create WebGL shaders, share them via URLs, and see the result live! Inputs: iResolution, iGlobalTime, iTimeDelta, iFrame, iMouse, iDate. Double-click for fullscreen.

#8: Can I haz 1Karrot?

( @MaximeEuziere, website )

The magician's rabbit has escaped the stage with its hat and is looking for his carrot in a strange forest... Move with arrows / WASD / ZQSD. Read the demo details if it looks bad!

#9: Watercolor artist

By Siorki
( @Siorki )

The artist is busy painting a lavender field, but give him any other model (upload an image file) and he'll immediately start working on it.

#10: Stars

By Josep del Rio
( @joseprio, website )

Use your mouse to rotate the stars and reveal the hidden images