#tootcart — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #tootcart, aggregated by home.social.
-
f=64pal({0,1,140,12,13},1)::_::cls()for c=0,127do
p=(c>>6)+t()camera(0,sin(p)*5-f)for l=0,2do
s=sin(p+.07)+(l&1)*3+3h=s-s\1for j=-1,1,2do
fillp(h<.8and h>.2and 23130)line(c,mid(-f,f,j*(min(1,l)*abs(f-c)+(l&2)*16-16)),c,j*f,s+.5+s\1*16)end
end
end
flip()goto _259 chars, that's more like it 😄
There's a blue pixel border at the top and bottom, but I kinda like it that way.
-
Grid moire
#pico8 #tweetcart #tootcart::_::cls(8)pal(8,1,1)r=time()/16
camera(-64,-64)poke(0x5f5e,255)for l=0,1 do
for j=-7.5,7.5,.5 do
for i=-7,7,.5 do
s=i*16+j%2*8
d=j*14
e=(s^2+d^2)^.5
f=atan2(d,s)+r*l
circfill(cos(f)*e+sin(r/2)*32*l,sin(f)*e,2,6-l)end
end
poke(0x5f5e,247)end
flip()goto _ -
"Compact disc
#pico8 #tweetcart #tootcartt=0j=24414::_::camera(-64,-64)t+=.02c=sin(t)d=abs(c)?""⁶1⁶c0""
for y=-29,29do
o=d*(900-y^2)^.5for x=-o,o do
v=x/c if v*v+y*y<900then
a=atan2(v,y)*8pset(x,y,a+sin(a/2+t)+t/6&7)end
end
e=d*6poke(j,136)p=min(abs(y)^(d/2)*e,o)rect(-p,y,p,y,8)poke(j,255)end ovalfill(-e,-6,e,6,0)goto _ -
Fireflies
#pico8 #tweetcart #tootcart::_::?""\^1\^c0\^!5f10▒⬇️;:⬇️;::;:::::::""
t=time()/4for j=0,1do
t+=j/3poke(24414,51<<j*2)srand()for u=0,16do
f=t*60q=u*32+cos(t)*10r=u\4*32-f+sin(t+rnd())*10for i=1,3do
b=5-i*.8for k=0,b do
l=(b*b-k*k)^█-.5x=q%150-10y=r%150-10rect(x-l,y-k,x+l,y+k,i+i*4)end
end
end
end
goto _ -
Alien waters
#pico8 #tweetcart #tootcartfor i=0,16000do
sset(i%128,i\128,rnd(2)+sin(i\32/32+cos(i/32))+2)end
a=0::_::a+=.5for x=0,127,2do
for y=0,63do
local dx,j=(x-64<<3)/y+a,8-y/8rectfill(x,y+64+75/j,x+1,y+56+(4-sin(a+y>>5)+cos(dx/10)<<3)/j,sget(dx*2%128,512/y))end
end
memset(24576,0,4288)?""⁶1\^!5f100▒1⬇️3""
goto _ -
been gone from here for a long time 🙈😢
just started playing with #pico8 as a burnout salve and sketched my first #tootcart
n=rnd
a=t()*.15
c=64
r=c*.4+sin(a*15)*5.9
s=r*.85
for i=0,1 do
v=a+i*.5
x=c+sin(v)*r
y=c+cos(v)*r
if(n(8)>7)circfill(x,y,1,13+i)
for j=0,1 do
w=-a*2.5-j*.5
k=i+j
if(n(k+4)>k+3)circfill(x+sin(w)*s,y+cos(w)*s,1,1+k%2)
end
end
srand(a)for i=0,50 do pset(n(128),n(128),0)end -
Sudoku #pico8 #tweetcart #tootcart
srand(8)i=0::_::i+=1i%=81v=rnd(9)\1+1for y=0,80,9do
l=i%9r=0if(i\27==y\27)l,r=i%9\3*3,2
if(i\9*9==y)l,r=0,8
for x=l,l+r do
if(@(y+x)==v)goto _
end
end
poke(i,v)cls(7)camera(-27,-27)s=""for j=0,80do
?@j!=0and@j or"",j%9*8+3,j\9*8+2,13
rect(0,0,j\3*24%96,j*24%96)end
flip()goto _ -
I just can't take #tootcart seriously so I'm deciding to tag Mastodon-post-length code projects #mastocart
(but I'll probably keep tagging #tootcart until it inevitably catches on)
-
I put together this 500-character musical toy for #tweettweetjam - try it at https://luchak.itch.io/tiny-drops or https://lexaloffle.com/bbs/?tid=52696
Source in reply.
-
-
pal({1,8,10,2,9})
::_::
for i=0,3999do
pset(rnd(128),rnd(128),flr(mid(0,1,rnd(9)-7)))
end
e=t()/6
o=e%1
m=mid(0,sin(e*2),1)
for d=1+o,o-1,-.2do
for z=0,1do
for k=0,6do
i=flr((t()-k+1-d)%6)
by=128*d
g=sin(d*2+e)
a=-e+i/6+by/999+sin(d)/15
x=64+cos(a)*(45+g*5+m*9)
ym=sin(a)
y=by-ym*10
c=i%2
if(k>0and z==0)line(x,y,px,py,3+c)
if z==1then
s=7+g-ym
circ(x,y,s,2+c)
circfill(x,y,s-1,4+c)
end
px=x
py=y
r=5+m*10
x=64-r/2+rnd(r)
if(k==3)line(x,y-13,x,y+13,7)
end
end
end
flip()
goto _
--#tootcart #pico8 -
-
the mountain towers above the desert
(386 bytes)?"\^!5f100▒🐱249웃◆?>☉🅾️♥7"
function t(x,z)return sin(x/5)/2+sin(z/4)/2+max(6-sqrt(x*x+z*z)/2)end::_::a=rnd()-.5b=rnd()-.5c=sqrt(1-a*a-b*b)x=0y=4z=-30r=b*1.5-a*3+c*12+.5+rnd()for i=1,40do
h=y-t(x,z)if(h<0)then
m=y-h-t(x+1,z)n=y-h-t(x,z+1)l=sqrt(m*m+n*n+4)m/=l
n/=l
r=3-m*2+n*4-c*16-1/l+rnd()break
end
if(h<1)h=1
x+=a*h
y+=b*h
z+=c*h
if(z>30)break
end
pset(64+a*128,64-b*128,r)goto _ -
A little #tweetcart with audio #pico8 #tootcart
-
#pico8 #tweetcart #tootcart #genuary26 - "My kid could have made that"
x=rnd(128)
y=rnd(128)
d=rnd()
cls(7)
::_::
for i=1,100 do
pset(rnd(128),rnd(128),7)
end
s=3+sin(t()/8)*(2+cos(t()/16))
d+=(rnd()-.5)/10
x+=cos(d)*s
y+=sin(d)*s
circfill(x%128,y%128,2,0)
flip()
goto _ -
#GenerativeArt #CreativeCoding #tootcart
Tweetcart Source code:
```
r=rnd
s=r(-1)srand(s)z=r(.0001)+.0002p=.5+r(2)+5e=r(9)+1g=8f=128n=cos
for i=0,16do pal(i,r(32)-17,1)end::_::g+=z
for i=0,768do
srand(s)x=r(f)y=r(f)pset(x-n(x),y-n(y),max(pget(x,y)-1,0))end
for i=0,32do
m=(p+n(g))*64line(n(n(g/p-i/32))*m+64,n(n(g/7-i/7))*m+64,i/8)end
goto _
``` -
#TweetcartRelay is a collaborative project between myself, @carson, @p1xelboy, and @[email protected].
In it, we make a #pico8 #Tweetcart, and take turns riffing off the previous person's tweetcart, like a relay.
The tweetcart I have made today is a generative piece, called "Interplanar Messages via Screensaver", because it involves a lot of "fake" plane slicing, and seems to generate patterns that look like asemic text.
live link: https://www.fxhash.xyz/generative/24132
#tootcart source code in the replies:
-
A few fun attemps to create tootcards inside picotron on lunch-break (source on the comments)
-
🎆 Fireworks time! 🎆
Just 260 characters (incl. a lot of sine waves) to create this never ending celebration!
It's now open sourced and fully annotated 🧑💻
👉 https://github.com/jesstelford/pico8-tootcart-fireworks
#Pico8 #OpenSource #CodeGolf #TweetCart #TootCart #MathForTheWin
-
Today's #genuary is a #tweetcart / #tootcart since it's been a few weeks 🤓
#pico8 #genuary12 - Tessellation -
Saw a cool tootcart and wanted to make something similar and went looking at the origin of the optical illusion. Made something along those lines and tried to keep it under 256 chars. Inspiration: https://wandering.shop/@wrench/109642103800274110 @wrench
and https://vis.social/@codingcrafter/109634857573079260 @codingcrafter237 chars code in reply
#sizecoding #pico8 #tootcart -
Emergence V
more interactive #pico8 #tootcart ?!
yes
uses left click & right click
poke(14-😐,1)_set_fps(60)r=rnd
s=r(-1)srand(s)cls()b=0y=0pal({-8,8,9,10,11,12,2,-8,8,9,10,11,12,2},1)
function pc()for i=0,16do pal(i,r(32)-16,1)end end
u=r(32)\1+1::_::srand(s)b-=.7for z=0,u do for x=0,128do
y=(y+r({1,2,3,4,5}))%128pset(x,y,pget(x,(y+1)%128)-1)end
flip()
if(stat(34)==1 and 0>b)pc()b=9
if(stat(34)==2 and 0>b)extcmd("reset")end
goto _live link: https://objkt.com/asset/KT1AAzqp5WhRgkBcF9kCw5gPn4Kj3zSBuenG/2