Origami moving cubes

I am a beginner in grasshopper, can someone help me with the grasshopper code for this? I am so confused

1 Like

Thankyou!! I am grateful. I will look into this code. This really helps