home.social

#tweetjam — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #tweetjam, aggregated by home.social.

  1. (@kometbomb · Sep 9, 2018)

    Sphe-remix

    ::_::cls(1)s,c,u,i=sin,cos,t()/4,t()/3
    h,w,e=32+c(u)*16,64+c(i)*48,64+48*c(u)circfill(w,e,h,8)for f=0,13,.01 do
    a,r,p,q=f,f/26,x,y
    x,y,z=s(r)*c(a),s(r)*s(a),c(r)x,z=c(i)*x-s(i)*z,c(i)*z+x*s(i)x,y=(c(u)*x-s(u)*y)*h+w,(c(u)*y+s(u)*x)*h+e
    if(f*z>0)line(x,y,p,q,7)
    end
    flip()goto _

    pico-8-edu.com/?c=AHB4YQEVANin
    #Pico8 #TweetJam #TweetCart

  2. (@p01 · Sep 6, 2018)

    💫 MORPHING WORMWHOLE ROUND 2✌🏼

    Now the #demoscene dots tunnel changes shape smoothly and the title has a shadow to "pop"

    All in a 279 bytes #tweetcart #tweetjam for #pico8

    s="worm█hole"::n::cls()u=t()o=47+9*cos(u/11)p=flr(u)%6q=(p+1)%6v=u%1
    for i=v+5,41,1/40 do
    x=64+16*cos(i/o+u/3)y=64+9*sin(i/(99-o)-u/2.3)r=20/(5-i/8)*(2+cos(i*p-u/3)*(1-v)+v*cos(i*q-u/3))pset(x+r*cos(i),y+r*sin(i),"0x"..sub("1249af7",i/5,i/5))end
    ?s,44,57
    ?s,44,56,7
    flip()goto n

    pico-8-edu.com/?c=AHB4YQEWAPgC

  3. (@2DArray · Sep 2, 2018)

    @p01 about how I do sorting in #tweetjam entries, so here are some demos of the methods I like. Each clip includes the source in the next reply

    First method is an easy one: Just draw the lowest layer first, and the highest layer last. For flat layers, this works well!

    #Pico8 #Tweetorial

  4. (@p01 · Sep 1, 2018)

    Here's a quick itsy bitsy morphing wormhole #demoscene effect in 278 bytes #tweetcart #tweetjam for the #pico8

    Hope you like it. Hadn't done a dots tunnel in a while.
    ♻️+❤️=🤪

    ::n::cls()u=7*t()q=16*cos(u/91)p=flr(u/9)%6
    for i=0,49 do
    z=i+u%1
    k=min(7,i/4)x=64+32*cos(z/(62+q)+u/29)y=64+32*sin(z/(77+q)-u/18)
    for j=0,1,1/64 do
    r=(4*z+8)*(.8+.2*cos(j*p-u/23))
    pset(x+r*cos(j),y+r*sin(j),"0x"..sub("1249fa7",k,k+1))
    end
    end
    ?"★ wormhole ★",36,56
    flip()goto n

    pico-8-edu.com/?c=AHB4YQEWAPGn

  5. (@kometbomb · Aug 31, 2018)

    Just a really quick one today. Cart in the next tweet.

    c=64
    cls(1)for s=0,c*c do
    x,y=rnd(c),rnd(c)circ(x,y,1,pget(x,y)+1)
    end
    memcpy(0,0x6000,c*c)::_::cls()for k=0,4 do
    a=cos(t()/10)-k/4
    s,d=x,y
    x,z=cos(a),sin(a)+2
    x,y=x*c/z+c,c/z
    if(k>0)then
    u=x-s
    for r=0,u do
    h=(y-d)*r/u+d
    sspr(r*32/u,0,1,32,r+s,c-h,1,h*2)end
    end
    end
    flip()goto _

    pico-8-edu.com/?c=AHB4YQEWAOU3
    #Pico8 #TweetJam #TweetCart

  6. (@p01 · Aug 26, 2018)

    Dusting off a NOISE░FIELD demo for #pico8 that fits in 276 bytes.
    Press X to reset the background.

    ♻️+❤️=🤪

    a={}r=rnd
    f=r::n::b=25-18*cos(t()/99)c=circfill
    for i=0,2450 do
    x=r(128) y=x%1*128
    if(f)c(x,y,9,({1,2,13,r(15)})[i%5])a[i]=x%3-1.5 else o=flr(x/b+r())+66*flr(y/b+r())pset(x,y,pget((x+a[o])%128,(y+a[o+39])%128))
    end
    c(64,64,r(30),0)f=btnp(5)
    ?"noise░field",40,61,7
    flip()goto n

    pico-8-edu.com/?c=AHB4YQEUAQwC
    #Pico8 #TweetJam #TweetCart

  7. (@kometbomb · Aug 26, 2018)

    Here's a quick tweetcart inspired by @DavitMasia's particle experiments. 276 chars worth of code

    fillp(23130)p="011155ddcc66ffaa777"::_::cls()n=t()*20
    for b=49,9,-1 do
    srand(b+flr(n))z=b-n%1
    h=1000/z
    for f=0,31 do
    c=18-b/3+rnd(2)c="0x"..sub(p,c,c+1)i=f/32
    r=(rnd(1000)+100)/z
    x,y=cos(n/199)*z*2+64,sin(n/176)*z*2+64
    circfill(x+cos(i)*h,y+sin(i)*h,r/3,c)end
    end
    flip()goto _

    pico-8-edu.com/?c=AHB4YQEUAPBn
    #Pico8 #TweetJam #TweetCart

  8. (@kometbomb · Aug 8, 2018)

    Yo dawg I heard you like twisters etc. etc.

    ::_::cls(1)x,y,g,z=0,0,t()/5,cos
    for i=0,1,.005 do
    a=z(g/7+i/5)/3*z(i/9+g)q=z(a)w=sin(a)
    x+=q/2
    y+=w/2
    for j=-1,1,2 do
    for k=9,12 do
    o=k/4+g+i*j*z(g/3)s=16*z(o)b=16*z(o+.25)
    if(s>b)for d=0,1 do line(64+x-w*s,64+y+q*s+d,64+x-w*b,64+y+q*b+d,k)end
    end
    x=-x
    y=-y
    end
    end
    flip()goto _

    pico-8-edu.com/?c=AHB4YQEXAOGn
    #Pico8 #TweetJam #TweetCart

  9. @2DArray
    (@2DArray · Aug 6, 2018)

    Also, #tweetjam people: you can lean pretty heavily on srand() if you add temporary user-input to edit which seed the scene starts with. Once you find a good one, you can remove all the helper code.

  10. (@p01 · Jul 24, 2018)

    Some love for the AMIGA BOING BALL in 279 bytes.

    It was pretty fun to make & try to get as close as poss to the original in only a few bytes.

    s=cos l=line::q::cls(5)r=t()/6
    for x=0,14 do
    y=s(x/48)*127l(x*9,0,x*9,127,2)l(0,y,127,y)end
    x=64+36*s(r)y=80-abs(24*s(r*3.3))circfill(x+8,y+4,28)
    for n=0,56,1/31 do
    v=n-28 a=n%.5q=(784-v*v)^.5u=q*s(a)l(x+u,y+v,x+q*s(a+1/91),y+v,band(a*12+x/12+flr(v/12-u/36),1)+7)end
    flip()goto q

    pico-8-edu.com/?c=AHB4YQEXAPJv
    #Pico8 #TweetJam #TweetCart

  11. (@zep · Jul 23, 2018)

    Munker Illusion:
    The dots behind the stripes are drawn using the same colour.

    dat={129,3,186,6,78,13,174,5}p=0r=32
    ::_::fillp(255)c=circfill
    q=dat[1+p*2]c(9,9,999,q)for i=0,4 do
    a=i/4+t()/8
    x=64+cos(a)*r
    y=64+sin(a)*r
    fillp(((i%2==0) and 255 or 0xff00)+.5)
    c(x,y,12,q-q%16+dat[2+p*2])end
    if (btnp(4))p=(p+1)%4
    q=btn(5) and 0 or 32
    r=r*.9+q*.1
    flip()goto _

    pico-8-edu.com/?c=AHB4YQEXAPNH
    #Pico8 #TweetJam #TweetCart

  12. (@p01 · Jul 22, 2018)

    Revisiting Castle Wolfenstein on #pico8 with wall orientation & lighting in this 278 bytes
    Hope you like this. It was quite fun to make this little thing.
    ❤️+♻️=🤪

    memcpy(0,24576,999)a=0::l::cls(3)rectfill(0,0,127,63,12)u=t()s=c(u/9)/24
    for x=0,63 do
    d=x/640-.05
    j=0::k::j+=1/8z=a
    a=band(2.5-j*c(d-s),7)
    if(sget(a,band(u-j*c(d-s-.25),7))<8-j)goto k
    if(j<8)q=j*8*c(d)rect(x*2,q,x*2+1,127-q,a==z and 7or 13)
    end
    flip()goto l

    pico-8-edu.com/?c=AHB4YQEWAPQ3
    #Pico8 #TweetJam #TweetCart

  13. (@p01 · Jul 16, 2018)

    Real Time VORONOI Diagram for #pico8 in 269bytes
    Inspired by @static_walk twitter.com/static_walk/status

    ♻️❤️🤪
    DiQrs7sXUAAO8oc
    p={}q={}for j=-128,128 do
    q[j]=j^2
    end::l::
    for j=0,128 do
    p[j]=flr(64+32*cos(j/17)+32*cos(t()/35+j/5))
    end
    for j=0,421 do
    x=rnd(128)y=flr(x%1*128)x=flr(x)c=0 d=32767
    for i=1,15 do
    n=q[x-p[i]]+q[y-p[i+1]]
    if(n<d)c=i d=n
    end
    circfill(x,y,1,c)end
    ?"voronoi ",9,9,1
    goto l // ❤️

    pico-8-edu.com/?c=AHB4YQEXAOAP
    #Pico8 #TweetJam #TweetCart

  14. (@NarramoreArt · Jul 16, 2018)

    I present the Jackson Pollock simulator

    cls(7)
    j=1
    ::s::
    t=0
    x={0xcc33,1,0x3c00,0x8c63}
    k=rnd(32)
    if (j>=4) j=1 else j+=1
    for l=1,rnd(3) do
    fillp(x[j])
    circ(rnd(128),rnd(128),
    rnd(128),rnd(128),k)end
    ::k::
    t+=0.8
    flip()
    if (t>1) goto s
    goto k

    pico-8-edu.com/?c=AHB4YQDMAKY3
    #Pico8 #TweetJam #TweetCart

  15. CW: Flashing colours

    (@NarramoreArt · Jul 15, 2018)

    With some maths it could be prettier, but I made something and I don't see anyone else using fillp (lemme know if you have)

    cls()
    ::s::
    t=0
    k=rnd(2^15)
    fillp(k)
    rectfill(0,0,127,127,k)
    ::k::
    t+=0.2
    flip()
    if t>1 then goto s
    else goto k
    end

    pico-8-edu.com/?c=AHB4YQBzAGo3
    #Pico8 #TweetJam #TweetCart

  16. (@p01 · Jul 10, 2018)

    What about a little DRAGON BALL 🌟🏐 #demoscene effect for #pico8 in 279 bytes?

    Hope you like it
    🐉♥♻️

    s=sin::d::cls(13)u=t()/6
    ?"\n dragon ball"
    rectfill(0,88,128,128,2)x=64+32*s(u)y=abs(32*s(u*1.7))h=min(32-4*s(u*6.8),y+16)w=sqrt(48*48-h*h)y=90-y
    for i=0,h do
    a=w/h*sqrt(h*h-i*i)rect(x-a,y-i,x+a,y+i,14)
    end
    for i=1,3 do
    u-=.3
    ?"★",x+w/2*s(u*x/45),y-h/2*s(u-.3),7
    end
    flip()goto d

    pico-8-edu.com/?c=AHB4YQEXAO1v
    #Pico8 #TweetJam #TweetCart

  17. I've posted a DevLog 📝 to my #Patreon (now available to all) covering my TweetCart preservation efforts, inc:
    🗜️ 2GB #Pico8 Twitter Archive
    (🍯 1,200+ #TweetJam's
    💾 940+ #TweetCart's
    🕹️ 120 #TweetGame's
    ℹ️ 50+ #Tweetorial's)
    🐘 New Mastodon Account!

    ❤️ patreon.com/posts/75485143

  18. I've posted a DevLog 📝 to my #Patreon (now available to all) covering my TweetCart preservation efforts, inc:
    🗜️ 2GB #Pico8 Twitter Archive
    (🍯 1,200+ #TweetJam's
    💾 940+ #TweetCart's
    🕹️ 120 #TweetGame's
    ℹ️ 50+ #Tweetorial's)
    🐘 New Mastodon Account!

    ❤️ patreon.com/posts/75485143