Jump to content
GreenSock

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

jingqi_fan

ShockinglyGreen
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

3 Newbie

About jingqi_fan

  • Rank
    Newbie
  1. // FIGURED IT OUT I was calling new SplitText everytime the value "fadein" changes which caused a bunch of deeply nested <span> tags and messed up the animation. Hello, I've followed this thread https://greensock.com/forums/topic/23007-importing-plugins-in-nuxt/ to install gsap from gsap-bonus.tgz and import the premium plugin, SplitText, like below in a component file: // in Heading.vue import { gsap } from 'gsap' import { SplitText } from 'gsap/SplitText' if (process.client) { console.log('registered') gsap.registerPlugin(SplitText) } an
  2. @ZachSaucier wow thank you so much, I missed the itemHeight and wrapperHeight part! thanks again!!
  3. Hello, I've tweaked the modifiers plugin demo to create an infinite autoscroll effect. My only problem is that I'm not sure how to transform each of the boxes in the codepen demo to go upward instead of downward. Right now each box is moving a positive y amount. I understand that I would need to change the y value of the boxes to negative for them to move up but every time I try to change it, the effect is no longer infinite, it gets cut off at every loop. I am guessing that I might not have a complete understanding of how the modulo operators work with negative numbers
  4. Hello! Thank you all so much for the prompt response. Thanks for the timescale pointers and the codepen demo! I made another codepen based on the above demo: However, when I stop scrolling it stops very abruptly and it doesn't seem like its really binding to my scroll like it did in here in their selected clients section. The tween also seem to have a lag after my scroll happens. The animation wait a bit to speed up and then when I stop scrolling it waits a bit to set the timescale back to 1. Is there a way to respond to my scroll immediately?
  5. Hi guys, I'm a newbie in GSAP. I modified the GreenSock's ModifiersPlugin: Seamless Loop Codepen in the hopes of getting close to the effect as seen in this website (if you scroll down a bit to the selected clients section of the linked page, you will see that the marquee on the site can be sped up relative to your scroll speed). Here's my Codepen: https://codepen.io/jingqifan/pen/xmYxOR?editors=1111 I tried to do that by calling my tweenmax function in the Jquery on scroll function with the updated variable "move", but the animation is quite janky and doesn
×