Jump to content
GreenSock

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

Alexygen

Members
  • Content Count

    23
  • Joined

  • Last visited

Community Reputation

1 Newbie

About Alexygen

  • Rank
    Member
  • Birthday 02/02/1885

Profile Information

  • Gender
    Male
  1. Alexygen

    ScrollTrigger

    this my test https://codepen.io/Alexygen/pen/dyGZOOQ I'm trying to make the horizontal scroll endless
  2. Alexygen

    ScrollTrigger

    how do infinity scroll like here https://codepen.io/GreenSock/pen/rNOebyo ?
  3. Alexygen

    ScrollTrigger

    don't work (( elements red, orange, purple and gray scrolling at the same time
  4. Alexygen

    ScrollTrigger

    Hi! Help me please! I don't understand why all elements .panel scrolling at the same time.And I need to block scrolling
  5. Alexygen

    Ball example

    Thank you!!!!
  6. Alexygen

    Ball example

    Hello. I find example https://codepen.io/osublake/pen/7c4eae8dd686a125d631da761b164f2d How to make the ball flatten when it hits the wall? If I add code: .to( ball, { duration: 3, scaleY: 0.5, scaleX: 1.3, ease: "myBounce-squash", transformOrigin: "bottom", } ) and code import { CustomBounce } from "./plug/CustomBounce.js" import { CustomEase } from "./plug/CustomEase.js" gsap.registerPlugin(Draggable, InertiaPlugin, CustomBounce, CustomEase) CustomBounce.create("myBounce", { strength: 0.7, squash: 3 }) this not work
  7. Thank you very mutch! I figured it out!!!
  8. I understand it. But then ease: "myBounce" fires earlier
  9. I see, but after line: to('#smile', { duration: 0.1, x: 100, y: 150, rotation: 360 animation stops for a split second and the next one is executed, there is no smoothness. Question how to do without transition. so that the smile falls down without stopping
  10. how to remove the delay between .to('#smile', { duration: 0.1, x: 100, y: 150, rotation: 360 and }) .to('#smile', { duration: 0.3, y: 350, ease: "myBounce" }, "+=0.2") Now the smile shifts to the right and down and after down and jumps, but there is a delay
  11. your animation turned out completely different!
  12. I create project on CodePen: https://codepen.io/Alexygen/pen/ExPWJaL And one more question: how to remove the delay between .to and .call? Now the smile shifts to the right and down and after down and jumps, but there is a delay
  13. fromTo and staggerFromTo work differently. If I change staggerFromTo to fromTo, animation does not use the first parameter { x: xDistance, autoAlpha: alpha, ease: esing } and animation is only final
×