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

24 lines
No EOL
657 B
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{{{
"planted": "10/28/2020",
"repotted": "1/4/2026",
"nobreak": "true"
}}}
* Recamán's sequence #tweetcart! I think this might've been done but I wanted to make it as well. Visuals based on Numberphile's video: https://youtu.be/FGC5TdIiT9U
(source in thread)
#pico8 #tweetjam
![](media/10_28_2020.gif)
<div class="code"><p>
a={[0]=0}s=0p={}cls(1)::_::
s=ceil(t()*2)
if(a[s])goto s
v=a[s-1]-s
if(v<=0or p[v])a[s]=a[s-1]+s else a[s]=v
::s::
d=t()%.5◆=(a[s]+a[s-1])r=a[s]-a[s-1]⬅️=64*(s%2)⧗=0▒=◆-cos(d)*r+2
if(r<0)r=-r ⧗=◆+cos(d)*r-2▒=128
clip(⧗,⬅,▒,64+⬅)circ(◆,64,r,7)p[a[s]]=1flip()
goto _
</p></div>