Forum

Replacing slices of strings

I have an XML of names split into characters (each an individual slice) organized in a grid using two linearspreads. The grid of strings is animated, it is moving on the Y axis (like movie credits).
I would like to load a fresh line of strings every time a row leaves my window, so when the slices arrive back from the bottom of the screen, their strings are changed.
The final XML I will be working with, will have over 2000 names, that is why I am trying to optimalize the patch.

I’ve been stuck with this problem for a while.

What would be the best way to achieve this?

Thank you.

I’ve also attached an example patch.

loadnewline.v4p (48.0 kB)

I have add some help text for you.

Getting 6000 constant slices out of the typospread.

loadnewline v2.v4p (46.4 kB)