Modify Array Elements On The Fly

For general discussion related FlowStone
Post Reply
Drnkhobo
Posts: 312
Joined: Sun Aug 19, 2012 7:13 pm
Location: ZA

Modify Array Elements On The Fly

Post by Drnkhobo »

Hey guys, my brain has been squelching over this. Basically I want t know the best (quickest) way of taking a moving array of numbers and sliding their values.

So lets take an array of 5 values and every 5 seconds they change in value (from their current value to x). I want to slide between values. Make sense?

I know the slide prim is pretty good at this but i cant decide whether or not its fastest to slap in a ruby module and iterate over each value and the output it to slide and finally recombine into array.

Has anyone else done something similar or have a bit more knowledge on this topic? :D
Post Reply