I'm trying to learn animation using Animation Nodes, and so far, I've achieved the result in the gif below:
Explanation: If the value of the current frame is less than (B), switch the material from RED to GREEN.
So, I created this setup for 4 objects (S-O-N-G), each with its set of nodes:
My question is: How to simplify this node tree using a list? In other words, instead of repeating the nodes 4 times, I want to streamline it into a single setup using a list.
The relationship of the lists is this:
How can I achieve this? I've been trying to learn from tutorials, but I've spent hours searching and still haven't figured out how to do it in my case.