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

26 lines
619 B
Markdown

{{{
"planted": "11/7/2020",
"repotted": "1/4/2026",
"nobreak": "true"
}}}
* Islands! This was the originally planned island generation for "Islehopper", but I had to cut most of it due to running out of space :( (source in replies)
#tweetcart #tweetjam #pico8
![](media/11_7_2020_2.gif)
<div class="code"><p>
pal({[0]=12,15,143,138,11,139,3,131,132,5,6,7},1)cls()f=circfill
_=128n=rnd
q=cos
u=sin
for i=0,5do
a=n(_)b=n(_)c=a+q(n())*16d=b+u(n())*16r=n(9)+8s=n(8)for i=1,9do
f(a,b,r,i)f(c,d,s)r-=n(4)s-=n()end
end
for i=0,⧗ do
x=n(_)y=n(_)f(x,y,1,pget(x,y))end
::_::
if(t()>1)run()
goto _
</p></div>