
Annual javascript golfing competition
Create a javascript/shader program that has 1024 bytes or less and make it do something cool. See the rules for details and the existing demos for some cool examples. Entry is free, so give it a try, it's really fun!
COMPETITION IS CLOSED - STARTS ON JULY 1
Timeline
- • 1st of July - submissions are open
- • 15th of July - deadline, submissions end and rating is allowed
- • 1st of August - rating session ends
- • A few days later - results & winners are published
Counter:
Rules
- • Your code must have a maximum of 1 KiB of code
- • No malicious/harmful code allowed
- • It's not allowed to extract personal data from users
- • No external files allowed (external scripts and images will be automatically blocked)
- • Do not share your private participant key
- • You should also upload a readable (and commented) version of your code to help people understand it
Be careful, you will get banned for malicious/harmful and inappropiate content
We analyze the code before publishing the demo, so everything will be safe
How it works
- • People submit their projects when the contest is open
- • Participants rate other projects using a secret key to prove they are participants
- • The person with the highest rating in each category gets the fabulous #1 place
- • 1024 pennies (¢) will go to the top project of each category via PayPal. Please donate to keep this competition alive and to pay the winners
Fun fact: rate other projects with seriousness or you will end up banned
Demo categories & shim details
Classic Canvas Mode Download shim
- • a = the canvas element
- • b = the body element
- • c = the 2d context
- • d = the document element
P5js demo Download shim
- • The p5js library will be used in your demo (p5.sound isn't included)
- • You only need to submit the script, including setup(), draw() and the other stuff
- • Here's the documentation: https://p5js.org/get-started/
Shader demo Download shim
- • Write your entry like a shadertoy demo (WebGL1 / GLSL ES 1.0 only)
- • Canvas is responsive but its ratio is fixed: 16/9
- • Shader inputs: iResolution (w, h), iTime (float), iTimeDelta (float), iFrame (int), iMouse (x, y, clickx, clicky), iDate: float
No shim
- • There is actually no shim here. You start from scratch. (anything is allowed (2D, 3D, canvas, no canvas, etc)
Note: some chars take more than 1 byte2 bytes for chars U+80 to U+7FF, 3 bytes for chars U+800 to U+FFFF, 4 bytes for chars U+FFFF to U+10FFFF, when encoded in UTF-8
Code Minificators
(from js13kgames resources)
Tutorials
(from js13kgames resources)
Sponsored by