Elia Posted September 16, 2021 Share Posted September 16, 2021 Hello everyone. I have a doubt. I came across this site: https://www.sanleonardo.it/la-tenuta there is this effect of zooming into a specific area and then a zoom out if I click again. Is it possible to create it with GreenSock? how can i search if it already exists? thanks a lot to everyone Link to comment Share on other sites More sharing options...
Cassie Posted September 16, 2021 Share Posted September 16, 2021 Hi there Elia - There's lots of ways to zoom in to a specific area. One would be using SVG and animating a viewBox.https://www.motiontricks.com/basic-svg-viewbox-animation/ You could also zoom into an image and change the transformOrigin and x and y position depending on where you want to focus in on Hope this helps! Happy tweening. 3 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