← pico_vibrations

pico_vibrations #150

by aebrer

pico_vibrations #150 static token preview
Full screen

Static preview.

Project

Something just for fun to explore some concepts like seed looping.

Source code:

pico-8 cartridge // http://www.pico-8.com
version 35
__lua__
_set_fps(60)

r=rnd
w=stat(6)
seed=1
for i=1,#w do
ch=ord(sub(w,i,i))seed+=seed*31+ch
end
if(#w==0)seed=r(-1)
srand(seed)

lines=r({-1,0,1})
fp=r({true,false})
--poke(24364,r({0,0,0,5,6,7}))
fillp(r({β–₯,β–ˆ,β–€}))
for i=0,15do
pal(i,r(32)-16,1)
end
cls()

::_::

clip(16,16,96,96)

srand(seed)
x=r(64)+16
y=r(64)+16
for i=0,10do
line(x*r({1,-1}),y*r({1,-1}),y*r({1,-1}),x*r({1,-1}),r(6))
x+=r(4)-2
y+=r(4)-2
circ(x,y,r(30)+.5,pget(x,y)-1)
end

poke(0x5f54,0x60)
palt(0,false)
sspr(0,0,128,128,2,2,128-4,128-4)
for i=0,15 do
circ(rnd(128),rnd(128),rnd(64)+64,rnd(8))
sspr(0,rnd(128),128,rnd(5),rnd(128),0,rnd(5),128)
sspr(rnd(128),0,rnd(5),128,0,rnd(128),128,rnd(5))
end
poke(0x5f54,0x00)
palt(0,true)


--blur boxes
for i=0,40do
a=96
b=16
pset(r(a)+b,r(a)+b,pget(r(a)+b,r(a)+b))
end

if(fp)flip()
clip()
for i=0,lines do
x=r(96)+16
y=r(96)+16
line(x,0,x,128,r(15))
line(0,y,128,y,r(15))
end

if not rec then
if(btnp(πŸ…ΎοΈ))extcmd("screen")rec=true
if(btnp(❎))extcmd("video")rec=true
end
if(t()*100\1%500==0)rec=false

goto _

Price history

DateEventPriceMarket
2022-04-16Mint0.69 tezfxhash issuer v2
Last completed sales index sync
fx(params) mint tickets
Block 15305302
fxhash issuer v1 (first)
Block 15305302
fxhash issuer v1
Block 15305302
fxhash issuer v2
Block 15305302
fxhash issuer fx(params)
Block 15305302
fxhash marketplace v2
Block 15305302
fxhash marketplace v1
Block 15305302
objkt.com marketplace v1
Block 15305302
objkt.com English auctions v2
Block 15305302
objkt.com marketplace v2
Block 15305302
objkt.com English auctions v1
Block 15305302
objkt.com marketplace v3.2
Block 15305302
objkt.com collection offers
Block 15305302
objkt.com English auctions v3
Block 15305302
objkt.com marketplace v3.1
Block 15305302
objkt.com Dutch auctions v1
Block 15305302

Traits

Recorded features
Not yet indexed