Jump to content
Search Community

"Scratch off" image to reveal a different one

Mashan
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

Posted

I guess my question would be "why?". GSAP is great at manipulating element properties over time and managing those timelines. The pen above illustrates something a bit outside of that scope. While I'm sure something could be whipped up with GSAP ... why when the solution in the pen handles it perfectly?

  • Like 7
Posted

Hello @Mashan and welcome to the GreenSock forum!

 

Yes i agree with @Shaun Gorneau .. there is no need for GSAP since there is nothing animating, its all user interaction via canvas.

 

Also i dont even see jQuery in that pen above. It looks like vanilla (native) javascript.

 

:)

 

 

  • Like 4

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...