Log In  

Cart #tc_vortex-0 | 2020-04-08 | Embed ▽ | License: CC4-BY-NC-SA
4

I got the voxel itch again after so long. This is a tweetcart version of an effect I'll very probably use in the future. The code is slightly altered from what I posted on Twitter because when running a cart without a scene, the camera is not properly reset.

I also added the zoom transition that'll be used, you can see it working by pressing up/down.

Here's the code

q=0
function _draw()
camera()
if(btn(3))q-=.5
if(btn(2))q+=.5
q=mid(20,q)
clv()
for z=48,63 do
a=t()/6-z/12
r=63-z+q
s=16*(1-q/20)
o,p=s*cos(a),s*sin(a)
col=z%2+33
set_draw_slice(z-q)
rectfill(0,0,127,127,col)
circfill(o+64,p+64,r*6,0)
end
set_draw_slice(0)
end
P#74558 2020-04-08 10:15

This is beautiful. Really nice work.

P#74584 2020-04-08 22:50

I don’t know much about voxeltron but gg

P#75736 2020-05-02 06:13

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2020-10-31 20:08 | 0.017s | 4194k | Q:31