home.social

#sizecoding — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #sizecoding, aggregated by home.social.

fetched live
  1. [Перевод] wake up: демо в 16 байтах

    В детстве я учился программированию на старом IBM PC с монохромным зелёным монитором, поэтому давно хотел создать программу для этой системы. За последние пятнадцать лет я написал более чем сотню небольших интро. В последнее время я был не так активен, но потрясающее интро «Rainbow Surf» автора Plex размером всего 16 байт мотивировало меня снова вернуться к старым наброскам и взяться за работу. Создание этой программы сопровождалось привычными экспериментами. Я развлекался с клеточными автоматами в графике и звуке, а также исследовал трюки sizecoding. В частности: а) полиморфные ассемблерные команды (наподобие add [bx+si],al , имеющую машинный код 0x0000 ) б) переход в середины команд для экономии байт и многократного использования опкодов. Из сотен мелких экспериментов мне приглянулся один, интересный одним только своим названием. Когда я дополнял всё это и избавился от лишнего, мне трудно было понять, что же происходит. Я чесал в затылке, глядя на простую формулу, оставшуюся после удаления код‑гольфингом кучи байт. Я и сам не ожидал, что объяснение этих считанных байт окажется настолько глубоким. В моём интро «M8trix» 2014 года по экрану уже бегали псевдослучайные буквы (в 8 байтах, а потом и в 7), но мне всегда было интересно, как добавить к ним красивый звук. Но хронологически в разработке «wakeup» я сначала занимался звуком. Хорошим подзаголовком к статье мог бы быть «16 байт, превращающие звук треугольника Серпинского в дождь символов из „Матрицы“». Примечание: на каждом такте времени новая строка треугольника Серпинского а) воспроизводится через динамик б) отрисовывается на экране с шагом 56. Можно ощутить движение, но не увидеть его, потому что оно имеет «ширину» 8192 пикселей, но одна строка символов состоит всего из 80 байт. Если бы экран был гораздо больше, то можно было бы увидеть треугольник. Или если не пропускать пиксели и рисовать и все одновременно, он тоже был бы виден.

    habr.com/ru/articles/1067818/

    #ассемблер #кодгольфинг #sizecoding #intro #demo #demoscene #демосцена

  2. █▓▒░ 𝗣𝗜𝗖𝗢⬩𝟭𝗞 𝗝𝗔𝗠 𝟮𝟬𝟮𝟲 ░▒▓█
    🌐 itch.io/jam/pico-1k-2026
    WHAT?
    👨‍💻 Make #Pico8 (or #Picotron) Games/Demos/Tools in ≤ 1KB
    WHEN?
    📅 SEP 1ˢᵗ-30ᵗʰ 2026
    Hope to see you at #Pico1k jam! 🤓

    #GameJam #Demoscene #TweetCart #Sizecoding

  3. █▓▒░ 𝗣𝗜𝗖𝗢⬩𝟭𝗞 𝗝𝗔𝗠 𝟮𝟬𝟮𝟲 ░▒▓█
    🌐 itch.io/jam/pico-1k-2026
    WHAT?
    👨‍💻 Make #Pico8 (or #Picotron) Games/Demos/Tools in ≤ 1KB
    WHEN?
    📅 SEP 1ˢᵗ-30ᵗʰ 2026
    Hope to see you at #Pico1k jam! 🤓

    #GameJam #Demoscene #TweetCart #Sizecoding

  4. It’s reallt funny packaging up your 4-kilobyte entry into a .zip file, when the screenshot .jpg you included for competition voting system online takes 100 times more disk space than the 3-minute music video that you wrote entirely in code! 😃

    #demoscene #sizecoding #4kintro

  5. It’s reallt funny packaging up your 4-kilobyte entry into a .zip file, when the screenshot .jpg you included for competition voting system online takes 100 times more disk space than the 3-minute music video that you wrote entirely in code! 😃

    #demoscene #sizecoding #4kintro

  6. Next week-end is Impulse 2026, organised in Porto by @psenough , Jeenio and @inercia associação.

    If I can find some time, I will try to send some ASCII or fantasy console stuff. Can't wait to see the releases that will be shown at this new party. More info there impulse.inercia.pt/en/

    #demoscene #demoparty #impulsedemoparty #inercia #pico8 #nanojammer #pixelart #asciiart #sizecoding

  7. Next week-end is Impulse 2026, organised in Porto by @psenough , Jeenio and @inercia associação.

    If I can find some time, I will try to send some ASCII or fantasy console stuff. Can't wait to see the releases that will be shown at this new party. More info there impulse.inercia.pt/en/

    #demoscene #demoparty #impulsedemoparty #inercia #pico8 #nanojammer #pixelart #asciiart #sizecoding

  8. :neofox_facepalm:
    I messed up my #sizecoding Makefile. Only noticed now when I compiled "wake up!", a 16 byte intro. The "stats" make target was showing the disassembly's size, not the binary size. I was afraid I was running out of space with my circle drawing code, but I'm only at 52 bytes instead of 900-ish. :neofox_laugh_sweat:
    cc: #theWorkshop

  9. :neofox_facepalm:
    I messed up my #sizecoding Makefile. Only noticed now when I compiled "wake up!", a 16 byte intro. The "stats" make target was showing the disassembly's size, not the binary size. I was afraid I was running out of space with my circle drawing code, but I'm only at 52 bytes instead of 900-ish. :neofox_laugh_sweat:
    cc: #theWorkshop

  10. Frigging Hell Mood did it again:

    cwd
    Z: add al,5
    X: int 10h
    out 61h,al
    test cl,ch
    mov ax,0x0c82
    loopnz X
    jmp short Z

    I dare you to run this in DOSBox!
    #demoscene #sizecoding

  11. Frigging Hell Mood did it again:

    cwd
    Z: add al,5
    X: int 10h
    out 61h,al
    test cl,ch
    mov ax,0x0c82
    loopnz X
    jmp short Z

    I dare you to run this in DOSBox!
    #demoscene #sizecoding

  12. @s0ftwave1662 Here i have posted some sample code for a 256-byte demo running on Linux. The source code contains very few comments.

    gitlab.com/metagrowing/demos

    32 Bit Assembler code that is able to run on 64 Bit Linux Distro.

    “Graphics” here refers to the ability of ESC sequences to change colors in the Linux terminal.

    “Sound” means the hardware beeper or the notification sound of a desktop manager.

    #sizecoding #MountainBytes

  13. @s0ftwave1662 Here i have posted some sample code for a 256-byte demo running on Linux. The source code contains very few comments.

    gitlab.com/metagrowing/demos

    32 Bit Assembler code that is able to run on 64 Bit Linux Distro.

    “Graphics” here refers to the ability of ESC sequences to change colors in the Linux terminal.

    “Sound” means the hardware beeper or the notification sound of a desktop manager.

    #sizecoding #MountainBytes

  14. Trying to learn some #DOS #sizecoding during lunch break. First mistake that qualifies as a happy little accident. :neofox_uwu:

    echo aACgB7ATzRCquM3M9+eI0PbgicOI8PbgAcOD+z596bAP6+U= | base64 -d > a.com
    dosbox a.com

    cc: #theWorkshop #theFoundry

  15. Trying to learn some #DOS #sizecoding during lunch break. First mistake that qualifies as a happy little accident. :neofox_uwu:

    echo aACgB7ATzRCquM3M9+eI0PbgicOI8PbgAcOD+z596bAP6+U= | base64 -d > a.com
    dosbox a.com

    cc: #theWorkshop #theFoundry

  16. New video: Let's Code MS DOS: 0x37 Rainbow Surf Analysis

    This year's Revision demoparty had a surprising winner in the 256 byte compo. It was Rainbow Surf by Plex/BionFX and it is only 16 bytes long. That is short, very short. In fact, here is the code: c4 04 48 ab 26 03 45 ae 26 03 05 c1 e8 02 eb f2. Let's dissect it!

    YouTube: Let's Code MS DOS: 0x37 Rainbow Surf Analysis
    youtu.be/FGf2LEAbdSg
    Makertube: makertube.net/w/hpE75cfisPMrmZ

    #letscode #msdos #sizecoding #demoscene

  17. New video: Let's Code MS DOS: 0x37 Rainbow Surf Analysis

    This year's Revision demoparty had a surprising winner in the 256 byte compo. It was Rainbow Surf by Plex/BionFX and it is only 16 bytes long. That is short, very short. In fact, here is the code: c4 04 48 ab 26 03 45 ae 26 03 05 c1 e8 02 eb f2. Let's dissect it!

    YouTube: Let's Code MS DOS: 0x37 Rainbow Surf Analysis
    youtu.be/FGf2LEAbdSg
    Makertube: makertube.net/w/hpE75cfisPMrmZ

    #letscode #msdos #sizecoding #demoscene

  18. New video for Patrons: Let's Code MS DOS 0x37: Rainbow Surf Analysis

    This year's Revision demoparty had a surprising winner in the 256 byte compo. It was Rainbow Surf by Plex/BionFX and it is only 16 bytes long. That is short, very short. In fact, here is the code: c4 04 48 ab 26 03 45 ae 26 03 05 c1 e8 02 eb f2. Let's dissect it!

    patreon.com/posts/lets-code-ms

    #retrocomputing #demoscene #sizecoding #msdos #letscode

  19. New video for Patrons: Let's Code MS DOS 0x37: Rainbow Surf Analysis

    This year's Revision demoparty had a surprising winner in the 256 byte compo. It was Rainbow Surf by Plex/BionFX and it is only 16 bytes long. That is short, very short. In fact, here is the code: c4 04 48 ab 26 03 45 ae 26 03 05 c1 e8 02 eb f2. Let's dissect it!

    patreon.com/posts/lets-code-ms

    #retrocomputing #demoscene #sizecoding #msdos #letscode

  20. To my #sizecoding bubble: How can I get some crappy random numbers on x86 IBM PC platforms? I am thinking about reading out a clock port... Or is there a minimal pseudeo RNG algorithm that takes only a handful of bytes? Doesn't have to be a GREAT random number source...

  21. To my #sizecoding bubble: How can I get some crappy random numbers on x86 IBM PC platforms? I am thinking about reading out a clock port... Or is there a minimal pseudeo RNG algorithm that takes only a handful of bytes? Doesn't have to be a GREAT random number source...

  22. A little Linux demoscene starter application I've written (C + GLSL):

    A C demo template. It makes an executable that's 7kb and can be shared to other systems.

    I've use my superformula SDF code from years on back.

    Uses _start syscalls and eschews the standard library in order to be that size.

    It also only uses libGL and libX11, that's it.

    That said: I have no idea how people manage to make 4k demos, ha.

    #demoscene #sizecoding #creativecoding

  23. A little Linux demoscene starter application I've written (C + GLSL):

    A C demo template. It makes an executable that's 7kb and can be shared to other systems.

    I've use my superformula SDF code from years on back.

    Uses _start syscalls and eschews the standard library in order to be that size.

    It also only uses libGL and libX11, that's it.

    That said: I have no idea how people manage to make 4k demos, ha.

    #demoscene #sizecoding #creativecoding

  24. For #ThrowbackThursday, here's an image I rendered in 2002 using POV-Ray. It was when I first got interested in #SizeCoding after seeing what others had been doing, so I tried to make as cool of a scene as I could using the shortest code possible (only 466 characters here). The original render was 1024x768, which was my monitor resolution at the time, and it took quite a while to complete. Now I can render it at 8000x6000 in a minute forty, which would have blown my mind back then.

    #POVray

  25. For #ThrowbackThursday, here's an image I rendered in 2002 using POV-Ray. It was when I first got interested in #SizeCoding after seeing what others had been doing, so I tried to make as cool of a scene as I could using the shortest code possible (only 466 characters here). The original render was 1024x768, which was my monitor resolution at the time, and it took quite a while to complete. Now I can render it at 8000x6000 in a minute forty, which would have blown my mind back then.

    #POVray

  26. I have repeatedly heard that COM files and 16-bit DOS are used for 256-byte size coding.

    How does this work on 64-bit Linux? The ELF64 header would require two-thirds of the space. Pointers are four times larger than on 16-bit systems....

    Here are my sources for 256-byte size coding on modern Linux:
    gitlab.com/metagrowing/demos

    Tools:
    nasm - the Netwide Assembler
    xz compressor

    #MountainBytes 2026. 5th place out of 8 in the PC Realtime Competition.

    #demoscene #sizecoding #linux #opensource

  27. I have repeatedly heard that COM files and 16-bit DOS are used for 256-byte size coding.

    How does this work on 64-bit Linux? The ELF64 header would require two-thirds of the space. Pointers are four times larger than on 16-bit systems....

    Here are my sources for 256-byte size coding on modern Linux:
    gitlab.com/metagrowing/demos

    Tools:
    nasm - the Netwide Assembler
    xz compressor

    #MountainBytes 2026. 5th place out of 8 in the PC Realtime Competition.

    #demoscene #sizecoding #linux #opensource

  28. My entry was shown that night at MountainBytes 2026. 5th place out of 8 in the PC Realtime Competition.

    A 256 bytes demo for Linux.
    ANSI escape sequences. Running in a terminal.

    It was my first release for a demo party. Pretty tense. I was only there remotely. Many thanks to @demonights .

    #demoscene #sizecoding #linux

  29. My entry was shown that night at MountainBytes 2026. 5th place out of 8 in the PC Realtime Competition.

    A 256 bytes demo for Linux.
    ANSI escape sequences. Running in a terminal.

    It was my first release for a demo party. Pretty tense. I was only there remotely. Many thanks to @demonights .

    #demoscene #sizecoding #linux

  30. Развлекаюсь, вжимая игру на WebAssembly в одно сообщение мессенджера

    Последние полгода ко мне приходили задачи, которые вынуждали покопаться в некоторых особенностях WebAssembly. Это, в свою очередь, подтолкнуло меня покодить на Си (чего я не делал сто лет) всякое, ориентируясь на WASM. А это уже натолкнуло меня на мысль: а не подойдёт ли связка JS+WebAssembly как инструмент для создания минифицированных проектов в духе демосцены? Короче, хоть я к демосцене никаким боком, но что мешает мне написать игрульку в сайз-факторе 4K? Исключительно for fun. Посмотреть что получилось

    habr.com/ru/articles/1004054/

    #JavaScrpt #C #WebAssembly #браузерные_игры #sizecoding #demoscene

  31. "The Thief's Journal"
    My fellow prisoners were moths. They danced frantically beneath the light, blinded by that dangerous urge to disregard the risks. Stupid bastards.

    source in a post below

    #pico8 #codeart #tweetcart #postcart #generative #sizecoding

  32. "The Thief's Journal"
    My fellow prisoners were moths. They danced frantically beneath the light, blinded by that dangerous urge to disregard the risks. Stupid bastards.

    source in a post below

    #pico8 #codeart #tweetcart #postcart #generative #sizecoding

  33. "Pattern Recognition"

    She’s at the screen and won’t let it go.
    "We have to split, kid. Now!"
    "Almost got it. It’s not random."
    "They'll lock down the zone any moment."
    "But I can see the pattern."
    "THIS ZONE IS OFF LIMITS!"

    #pico8 #codeart #tweetcart #postcart #generative #sizecoding #postpostcart

    source below

  34. "Pattern Recognition"

    She’s at the screen and won’t let it go.
    "We have to split, kid. Now!"
    "Almost got it. It’s not random."
    "They'll lock down the zone any moment."
    "But I can see the pattern."
    "THIS ZONE IS OFF LIMITS!"

    #pico8 #codeart #tweetcart #postcart #generative #sizecoding #postpostcart

    source below

  35. Call for Submissions – Taper 16: For Good Measure
    Taper, online literary magazine for tiny digital works, is seeking self-contained HTML5 pieces of digital poetry up to 2Kb for its 16th issue, For Good Measure. Works can explore measurement, scale, limits, counting, or any other theme you can compress into a tiny page. Submit
    taper.badquar.to/15/about.html #taper16 #html5 #epoetry #digitalpoetry #elit #electronicliterature #eloai #sizecoding #ezine #remix #collabs

  36. Taper 15 is live! You can check out my code poem here: taper.badquar.to/15/burning_th

    All of the entries in Taper are HTML and javascript with less than 2kb of source code.

    #sizecoding #proceduralgeneration