PointC last won the day on March 21

PointC had the most liked content!

PointC

Moderators
  • Content Count

    2,813
  • Joined

  • Last visited

  • Days Won

    248

PointC last won the day on March 21

PointC had the most liked content!

Community Reputation

7,349 Superhero

About PointC

  • Rank
    Moderator

Contact Methods

Profile Information

  • Gender
    Male
  • Location
    Seattle area
  • Interests
    web design, motion graphics, 3D animation, video production, all things sci-fi, Mt. Rainier hiking and my dachshunds

Recent Profile Visitors

25,881 profile views
  1. PointC

    Interesting flicker behavior

    The conventional wisdom is to use x/y which are equivalents of translateX and translateY. They'll be more performant than left/top. It'll be most noticeable on longer duration animations. You're using some quick moves so you may not even notice a difference in this case. If it works correctly and looks good to you while using left/top, go for it. Happy tweening.
  2. PointC

    Interesting flicker behavior

    Rather than adding to the end of the timeline, I'd probably clear() it each time you call the secondary timeline function. I'd also recommend using x/y instead of left/top. Happy tweening.
  3. PointC

    Particle

    With a bunch of particles flying around forming circles, shapes or grids, you'll almost certainly want to use canvas. It would just be a matter of coding the Math to create the desired shapes. That's beyond the scope of this forum as we try to keep the focus on GSAP related questions and problems. Here's an article I recently read about particles. You may find some of the demos helpful. https://speckyboy.com/particle-animation-code-snippets/ You can also take a look at Pixi.js (WebGL with a canvas fallback) http://www.pixijs.com/ GreenSock also has a Pixi plugin https://greensock.com/?product-plugin=js-pixiplugin If you have any GSAP related questions on any part of your project, we're happy to help. Happy tweening.
  4. Welcome to the forum. It sounds like you'd want to set dragClickables to false. From the docs. dragClickables: Boolean - By default, Draggable will ignore clicks on <a>, <input> <select>,<button>, and <textarea> elements (as well as any element that has a data-clickable="true"attribute), allowing the browser's default behavior (like clicking on an input would give it focus and drop the cursor there to begin typing), but if you want Draggable to hijack those clicks and initiate dragging instead, set dragClickables:true. https://greensock.com/docs/Utilities/Draggable Hopefully that helps. Happy tweening.
  5. PointC

    reset values for multiple 'from' commands

    If you're trying to condense it to one line, I'd probably set() the x and y position instead of using clearProps and then change the last line to a staggerTo(). Maybe something like this: It can sometimes be tricky to use from() tweens in the middle of a timeline. A set() and to() tween can make things a bit easier to control. Happy tweening.
  6. PointC

    reset values for multiple 'from' commands

    I'm not sure I completely understand the desired behavior here, but here's a fork of your pen. I've used clearProps on the x property only instead of all and used a staggerTo() for the autoAlpha. Is that what you need it to do or I am I not understanding the question? Happy tweening.
  7. PointC

    Smooth scroll for large image(i tried the tricks)

    @Carl beat me to it, but I just did the same thing and using x results in a buttery smooth animation for me. I'd also recommend using the latest GSAP version (2.1.2). Happy tweening.
  8. PointC

    reset values for multiple 'from' commands

    clearProps works on your from() tweens, but visually, you won't see anything happen. If you start at x:0 and tween from x:300 and then clearProps, your element will be at 0 because the inline styles are gone and your starting point was 0. Here's a really quick example: One box is to() x:500 and the other is from() x:500. After the tweens complete, box 1 has style="transform: matrix(1, 0, 0, 1, 500, 0);" and box 2 has style="transform: matrix(1, 0, 0, 1, 0, 0);" When we clearProps, the inline styles are removed from both, but the only one that visually jumps is box 1. Make sense?
  9. PointC

    reset values for multiple 'from' commands

    I was a bit confused by the question too. immediateRender:false would be the way to get the y position tween to wait. I'm not understanding the x position set(). You want the circles to jump back to the starting point before the y position tween? Like this? PS I'd always recommend the latest version of GSAP (2.1.2 currently). You were using 1.18.4.
  10. PointC

    Effect ultranoir

    Yeah, that looks like a WebGL or canvas effect to me. Check out the links I provided and you'll see a lot of possibilities. Happy tweening.
  11. PointC

    Text Reveal Animation

    Hi @thinkbridget Welcome to the forum. There would be a variety of ways to do that. A really simple way would be to use divs and set the overflow to hidden. Maybe something like this: Depending on what you're doing, masks or clip paths would also be an option. Hopefully that helps. Happy tweening.
  12. PointC

    Mirrored Logo On Top Of Slider

    It would just be a matter of moving the reflected image an equal amount in the opposite direction. Here's a basic example. Maybe that'll give you some ideas. Happy tweening.
  13. PointC

    1 FPS with DrawSVG on Chrome + Mobile (FF works!?)

    Any particular device, OS and browser version? I just tested on a couple phones and tablets in Chrome and it played perfectly.
  14. PointC

    Effect ultranoir

    I don't know which effect you're talking about, but that site looks pretty complex. Probably a lot of canvas being used. Some popular libraries for effects like that are: Pixi http://www.pixijs.com/ Three.js https://threejs.org/ Happy tweening.
  15. PointC

    Stopping or resolving a dynamically created timeline

    I think @Shaun Gorneau was just waiting on some info about your overall goal in the other thread. But the main thing is that your issue is resolved. We're always glad to hear that. If you have any additional GSAP related questions, please let us know. Happy tweening.