A classic Pico-8 tootcart/tweetcart motif is to render flames. For this tootcart I wanted to create realistic looking flames, using Entropy Locking to achieve the desired effect. For this generator, the default starting seed is always "6", which creates the effect I intended. To see how other seeds (with different Entropy Locks, so to speak) render the flames, just click/tap the screen to generate a new random outcome. Some rare outcomes can be quite bizarre.
This piece is a companion piece to a previous tweetcart I made, called "BLUE": https://teia.art/objkt/390303
Source Code (351 Characters):
_set_fps(60)poke(0x5f2d, 1)r=rnd
s=6srand(s)cls()x=64y=64?"\^!5f10000β1π<67β₯:9μπ
ΎοΈ8β"
function g(c)if(c==0)return r({0,0,0,15})
return r({c-1,c,c+1})end
::_::for i=0,200do
if(r()>.9 and r()>.9)srand(s)
x+=r({r(10),-r(10)})y+=r({-r(10)})x%=128y%=128c=pget(x,y)pset(x+r({-1,0,1}),y+r({-1,-1,0}),g(c))end
circ(64,64,32,7)
if(stat(34)==1)s=r(-1)cls()
goto _
License: CC0