Log In  


Flyover voxel rendered terrain-like plasma.

(300 chars)

for y=0,127 do for x=0,127 do sset(x,y,(sin(x/32)/2+sin(y/32)/2+sin((x+y)/64)/2+sin(sqrt(x*x+y*y)/32)/2+sin(x/16*1.2)/4+sin(y/16*1.2)/4+sin((x+y)/32*1.2)/4+2.75)*2)end end function _draw()cls(12)for z=64,1,-1 do for x=0,127 do h=sget(64-z+z*x/64,-(z+t()*32)%128)line(x,h*4/z*32+32,x,128,h)end end end
4



[Please log in to post a comment]