Data storage advice/tips
Hi!
I'm a big big patch and right now im trying to find a solution to one of its function. In this patch I'm steering a dot in a X,Y coordinate system rangeing from -0.5 to 0.5. The range is the scaled to a grid rangeing from 0 to 10 in a sub patcher. The goal is then to keep track of how long this dot, that im steering, has been in each grid, totally. Get it?
I've made an patch that wont do the trick but it might be of help understanding.
haven't really tested it, but maybe something like this??
this isn't perfect but you get the idea-- use a matrix to store and modify your data
Yes that did it! Many thanks! And that solution gave me another idéa to work on :) Change the color of every pixel in the jit.pwindow depending on time. LoveMax
I made some slight changes (objects coloured) so it's a bit more reliable. (Needed pack instead of pak, a speedlim added and args to scale tweaked).
-T
This works really good!