Lurker News
A Short Film in 256 Bytes of Code

Programmed by KilledByAPixel Presented at Lovebyte Party 2024
...
I found an old VHS tape at a yard sale. It was labeled "Bitwise Liminal" in sharpie. But when I watched the video it was only static.
Then I started having vivid and... unsettling dreams. Also I couldn't stop thinking about that weird VHS tape. After researching I learned it was a digital backup. Using some special software I recovered the data. To my shock, it was a 256 byte program...
With trembling hands I opened it in a web browser. Strange. This reminds me of the dreams I've been having. Now I don't need to sleep anymore. I just keep watching.
...
l ɐ u ᴉ ɯ ᴉ ⅂ ǝ s ᴉ ʍ ʇ ᴉ ᗺ

Comments (61) 30 threads

Show all comments

Showing thread 5 of 30

javajosh3 replies#
A minor note: this is the first time I've seen an svg embedded in a canvas purely for it's onload event. Within this context the canvas is referred to by its (bare) id. How strange and wonderful!
kilroy123#
I noticed and thought the same! Pretty cool.
cdelsolar1 reply#
Why is that allowed? I didn’t realize one could do that in js.
cal85#
If you nest any valid elements inside an unknown element like ..., browsers just ignore the invalid wrapper element but still display the nested children. This fact is exploited by spec authors when introducing new tags to allow backwards compatibility: elements like canvas, video and audio all specifically allow optional children that are automatically hidden - but they won't be hidden in older browsers that don't know about the new elements. This allows you to easily define arbitrary fallback content for older browsers that don't support the new elements, just by nesting children in them.
KilledByAPixel#
It turns out that packing it into an svg onload is a tiny bit smaller then using a script tag!

It is possible to save a little more space by putting it in the canvas onclick event.