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

26 lines
640 B
Markdown

{{{
"planted": "11/13/2020",
"repotted": "1/4/2026",
"nobreak": "true"
}}}
* I really love math-based #tweetcarts, so here's some constant width triangle trickery! The shapes are always touching those directly adjacent to them in their level.
(source in replies)
#pico8 #tweetjam
![](media/11_13_2020.gif)
<div class="code"><p>
camera(-64,-64)s=sin
function a(x,y,r,sd,d,o)p=6.3*abs(r)for i=sd,d,1/p do
pset(x+c(i)*r,y+s(i)*r,o)end
end
::_::cls()c=cos
m=t()/8for r=0,6do
for m=m,m+1,1/r/6do
x=c(-m)*r*14y=s(-m)*r*14for m=0,1,1/3do
e=x+c(m)*8f=y+s(m)*8a(e,f,-13.5,m-1/12,m+1/12,r+8)end
end
end
flip()goto _
</p></div>