How to generate coordinates efficiently ?

Julien Bayle's icon

I'd just like to generate a matrix of coordinates following some mathematical rules.
This would be an init operation made on demand (not at the master qmetro rate, but launched sometimes I mean)

I know how to do that by filling a matrix with JS but I don't know if this is the best idea (I guess it isn't)

the main idea behind this need:
generate an array of objects, put this coordinates into a matrix, alter some cell of the matrix using jit.gen probably

Julien Bayle's icon

this is just one solution.
hope it will help someone else.

now, I'll alter specific instance by changing z coordinates, producing a zoom/unzoom effect.
I need to track the current z in order to include kind of easing

4493.snapshot2012100421.48.19.PNG
PNG
Yoann's icon

Bonjour Julien,

Ce serait plus simple si tu postais des patches plus que des images ;)

Je suis assez curieux de voir ton nouveau project, si un jour tu passes a Berlin, n'hesites pas a me le faire savoir !

A propos de ton autre post, oui, jit.slide devrais etre ton amis ;)

Yoann

Tobias Rosenberger's icon
esnho's icon

I hope you enjoy. :)

Max Patch
Copy patch and select New From Clipboard in Max.

`

edit: now is better