VOGONS


First post, by orac81

User metadata
Rank Newbie
Rank
Newbie

LIFE1D

https://github.com/orac81/miniapples/raw/refs … main/life1d.zip

The attachment dlife1d_010.png is no longer available

This is a version of the classic 1D Cellular Automata pattern generator, for 8086 DOS/VGA, in just 71 Bytes!
This is an old-school (and well known) effect, but it uses a different approach to most other programs I have seen, in particular I think using MOD 5 generates interesting graphics.

The attachment dlife1d_007.png is no longer available

When running, hit SPACE for next pattern, ESC to quit. (CLR or MODE 80 after)
See file "life1d.txt" for more details.

There is an SDL2/linux version in the zip file too. See "sdl_life" folder and "sdl_life1d.txt" for details.

The attachment life_screen6.png is no longer available

There is a Turbo-C (TCTINY lib) version of the code (180 bytes) in the TC folder, and my original 1992 shareware version, which actually has a CGA option.
Also a load of pix in the "screenshot" folder.

I expect someone on pouet will tell me it can be done in 32 bytes!

https://github.com/orac81