Forums > Jitter

matrix calculation of all possible pairs from cells

May 10 2007 | 11:59 am


i would really appreciate some help / hints on a matrix calcultation i’m trying to figure out, but i don’t have any idea where to start.

i’m using 3 plane float32 matrices, variable between 1 and 50 in dimension, the first and second plane contain coordinate data. what i’d like to do is draw all possible lines between these coordinates in jit.lcd.

what i’m looking for is a way to calculate all possible combinations of pairs.


(x1,y1) (x2,y2) (x3,y3)


(x1,y1,x2,y2) (x1,y1,x3,y3) (x2,y2,x3,y3)

i’d really like to keep this calculation inside jitter because of cpu.

thanks a lot in advance,


May 10 2007 | 6:47 pm

May 10 2007 | 7:14 pm

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

Forums > Jitter