I'll try to make it short:
I'm making a 3D grid in Texer-II, and distance between centers of particles is constant (25 pixels).
So on ini/beat it calculates vertical and horizontal steps:
stepx=25/w;stepy=25/h;
Than on point it creates a grid like this:
...And that transforms to 3D.x1=if(above(y1,1),x1+stepx,x1);
y1=if(above(y1,1),-1,y1+stepy);
So my question is: how do I calculate "n" variable based on width and height? I tried using this:
...but that doesn't work correctly 🙁n=ceil(2/stepy)*ceil(2/stepx);
(number-of-vertical-steps)*(number-of-horisontal steps)
Any ideas?..