I have a large data list (1x400), and now I want to divide it into multiple small lists (10x40). How can I do this in Touchdesigner?
A few possible options:
- use Python and write data into a new DAT. This is easiest if it’s a one-time or occasional thing
- use Python in a scriptDAT. This is good if it’s real time
- use multiple selectDATs to grab the sublists you want and then a mergeDAT to combine them into the grid
Hi @L_L
Also nice in case of numerical data: convert your DAT to a CHOP and use the Shuffle CHOP to split using the “Split N Samples” option of the Method
parameter.
cheers
Markus
3 Likes
Thank you for your suggestions. I am not very good at Python scripts and I am still studying it. My friend downstairs has helped me solve this problem.
@snaut Thank you very much, I have solved this problem using the method you provided.