Competition rules 2016
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. When in doubt, ask. 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 13th, 23:59 CET
Form submission automatically closes March 13th 2016, midnight CET (Central European Time, that's GMT+1).
Must work in at least two common desktop browsers
Two of: Chromium, Firefox, Edge, and Safari. And at least Chromium or Firefox so I can check under linux. Mobile support is nice but not required.
ES6 is not allowed this year. Support is too lacking. Probably next year.
Versions: Chrome=48, Firefox=43, Edge=13, Safari=9.
Theme is optional
It is only a suggestion for inspiration. If you don't like the theme 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.