implementing dynamically changing ramp (like line/line~) in v8
In my current project, I'm implementing a system where impulses traverse a graph, with each impulse having its own set of attributes. An impulse starts at a specific vertex using a startImpulses() function, and as it moves through the graph, it updates its position according to its individual parameters. Each impulse can be thought of as a self-contained unit that moves from one point to another, following the edges of the graph. The graph itself is stored within a dictionary, where each vertex holds coordinates and connections to other vertices.
Now, I'm looking for a way to represent impulse as jitter object with three characteristics, which interpolates from one coordinate to another with some kind of ramp like [line 0 1] acting as time representation. Bang is used as framerate
I would use setInterval js function but I can't In the max API. It's first time for me implementing something that complex in v8, so any suggestions appreciated!
EDIT sorry for dumb question, solved