The Plan:
Q: How can we add a @P1x3lboy twist to @Aebrer's awesome Four-Way Sigil Extender?
A: Make it a Two-Way extender with enforced space. Add in a little twist, setting sigil height based on the sigil type. Makes for some really interesting outputs. Reload until you find one you love then let me know at @p1x3lboy
What is a Tweetcart Relay?:
Basically, we receive a tweetcart from a friend, and we modify it to make our own tweetcart, which we then send to someone else, to continue the process. Eventually, it's our hope to have many relay chains going on with many people, anyone at all who likes to make tweetcarts or wants to learn how :)
Suggested Relay Guidelines from @Alexthescott (tz1St3n29AbYXZXV8W1BG41qYzz86J2CFAW7):
-> Copy the prior tweetcart 1:1, and tweak the cart while keeping some part of the original program until you've left your aesthetic changes however robust, and pass it on
or
-> Copy just a portion of the cart and build new, before passing on the tweet
Relay Information:
-> inspiration tweetcart: Four-Way Sigil Extender objkt#753971 https://teia.art/objkt/753971
-> inspiration tweetcart author: Aebrer; KT1HmpYVyKQWbe5qtfAasF7SB4zD7qNiUyrP
-> destination tweetcart author: Carson; tz1XqJ9e6NdouxdGvm2V3aknwFnGL6Kinu6A
Pico-8 Source Code:
-> 279 Characters;
```
cls()
r,p,q=rnd,srand,poke
s=r(-1)
p(s)
f=0
q(0x5f54,0x60)
q(24364,5)
::_::
palt(r(16)/512,r({true,false}))
for i=0,80do
z=r(240)\1+16
x,y=r(53),r(z/2)
?chr(z),x,y,f
end
if(r()>.6)f+=1p(s)sspr(r(3),r(3),128-r(8),128-r(),0,0,128,128)
if(f>=56)f=p(s)s+=r({0,-1,1})
flip()goto _
Explanation:
```
cls() -- clear screen
r,p,q=rnd,srand,poke -- declare functions
s=r(-1) -- value of -1 causes overflow, get a seed from all possible fixed point numbers
p(s) -- set seed
f=0 -- set frame counter
q(0x5f54,0x60) -- enable use of sspr directly on screen
q(24364,5) -- horizontal mirror
::_:: -- goto loop start
palt(r(16)/512,r({true,false})) -- randomly declare the transparency of one color this frame
for i=0,80do -- draw sigils on screen
z=r(240)\1+16 -- random sigil (excludes control symbols)
x,y=r(53),r(z/2) -- lots of random positions, but not in the centre and vertically placed, based on random sigil type
?chr(z),x,y,f -- print sigil at xy with color based on current framecount
end -- end drawing for this frame
if(r()>.6)f+=1p(s)sspr(r(3),r(3),128-r(8),128-r(),0,0,128,128) -- 40% chance to increase framecount, reset seed, and extend display using feedforward loop
if(f>=56)f=p(s)s+=r({0,-1,1}) -- if framecount > 56, reset, and random chance to change seed
flip()goto _ -- draw display buffer to screen and goto _ tag
```
To Friends and Creators:
Want to change the code, or make a relay Tweetcart of yourself based on this one? No problem! You can find the official education edition of the Pico-8 here, for free, usable in the browser, thanks to the Pico-8 Creators lexaloffle & co: https://www.pico-8-edu.com/ . Simply press escape to get to the code editor, copy and paste the source code here into there, and press ctrl+r to run the pico8.
This is my first tweetcart so I hope you enjoy. You can find me at @p1x3lboy
I hope you enjoy.
License: CC0