emergence III [TTC S01T08]
About
The eighth tweetcart for the Tweetcart Token Club (TTC). This piece is a Pico-8 tweetcart—the entire source code fits into a single tweet (280 characters).
It's also a generator generator. Each minted piece is itself a generator that has its own unique starting position in an insanely massive linear sequence of outputs (determined by the random seed).
Entropy Locking (Originally "Seed Looping")
This piece demonstrates the technique called entropy locking, originally referred to as "seed looping" in this piece's documentation.
The technique is best exemplified by commenting out these two lines:
if(r()>.5)p(s)
if(r()>.9)p(s)
With those lines commented out, random lines are generated in a highly noisy way. This is maximum entropy.
If you try different seeds, you technically get a unique animation, however, to a human they all look the same.
But by introducing the entropy locking (probabilistic seed reset), you "catch" individual loops and they become discernible. The system finds its own equilibrium—it creates patterns that repeat in ways only predictable to itself, not to the human observer.
Author's Notes
This piece was featured in the Creative Code Toronto talk on entropy locking (January 25, 2025) as the primary demonstration of the technique. The talk includes live code interaction and real-time threshold adjustments showing how entropy locking creates visual diversity from simple rules.
Part of Tweetcart Token Club Series 1. Snapshot was taken on June 1st 2022 of holders of the Tweetcart Token Club utility token.
Interactive via Pico-8 Education Edition.
Technical Notes
Tweetcart Source Code (280 characters)
r=rnd
p=srand
pal({-8,8,9,10,11,12,2},1)cls()s=r(-1)p(s)b=0c=1x=-8y=-8poke(0x5f2d,1)::_::
if(r()>.5)p(s)
if(r()>.9)p(s)
x+=r(8)y+=r(8)b-=.0005c+=r(.2)x%=136y%=136line(x,y,x+r(6)-6,y+r(6)-6,c%8)
if(stat(34)==1and 0>b)s+=1cls()b=9
if(stat(34)==2and 0>b)b=9extcmd("video")
goto _
Controls
- Left click - Get next loop in the generator sequence
- Right click - Save a gif of the last 16 seconds
Entropy Locking Lines
The two critical lines that implement entropy locking:
if(r()>.5)p(s)
if(r()>.9)p(s)
These create a multi-gate pattern where the seed resets probabilistically, catching emergent loops and making them visible.