Puffer Fish Voxel mesh-Game of Life Tower

Hi,
I try to learn Pufferfish plug-in so I started with the “PufferfishExamples2-9 > WorkFlow” at the Food4rhino Pufferfish page!
in one of files, which I attached to this post, I have some ambiguity!

  1. Why we move “alive Cells” 60 factors in the Z direction? Isn’t Suppose to be 1 factor at each step and only the final iteration at the “Loop Start” component in Anemone Plug-in be 60?
  2. in the “Loop End” Component of anemone Plug-in, what does D0 input and output do? why the output remain unconnected? and how the D1 output works? I guess I have some trouble understanding the loop used in this method.
  3. How each story’s voxel have specific arrangements and have the algorithm can find the new way to compute the live Cells in each step?
    In the end, I appreciated if someone can explain the loop to me.
    tnx, a lot.Pf_VoxelMeshGameOfLifeTower - Requires Anemone Plugin.gh (38.8 KB)
  1. Why we move “alive Cells” 60 factors in the Z direction? Isn’t Suppose to be 1 factor at each step and only the final iteration at the “Loop Start” component in Anemone Plug-in be 60?

You are not moving 60 factors each time, only the last time. You move up 1 factor each loop generation, if there are 60 generations than 1*60 = 60. The last generations movement is what you are seeing. It is moving from the floor, up to its position 60 units up.

  1. in the “Loop End” Component of anemone Plug-in, what does D0 input and output do? why the output remain unconnected? and how the D1 output works? I guess I have some trouble understanding the loop used in this method.

D0 and D1 are passing information back to the Loop start, what we output is the loop iteration we decide to end at. The D0 and D1 outputs are a way to grab the current iterations information for use after and outside the loop, where the D0 and D1 inputs are sending this information back to the loop starts outputs for reuse in the loop.

  1. How each story’s voxel have specific arrangements and have the algorithm can find the new way to compute the live Cells in each step?
    In the end, I appreciated if someone can explain the loop to me.

The rule are just based on Conways game of life. You can learn about it here: Conway's Game of Life - Wikipedia

1 Like