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

Check out demos from previous editions too! 2010 , 2010 , 2011 , 2012 , 2013 , 2014 , 2015 , 2016 , 2017 , 2018


Fourier Transform

By Sergey Chernykh
( @sergonaut, website )

Draw your doodle in one stroke and the script will convert it in a set of sinusoids represented on your screen as moving circles.


Guitar synth

By Frederic Charette
( @fed135 )

A guitar synth. Use the keyboard to play the frets.


MiniSynth

By xem
( @maximeeuziere, website )

A 3-octave piano & guitar synthesizer with adjustable note length


FlameJS

By Wim van Iersel
( @banaan666 )

Remake of an Assembly/C demo I created XX years ago. Move you mouse around to draw.


sub👏2👏pewdiepie👏

By Richard Sudaryono
( @gamehelp16, website )

👏SUBSCRIBE👏TO👏PEWDIEPIE👏NOW


Space Fighter Revisited

By Frederic Charette
( @fed135 )

In this new episode, our little ship must now face waves of ennemies. If one gets too close, it's game over. Use the keyboard arrows to rotate and spacebar to shoot!


press x to win!

By bga_
( @bga_ )


flux

By Keith Clark
( @keithclarkcouk, website )

A multi-part demo made up of 7 scenes and a soundtrack.


Archipelago

By Jack Oatley
( @f_oatley, website )

Renders and animates an island scene.


Moon

By K.Chplr
( @kchplr, website )

Procedurally generate a black and white 2D planet/moon in GLSL. A new one is generated every 10 seconds.


Rainbow Jumping beans

By Spencer Brimley
( website )

Click to spawn beans and watch the show!


Solar System

By Nick Watton
( website )

Model of the sun and 4 inner planets with moons, as they X the sky. Sizes, distances & speeds are approximately correct.


X

By Felipe Alfonso
( @bitnenfer, website )

I wanted to make something with an X. This is a very simple ray tracer using sdf. I've added soft shadows and specular reflections.


SMB1-1k

By xem
( @maximeeuziere, website )

A playable demake of the world 1-1 of Super Mario Bros on NES. Play with arrow keys. You die by touching the enemy or falling in a pit. Wou win by touching the flag. Video: https://twitter.com/MaximeE…


Orbit X

By Nick Watton
( website )

Orbital system, making emergent patterns. Watch for the X.


Fruit Crush Saga

By Josep del Rio
( @joseprio, website )

Use your mouse to select and swap adjacent fruits, and make groups of 3 or more in line to gain points. With persistent high score.


Boxing 1K

By Jason Plackey
( website )

A tribute to the Atari 2600/Activision classic: Boxing. Arrow keys to move, Z and X to swing.


Yars 1K

By Jason Plackey
( website )

A tribute to another Activision classic: Yars' Revenge. Arrow keys move, space shoots and launches the cannon.


Sharked

By Jason Plackey
( website )

Fish the rough waters with a couple of cold ones as you avoid the sharks. Hook a shark or run out of beer, and you're done. Up and down arrows to cast and reel in your line. Requires Unicode 9.0 (2016…


Draw it back.

By Patrice CHASSAING
( website )

Draw your background image. Right-Click on the single element (black borders square upon the clean button) to save it as an image ...


PBR Spheres

By Felipe Alfonso
( @bitnenfer, website )

This is an implementation of basic PBR materials. The X coordinate defines the roughness of material and the Y defines how metallic it is. The implementation is based of Epic Games presentation of 201…


Planet Defense

By K.Chplr
( @kchplr, website )

Simple cartoonish game. Shoot all the meteorites with your turret before they reach the planet. Arrow keys to move the turret left and right, X to shoot, R to restart when the game is over.


Xplode

By Masayoshi Sugimoto

Simulation of soap bubbles. Click to interact.


Emojysics!

By xem
( @maximeeuziere, website )

A 2D physics engine featuring emoji! Click to add an emoji, double-click to add a fixed circle. Video: https://twitter.com/MaximeEuziere/status/1092330191869931521


Moto1kross

By Chris Glover
( @mad_maw )

Driving game, catch your arch-rival!


Planet flyby

By Csala Bálint
( @BalintCsala )

A simple infinite runner. Use your mouse or touch the screen to change the position of the ship. Avoid the asteroids


Nyan Cat 2.0

By Josep del Rio
( @joseprio, website )

Remake of a demo I submitted back in 2014, with added stars: https://js1k.com/2014-dragons/demo/1904 Original: https://youtu.be/QH2-TGUlwu4