Forums > Jitter

How to generate a gradated visual based on multiple coordinates on the matrix

March 15, 2012 | 10:16 pm

Hello.

I would like to ask how to generate a gradated visual spectrum look from the multiple coordinates on matrix.

for example,
there are two (x.y) coordinates on a 320×240 matrix
for calculating those from (0,0), it will like this include beginning and ending value of the matrix coordinates.
(0,0) , (x1,y1) , (x2,y2) , (320,0)

by using y axis of those (0,y1,y2,0)
generates a gradated spectrum look on x axis of the matrix
(horizontal B/W gradation with y coord. as a brightness value 0 = white, 240 = black)
with a threshold value for a stiffness of the gradation by finding even value between each y coordinates from the matrix, then smooth the gradation curves.
I attached an image for the description.

thanks

[attachment=188504,3550]

Attachments:
  1. gradate.jpg

March 21, 2012 | 4:36 am

Any related suggestion or recommendation?


March 22, 2012 | 6:52 pm

If you have Max 6, I would recommend you look at the "evalmatrix" tab of jit.path help patch. I believe this does what you are trying to accomplish.


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