Jump to content
GreenSock

GreenSock

Input wanted: should we change the force3D default?

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. 

Change force3D:"auto" to default in 1.14.3?  

32 members have voted

  1. 1. Should force3D:"auto" be the default in GSAP 1.14.3?

    • Yes, gimme the GPU juice, baby!
      29
    • Yes, but only for mobile devices.
      3
    • No, leave it alone please.
      0

This poll is closed to new votes


Recommended Posts

As long as we get to turn it off if we want to, which it sounds like you're planning on doing, I'm happy. :) I heart GS. :)

Link to comment
Share on other sites

HI,

 

Great idea and discussion guys!!

 

+1 for the "auto" feature, is smart and doesn't stick around after the instance is over, ME LIKE IT!!

  • Like 1
Link to comment
Share on other sites

Hi !

If using "auto" or "true", what if the browser can't handle 3D ? Does it keep a 2D tween, or does it try to use a 3D tween anyway ?

Is it on our hand to test for it ?

 

"auto" by default seems great by the way.

Link to comment
Share on other sites

Hello Hypolythe,

 

GSAP will detect for you if CSS 3D or 2D Transforms are supported in the current browser. GSAP will do all the heavy lifting for you so you can concentrate on animating and not cross browser compatibility. If GSAP does not detect CSS 3D transforms it will fallback, and use CSS 2D transforms instead. GSAP can basically animate any object or property!

 

Does that help Hypolythe?

 

:)

  • Like 1
Link to comment
Share on other sites

Yep, Jonathan is exactly right. GSAP will be "smart" about when it applies the 3D GPU juicing. It'll just use 2D transforms in browsers that don't support it. 

  • Like 1
Link to comment
Share on other sites

Thanks for all the input, guys. Version 1.15.0 was launched and it's got these features enabled. Yay!

  • Like 3
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.
×