Forums > Jitter

shifting row > jit.expr <

Dec 08 2007 | 12:46 pm


it drives me crazy… i shortly droped into the jit.expr thing
specialy because of the object.

now i want to set up a grid of videoplanes and control the position and color …

i managed to arrange the planes in normal grid (8 x 3) but i need to shift the second row a little (have a look on the picture)

does anyone know the expression to get this done or any other easy solution.

thanks kM

Dec 08 2007 | 6:54 pm

Hi kM,

There’s no way to know exactly what is happening without an example patch.


Dec 09 2007 | 2:15 am

sorry for my weird explanation …

what i’m trying to come up with is quite simple …

i tryed the expression

>jit.expr @expr "snorm[0]*9" "snorm[1]*2.5" "sin(smorm[0]*TOPI)"<

and filled the position matrix

to get my videoplanes arranged with like this

o o o o
o o o o
o o o o

but i’m searching for an arrangement like this

o o o o
o o o o
o o o o

is there a way to do this with jit.expr, or do i need to use a jit.scissor >> jit.unpack >> jit.op >> etc hack

greetings kM

Dec 09 2007 | 2:22 am

if you want to displace a row of objects in 3D like that, then you
could turn snorm[0]*0.9 to snorm[0]*0.9+cos(norm[1]*PI)


Viewing 4 posts - 1 through 4 (of 4 total)

Forums > Jitter