Hi there!
I really like the way how it is possible to provide information for animations in a .json file. The process is very clear in the “Part3_closet-demo.gh” example file you provided in the latest webinar.
It is perfect for our developers to implement the animations without needing to know all the details and with less code as possible.
New challenge: We want to animate a folding door with two hinges that move at the same time. As it is clear how I need to provide the data for the main rotation of hinge0 at the first pivot which affects the whole door, I wonder what other informations our webdev would need for the other hinge rotation.
I built this
door.gh (19.8 KB)
reduced example in 2D-topview to understand the rotations and how they rely on each other.
In the screenshots you can see the open and closed state of the door.
So my question is: What other informations would the webdev need to implement the animation through the API as easy as possible.
If I just give him the second pivot (and third in this example), would it be possible to rotate this pivot with the other geometry and use this moving pivot for the simultaneous transformation?
Do you have any experience with that kind of animations or maybe even an example?
I’m looking forward to your answers and thank you very much in advance.
David