Foreach Loops in Fuse

I have this patch where I would like to recreate cellular noise on its most basic level:


Now, I wonder how to make the same patch for many points using a for or foreach loop:


That patch above doesn’t work, vvvv crashes and I wonder what I did wrong?

Voronoi.vl (16.8 KB)

Thanks a lot!

You have to use the Fuse foreach loop that creates shader code. The VL foreach creates CPU code, which in your case creates a list of individual Min value shaders.

but look - there is no fuse foreach loop:


And the For(Fuse) loop is not clear to me:


Check GetItem and Index nodes.