Forums > Jitter

How to generate coordinates efficiently ?

October 4, 2012 | 4:25 pm

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


October 4, 2012 | 7:58 pm

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

[attachment=205217,4493]

Attachments:
  1. snapshot2012100421.48.19.PNG

October 4, 2012 | 9:20 pm

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


October 8, 2012 | 12:18 pm

these examples might be helpful as well:

http://cycling74.com/2010/03/08/demystifying-expressions-in-jitter/


October 8, 2012 | 1:26 pm

I hope you enjoy. :)

`

– Pasted Max Patch, click to expand. –

edit: now is better


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