Competition rules 2019
The rules are simple:
Submissions may be up to 1024 bytes
Externals are strictly forbidden
Must work current generation browsers
Minification and hacks allowed
But just to be sure:
Size limit is 1024 bytes
A byte is 8 bits. The count could be unequal to the character count due to various encoding schemes. The server will enforce this.
Use common sense.
getUserMedia is NOT allowed. File inputs must be optional, not mandatory to run the demo. Otherwise, when in doubt, just ask me. If something obviously requires external input to display its functionality demo I will notify you and reject it.
Must work as is in the provided shim
There is one shim for all demos. It features the following. ("optional" means you can configure it when submitting your demo)
- Exposes the
window.b, the canvas 2d or 3d context in
window.c, and the
canvas is optional and fullscreen by default, configurable in submit form
- WebGL shim (same as last year) and 3d context are also configurable
- calling the demo restart function (
top.reload()), is exactly the same as pressing the reload button and reinitialize the iframe
- normalization of vendor prefixed API's (please notify me if something needs unprefixing/normalization)
May not escape the iframe
top.reload(). You're allowed to adjust the url hash as long as you don't reload the page.
Must be received before March 31st, 23:59 GMT
Form submission automatically closes in April GMT (that's London, UK time).
Must work in at least two common desktop browsers
Must work in Chromium and Firefox. Mobile support is nice but not required.
ES6+ is allowed for as far as browsers support it.
Versions: Chrome=72, Firefox=65.
The emoji's in linux are black and white! I make the thumbs in linux.
Theme is optional
"X" is only a suggestion for inspiration. If you don't like it or had something else in mind by all means go for it.
When in doubt: I decide
And if it concerns an interpretation of the rules I will consult the judges on a verdict.