Show HN: Bitwise Liminal – A Short Film in 256 Bytes of Code
21–30 of 69 posts
Re: Show HN: Bitwise Liminal – A Short Film in 256 Bytes of Code
#22I can't stress enough how much I admire that it is true 256 bytes, instead of usual 1k game jams, where submissions are presented as zipped, gzipped, and postfixed, and not including assets to fit the criteria. Hats off.
Is "import gameassets" allowed in those competitions? On a side note "import GOTO" works in python :)
Never heard of this, and it doesn't work on my interpreter (tested with both 2.7 and 3.11). Are you sure it's not a third party package?
Re: Show HN: Bitwise Liminal – A Short Film in 256 Bytes of Code
#23Earlier quoted context omitted.
Is "import gameassets" allowed in those competitions? On a side note "import GOTO" works in python :)
> On a side note "import GOTO" works in python :) Never heard of this, and it doesn't work on my interpreter (tested with both 2.7 and 3.11). Are you sure it's not a third party package?
The feature has been implemented a few times as a joke (more or less), e.g. https://github.com/snoack/python-goto/, but that one at least hasn't been updated for 5 years.
Re: Show HN: Bitwise Liminal – A Short Film in 256 Bytes of Code
#24A 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!
Re: Show HN: Bitwise Liminal – A Short Film in 256 Bytes of Code
#25Re: Show HN: Bitwise Liminal – A Short Film in 256 Bytes of Code
#26Re: Show HN: Bitwise Liminal – A Short Film in 256 Bytes of Code
#27Stuff like this makes me believe that the entirety of life really could be encoded in DNA. I've read that if you gzipped the human genome, the file would be about 4MB, which intuitively seems too small to represent a human. But if this behavior can emerge from 256 bytes, then clearly my intuition is off.
Re: Show HN: Bitwise Liminal – A Short Film in 256 Bytes of Code
#28Stuff like this makes me believe that the entirety of life really could be encoded in DNA. I've read that if you gzipped the human genome, the file would be about 4MB, which intuitively seems too small to represent a human. But if this behavior can emerge from 256 bytes, then clearly my intuition is off.
Re: Show HN: Bitwise Liminal – A Short Film in 256 Bytes of Code
#29I can't stress enough how much I admire that it is true 256 bytes, instead of usual 1k game jams, where submissions are presented as zipped, gzipped, and postfixed, and not including assets to fit the criteria. Hats off.
Re: Show HN: Bitwise Liminal – A Short Film in 256 Bytes of Code
#30A 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!
It is possible to save a little more space by putting it in the canvas onclick event.