This video showcases a re-implementation of the classic Bell Labs "Blit crabs" program on the Inferno operating system. The program features small, pixel-eating entities that directly interact with and consume the screen. These "crabs" reproduce by consuming dark pixels, move via a random walk, and can even "eat" each other. A key mechanic involves user interaction: triggering a screen redraw causes the crabs in the redrawn area to "die," offering a method of control. However, if redraws are insufficient, the crabs will multiply and consume the entire display, especially in areas that cannot be redrawn. The project, written in approximately 200 lines of Limbo code, demonstrates direct screen access on Inferno and explores potential for multi-species ecological simulations.
Exploring the Inferno "Blit Crabs": A Digital Ecosystem on Your Screen
0:00 Reimplementation of "Blit Crabs": The speaker describes a re-implementation of the classic "Blit crabs" concept from a Bell Labs technical report, now running on the Inferno operating system.
0:16 Direct Screen Interaction: Unlike modern operating systems with windowing metaphors, Inferno allows the program direct, full-screen access, enabling the "crabs" to interact directly with the entire display.
0:26 Core Mechanics - Eating and Reproduction: The "crabs" are small entities that consume dark pixels. When a dark pixel is eaten, the crab reproduces, generating new entities.
0:35 Movement and Interaction: Crabs perform a random walk across the screen and can consume not only pixels but also other crabs.
0:39 User Control via Redraws: A crucial game mechanic involves screen redraws. If the user triggers a redraw (e.g., by moving a window), the crabs within the redrawn area "die," acting as a way to clear them.
0:48 Screen Consumption Threat: If redraws are not triggered fast enough, the crabs will become too numerous and consume the entire screen. Areas that cannot be redrawn by the user are particularly vulnerable.
1:04 Future Expansion and Codebase Size: The concept has potential for expansion, such as introducing multiple species of crabs that interact with and consume one another. The current implementation is notably compact, consisting of approximately 200 lines of Limbo code.
1:09 Upcoming Demonstration: The speaker indicates that a live demonstration or interactive session with the program is planned.