hotn-gay-digital-garden/twitter/tweets/11_26_2020_3.md
2026-02-15 21:39:13 -06:00

31 lines
No EOL
885 B
Markdown

{{{
"planted": "11/26/2020",
"repotted": "1/4/2026",
"nobreak": "true"
}}}
* I made a conjoined #tweetcart! I joined the ideas of randomized mazes and color wars to make a cool cart, and an *extremely* compact one to go along with it! I encourage anyone with experience to look at the code (in replies), I think there's a few neat tricks in there. #pico8
![](media/11_26_2020_3.gif)
<div class="code"><p>
cls()w=128r=rnd
for i=0,99do
?1,r(w),r(w),i|8
end
for i=0,999do
?chr(-r(2)),i%22*6,i\22*4,7
end::_::x=r(w)\1*6y=r(w)\1*4
?"◆",x,y,0
?chr(-r(2)),x,y,7
for i=0,99do
x=r(w)y=r(w)k=pget(x,y)if k>7then
for d=0,1,.25do
a=x+cos(d)b=y+sin(d)
if(pget(a,b)!=7)pset(a,b,k)end
end
end
goto _
</p></div>
*gardener's note: I can't put my finger on it, but the way this tweet is written makes me sound crazy. I hadn't quite fixed how repetitive my word choice can be at times.*