Jump to content
Search Community

dragoon

Members
  • Posts

    7
  • Joined

  • Last visited

dragoon's Achievements

  1. Removing antialias: true in the PIXI.JS renderer's constructor allowed to get to ~55FPS on Raspberry PI. So it was unrelated to GSAP in the end.
  2. If I don't run any animations my counter shows 60 as usual. I have also tried this code pen: https://codepen.io/osublake/pen/oLGBXy with 200 particles it shows 50 FPS. But it doesn't use PIXI... Maybe I should try to ask PIXI community.
  3. Hi all, I am animating some object that I generated myself in PIXI.JS via GSAP. However, I notice it is very slow on Raspberry PI and does not even depend on the number objects (in the range 1-50). As soon as I animate even a single object, the FPS rate on Raspberry PI drops to ~30. It also doesn't depend whether I am using ParticleContainer or not. I feel like I overlooked something, but can't figure it out.
  4. Hello, I would like to have 2 animations that start at the same time, one with a fixed duration and another is an infinite yoyo animation. I would like to stop yoyo animation when the first animation is complete. Here is my current code: gsap.fromTo(flake, {x: x, y: y}, { duration: fall_duration, y: endY, onComplete: this.onSnowEnd.bind(this), onCompleteParams: [flake], ease: Power0.easeIn }); gsap.to(flake, {duration: 3, x: x + (Math.random() * 150 - 75), repeat: -1, yoyo: true, ease: Power1.easeInOut}); I would like to stop yoyo as soon as the first animation is complete.
  5. Thanks a lot, yes it fixes the problem! I am quite new to the GSAP, just wanted to adapt this old codepen for my private dashboard
  6. Hello, I've been trying to migrate some old animated weather codepen from TweenMax to GSAP 3 and everything works except for the Bezier animation. I've prepared a codepen, where you can click on the wind icon, and you can see that it completely crashes the browser tab (I'm using Chrome). In the old TweenMax code, it was animating leafs in SVG. Would appreciate any pointers.
×
×
  • Create New...