- My first rule was the animation wont reset when I add and remove elements, change the layout or rotate the carousel.
- If you want to add additional layout say the one used in the Royal 3D carousel or the star topology of the Ultimate 3D carousel you have to implement two functions which calculate the distance from the viewer and the position of each figure.
- This enables the carousel to be extensible with additional layout, but the user will have to find a way to express the layout as a function.
- The carousel has intermediate state when it rotates and when it adds or removes sides, which are made worse by ability to change layout on the fly which completely changes the look of the carousel.
Continue reading “Crafting a 3D React Carousel”