Rasool Ghafari Posted May 8, 2020 Share Posted May 8, 2020 I have this below svg in my web application: and i have two buttons to rotate this element clockwise/anticlockwise 3d through y axis when user click on each button, how can i do that? is it possible to do it with Snapsvg? There is also this question on SO: https://stackoverflow.com/questions/61685984/rotate-svg-element-3d-with-javascript-or-jquery Link to comment Share on other sites More sharing options...
ZachSaucier Posted May 9, 2020 Share Posted May 9, 2020 Hey Rasool, welcome to the GreenSock forums. It's currently not possible to have a 3D SVG. You should use something like WebGL for 3D elements or fake the effect using 2D elements. 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now