I try to reproduce this animation of horikawa.j with Geometry Nodes, which I discovered on Instagram.
The original creator says that this was solved with Transfer Attributes
.
I try to reproduce this animation of horikawa.j with Geometry Nodes, which I discovered on Instagram.
The original creator says that this was solved with Transfer Attributes
.
Unfortunately I can't understand from where which attribute should be transferred here, but if you're interested in another solution as well, this 100% procedural example might help you:
Here I first create a cube, whose sides I extrude and then combine with the node Mesh Boolean
and scaled version of the cube so that I am left with a wire mesh.
I instantiate this mesh at a single point offset by the size of the cube. The reason I do this is because I can easily rotate the instance around a given point afterwards.
Then I feed the current frame into the node Map Range
which returns a rotation between $0°$ and $180°$ (in radians!). You can alternatively solve this using the node Float Curve
. This value then controls the rotation of the cube.
Finally, I flip the cube, and rotate the resulting objects twice by $90°$ in different directions.