Jump to content
GreenSock

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

Shrug ¯\_(ツ)_/¯ last won the day on March 23 2021

Shrug ¯\_(ツ)_/¯ had the most liked content!

Shrug ¯\_(ツ)_/¯

Moderators
  • Posts

    294
  • Joined

  • Last visited

  • Days Won

    4

Shrug ¯\_(ツ)_/¯ last won the day on March 23 2021

Shrug ¯\_(ツ)_/¯ had the most liked content!

2 Followers

About Shrug ¯\_(ツ)_/¯

Recent Profile Visitors

5,068 profile views

Shrug ¯\_(ツ)_/¯'s Achievements

  1. Some of the general concept reminds me of this demo from this article. Albeit that one is a bit janky with the old school set/clearTimeout approach vs requestAnimationFrame, etc. Or for-the-win of course GSAP 🏆. I look forward to seeing @OSUblake’s full blown Three.js RTS game when he is done here. 😂
  2. ¯\_(ツ)_/¯ Maybe @GreenSock will shed some of his genius upon the subject in addition to the nice thoughts both @mikel & @akapowl provided. 😉
  3. This gist tried to extract relative things from the documentation into a more concise list, it may help you some? https://gist.github.com/lunelson/7d83ca0c8bdfab170dd3. As stated "Standard CSS properties are all supported, with hyphenated-names becoming camelCaseNames." so the following list might help you some. https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties. I think GreenSock would need a ScrollTrigger enabled infinite scrolling page to even remotely try to list what all GSAP can animate. 😂
  4. 👍 I’ve thought about this scenario in the past also. When using ScrollTrigger scrub and wanting that scrub effect but then if the user stops at a certain % to finish the tween / timeline and yet accurately still retain all the scrub / ScrollTrigger features when the user recommences scrolling. I never really dove into it though (some things happened that averted my focus 🤕 ) to decide what would be best. It's still a bit of a mind puzzle as I try to rethink on it. 😂
  5. This Quick-Tip article talks about dealing with the general concept of (FOUC) Flash Of Unstyled Content. 😉 https://greensock.com/fouc/
  6. Unless the exported renders are more complex than what is being shown in your sprite sheet, I would think the following examples of math based approaches would be a better overall approach given what you’ve shown. https://codepen.io/osublake/pen/vdzjyg https://codepen.io/creativeocean/pen/JjWMqdv Or a simpler approach as @mikel has suggested above that you could use morphSVG within a timeline and utilize as many shapes as desired (or an array or path data directly in js) at any duration you choose. You can even use morphSVG within GSAP keyframes also, there are many creative options available when using morphSVG.
  7. Concerning your thread title "3d lettering without webgl" and for those with similar interest in the future. Some may find interest in ztext.js for simplicity or even Zfont that's made for zDog. Either of those might meet your requirements and both should easily play nicely with GSAP.
  8. @akapowl Unless I'm mistaken I think thats already the lib that was being loaded in the codesandbox? Here is another wrapper for React Components using that same smooth scrollbar library, if it helps anyone.
  9. You may get some use out of insertBefore (some information seen here) like the below two examples. https://codepen.io/osublake/pen/YXoEQe https://codepen.io/GreenSock/pen/yLYJodZ Edit: Sorry @GreenSock, I just looked at your Pen after the fact, which is what you are doing. ☺️
  10. You may like this thread Specifically .. https://codepen.io/GreenSock/pen/8fcb337385d0f1e401a66f260cf73e76 You might be also able to use some logic from the below example that uses GSAP, Draggable, SVG.js and Spline. https://codepen.io/georgedoescode/pen/ExNpqJP
  11. It sounds like you instead want the stack of images to fade through as you scroll? If so then you can remove the pin, try scrub: true, adjust the start &/or end values and play around with the next var (stagger) and fade var . Just play around until you get everything to your liking (if you want to stick with that example). The ScrollTrigger Docs have detailed information on those things along with links too many ScrollTrigger examples and demos. I sugggest you take time to get familar with the usage.
  12. Welcome to the forum @LivingInAZoo This codepen by @mikel seems to have most of what you described. Hopefully you can modify it to your own needs by using it as a starting point while using the documentation to assist you further. https://codepen.io/mikeK/pen/NWRoQJo
  13. Sorry to nudge this thread I’m just seeing it and could not resist a little reminiscing. I remember this exact same effect back in the Flash / Actionscript days. It was something like using a few containers, swapping depths and image sources. Along with the scaling & fading of pre-rendered distortions and blur on identical yet much smaller images done in Photoshop used for the in/out transitions. The transition part would happen so fast you never really noticed the difference going between the two actual images and the two transition images scaling / fading. Those cleaver manual techniques have largely diminished with the presence of more modern dynamic approaches available today. Plus screen sizes were a lot smaller and of less quantity back then. Now with 4K, 5k, 8K monitors and thousands of devices dynamic WebGL, PixiJS, Shaders, etc., are the way to go ... GPU to infinity and beyond. 😄
×