It would be helpful to inform the exact source of your reference video.
One of the ways I can think of is this.
![cubeorigami](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/0/2/023608c16291cb8624d6b5bb16732516dccc6d39.gif)
Cube Origami_reV1.gh (9.5 KB)
It would be helpful to inform the exact source of your reference video.
One of the ways I can think of is this.