Jump to content

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

PointC last won the day on April 11

PointC had the most liked content!


  • Content Count

  • Joined

  • Last visited

  • Days Won


PointC last won the day on April 11

PointC had the most liked content!

Community Reputation

11,991 Superhero

About PointC

  • Rank

Profile Information

  • Gender
  • 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

40,946 profile views
  1. I think I have a pretty neat solution here for getting a div to move back and forth. Think something like a yoyo, but horizontally. I'm still working on the reason the opacity doesn't go back to 100% on the second pass, but other than that, I'm pretty happy with it. Maybe I'll add a rotation this weekend if I have time. https://codepen.io/PointC/pen/WNRYpZY Edit: I'm kinda wondering if I can make it a little smoother too. I'll work on it.
  2. @akapowl - I set most of my forks for forum answers to private and they all still seem to be displaying correctly here so I'm not sure why you're getting 404. 🤷‍♂️
  3. Nope. Sorry - maybe that was confusing the way I worded it. You can override the defaults on individual tweens all you like. I meant the placement of the defaults when you create the timelines. Example: //bad const tlll = gsap.timeline({ delay: 1, ease: "none" }); //good const tlll = gsap.timeline({ delay: 1, defaults: { ease: "none" } }); The first way won't break the animation or anything like that, but you won't get your linear (none) ease as a default on the child tweens. Any defaults you want to filter down to the tweens need to be in that object. Make sense?
  4. You're close. A slight modification in the letter timeline and you'll be good to go. Just use scale:0 in your from tweens rather than a transform. const tlll = gsap.timeline({ delay: 1, defaults: { ease: "none" } }); // default object tlll.from( ".afex", { ease: "expo", duration: 1, scale: 0, transformOrigin: "center center", stagger: { each: 0.05, from: "random" } }, "bloom" ); Also note the defaults object when you create the timeline. In this case you're overriding the default with the expo, but I noticed a couple other
  5. Looks like you're changing the width in multiple media queries, but not changing the height. That seems to be locked in at 685. I think adding height: auto in your CSS here should fix things: .mainmmmdrop { position: absolute; right: 100px; overflow: visible; opacity: 1; height: auto; } You also have some invalid CSS in your 825px media query. @media all and (max-width: 825px) { .mainmmmdrop { max-width: 90vw; width: 1000; height: 685: } } Setting the width and height there shouldn't even be necessary since you have those attributes already in place on t
  6. As I've mentioned a couple times above, the stroke of the mask reveal path needs to be white, but your new demo has it set to black again. <!-- switch this --> <path d="M22.5,113.5c2-16,38-48,63,1s6,67,30,54,46,8,46,8,143,67,101-31" transform="translate(-20.52 -86.36)" fill="none" stroke="#000" stroke-miterlimit="10" stroke-width="4" /> <!-- to this --> <path d="M22.5,113.5c2-16,38-48,63,1s6,67,30,54,46,8,46,8,143,67,101-31" transform="translate(-20.52 -86.36)" fill="none" stroke="#ffffff" stroke-miterlimit="10" stroke-width="4" /> https://codepen.io/Poin
  7. SVGs don't support 3D transforms on child elements. You can use them on the SVG itself or a parent div. If you just want to have the z animation, you can probably achieve the same thing by scaling the element. Happy tweening.
  8. Ha. Whoops. I read ScrollTrigger, stagger & delay and then stopped reading.
  9. Hi @Figo We just had a thread showing some problems with using ScrollTrigger, stagger and delay. @GreenSock has a fix here: Happy tweenng.
  10. Hey @bartmc Thanks for being a Club member. Your thread seems to have been missed yesterday. Sorry about that. Here's an auto-play slider with prev/next buttons originally made by @OSUblake and updated to GSAP3 by @GreenSock. I think it should have most of what you need. https://codepen.io/GreenSock/pen/GRJwLNP Happy tweening.
  11. You can check out @ZachSaucier's article: https://css-tricks.com/tips-for-writing-animation-code-efficiently/ Tip #8 is all about returning tweens/timelines from functions and adding them to a master. Happy tweening.
  12. PointC

    Motion path control

    Just a curiosity question. Are you creating the path like that for a reason? I only ask because I'd just create the spiral in my vector software to my liking and be off and spinning. https://codepen.io/PointC/pen/PoWBYXm Again - just curious and just my two cents worth. Happy tweening.
  13. Just change the duration to your liking. Here's an updated GSAP3 version. https://codepen.io/PointC/pen/35157203ee19d7bc5cac465995fc69b8 Happy tweening.
  14. Now why would you infer that I meant you? There are two shiny new admin badges involved in this thread. It could be anyone really. 🤷‍♂️ I'd probably make something if I wasn't up to my eyeballs in course design work. Maybe @Shrug ¯\_(ツ)_/¯ wants to take a shot at it.