Edit: oops, I missed your post re: the graph that worked. I did it a different way with a clockwork node. It should achieve similar results. I will leave my original reply below.
this should do it: (you can modify it to your liking of course)
GIF:

Graph Image/DYN:
randomCurtainPanels.dyn (26.2 KB)
