Jump to content

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

PointC last won the day on September 15 2019

PointC had the most liked content!


  • Content Count

  • Joined

  • Last visited

  • Days Won


PointC last won the day on September 15 2019

PointC had the most liked content!

Community Reputation

8,978 Superhero

About PointC

  • Rank

Contact Methods

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

31,205 profile views
  1. Already fixed?? Did you travel to the future and read my question before I posted it? ? Yep — latest release works great — thanks.
  2. Did something change with height:"auto" and using the default duration? In release 3.01 I did not need to set a duration to make that work properly. In 3.04 I seem to need a duration. Without a specified duration, the height just snaps to 100% and the timeline won't reverse. My demo shows the incorrect snapping open behavior with 3.04. If you uncomment line 5, everything works. Or you can leave the comment and switch to 3.01 and also see the expected behavior. https://codepen.io/PointC/pen/gObGwrz Happy New Year all! PS Is the pen embed broken?
  3. Welcome to the forum. You can't use 3D transforms on SVG child elements like that, but you can fake the rotation with a scaleX animation. gsap.to(".yellow-triangle", { duration: 1.5, scaleX: 0, transformOrigin: "50% 50%", repeat: -1, yoyo: true }); https://codepen.io/PointC/pen/OJPpaZq Happy tweening and welcome aboard.
  4. Yep, you can use DrawSVG and a mask to animate the dotted line and animating on scroll should be pretty easy by allowing ScrollMagic to hijack the tween. We're more than happy to help if/when you get stuck. Please post an updated demo to show your progress and any new questions. Happy tweening.
  5. You're trying to get path data from the whole SVG. You'll want to use your path ID of Path-3. var motionPath = MorphSVGPlugin.pathDataToBezier("#Path-3", { align: "#plane" }); You'll also need to move that image inside the SVG or you'll get BBox errors. Use something like this: <image id="plane" xlink:href="https://cdn.pixabay.com/photo/2013/07/12/13/56/paper-plane-147602_960_720.png" x="0" y="0" width="150"/>
  6. I forgot the link to that method above. https://greensock.com/docs/v2/Plugins/MorphSVGPlugin/static.pathDataToBezier()
  7. This is the MorphSVG plugin — it has a pathDataToBezier() method which helps animate elements along a path. It is a bonus plugin for Club GreenSock members. https://greensock.com/club/ You can try it and any other Club plugins for free on CodePen. Check this pen for links and info. https://codepen.io/GreenSock/pen/OPqpRJ Happy tweening.
  8. This is from another project, but may help. See how the target follows the path on the first tween, but draws the path on the second part. https://codepen.io/PointC/pen/WpPRxo Lines 12-14 are the important part. tl.add("label") tl.to("#path2", 3, {drawSVG:true}, "label"); tl.to("#target", 3, { bezier:{values:motionPath2, type:"cubic"} }, "label"); By using a label, both tweens play at the same time. One animates the target along the path while the other draws the actual path. Hopefully that helps a bit. Happy tweening.
  9. You can set the plane to follow the path in the SVG and then, as @ZachSaucier mentioned above, use DrawSVG to animate the stroke of the path drawing at the same time. If the path is dotted like your example, you'll need to use a mask to reveal it. I wrote about that here:
  10. I'm confused — is the plane supposed to follow the dotted path or your bezier coordinates path? You also want the dotted path to draw on as you scroll? Is that right?
  11. Just paste the link into your reply.
  12. It sounds like you're looking for the onReverseComplete callback. let animateMenu = new TimelineMax({onReverseComplete: yourFunction}); More info in the docs: https://greensock.com/docs/v2/TimelineMax If you have other questions, a demo is always helpful. Happy tweening.
  13. Good grief. It's back. The last time you posted that demo I couldn't get that song out of my head for several days. Thanks a lot Blake.?
  14. Hi and welcome to the forums. I'm not quite sure I follow what you're trying to do, but your pen is loading the text plugin — not SplitText. Check out this demo for CodePen safe versions of the Club plugins. https://codepen.io/GreenSock/pen/OPqpRJ SplitText breaks the text into divs so I'd recommend creating separate SplitText elements for each phrase and animating them rather than trying to change the innerHTML between tweens. Hopefully that helps a bit. Happy tweening.
  15. You'll need to check the distance from the top for each element and figure out how many rows you have. Then you can create a scene for each row and stagger the targets. You'll use a global trigger element, but set an offset for each row. Here's a demo from a different thread, but shows the technique. https://codepen.io/PointC/pen/aeJxJE This is not responsive. You'll need to make adjustments and listen for a resize event if that's a requirement for your project, but it should get you started. Happy tweening.