Jump to content
Search Community

Distort images

mrstevejobs test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

When changing background images i notice the image that comes in is bended at the beginning and then it becomes normal when the transition finishes. 
This is happening at the same time as the fading transition takes place while changing from one image to another.

So I'm interested in the bending part. From bended to normal.

Link to comment
Share on other sites

2 minutes ago, mrstevejobs said:

When changing background images i notice the image that comes in is bended at the beginning and then it becomes normal when the transition finishes.

This is likely done using a WebGL shader. You might be able to find an existing open source project that you can use to recreate this effect. If not, you can look at similar ones that are open source such as this repo. A few days ago I showed how to use this effect on a button click instead over on StackOverflow

  • Like 4
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.
×
×
  • Create New...