Jump to content

Search In
  • More options...
Find results that contain...
Find results in...
Rasool Ghafari

Rotate svg element 3d with javascript or jquery

Recommended Posts

I have this below svg in my web application:

Screen Shot 2020-05-08 at 10.55.01 PM.png

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:



Link to comment
Share on other sites

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.

  • Like 2
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.