Jump to content

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

mikel last won the day on October 31

mikel had the most liked content!


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by mikel

  1. Hey @ex-homedepot-cashier, The explanations from Sahil are fully correct. If you want to implement something like an intro ... https://codepen.io/mikeK/pen/MWWReKz Happy tweening ... Mikel
  2. mikel

    Draw svg line on scroll

    Hey @DD77, 'scrolling path': Zach is right. It is one point too much. Delete the last point (453.56 206.44). Timing: That's a little trial and error. To see the running endpoint of the path - more or less - in the viewport, I've set the svg narrower here and the timing of the drawSVG animation on 2.8. In addition, the svg is set lower (lower than 'triggerHook: 0.2') to see the start. The timing of the BALLS must of course be adjusted. https://codepen.io/mikeK/pen/MWWxMzN I hope it helps you. Mikel
  3. mikel

    gsap 3 upgrade issues

    Hey @ericshew, CodePen: Try a small part of your page. And see if an error occurs. If you mean with Docs of V2, use the button here Best regards Mikel
  4. Hey @Juraj,, You could call your function with an onComplete stAnim.staggerFrom(mySplitText.lines, 2, { opacity: 0, y: 30, transformOrigin: "0 0", rotation: 8, rotationX: 15, ease: Quart.easeOut, clearProps:"all", onComplete:allDone }, .175) // . }, .175, allDone); function allDone() { mySplitText.revert() } Happy tweening ... Mikel
  5. mikel

    Sticky Cursor

    Your links need a concrete position ...
  6. mikel

    Sticky Cursor

    Hey @Hector18, That's how it could work ... https://codepen.io/mikeK/pen/bGGzreG Happy tweening ... Mikel
  7. Hey @Cassie For such cases @OSUblake comes into play ... https://codepen.io/osublake/pen/PzbqWW Happy swinging ... Mikel
  8. Hey @qqignatqq, Sorry - unfortunately I did not realize your intention 'mousemove'. https://codepen.io/mikeK/pen/jdaJrw Happy tweening ... Mikel
  9. Hey @qqignatqq, There are a number of options to combine the tweening of x and scale. You can also vary the transformOrigin. https://codepen.io/mikeK/pen/jOOXoqZ Happy tweening ... Mikel
  10. Hey @Yes!, I am lost: what effect do you want to achieve? Using the new gsap 3 you have the possibility of function based values - here an example https://codepen.io/mikeK/pen/pooqrQp Happy tweening ... Mikel
  11. Hey @Wayrse, const tl = gsap.timeline({ paused: true }); // no 'new' tl.to('.circle', {duration:1, x: 100}); //duration is now a property of the vars object const button = document.querySelector('button'); // works as usual button.addEventListener("mouseenter", function(){ tl.play(); }); button.addEventListener("mouseleave", function(){ tl.reverse(); }); Regarding gsaps 3 please have a look release notes. Happy tweening ... Mikel
  12. Hey @Page Tailoring, Just do it ... https://codepen.io/mikeK/pen/WNNLbLZ Happy tweening ... Mikel
  13. Hey @Yes!, If I understand your issue correctly, I'm not sure. You can e.g. use margin-right and a neg stagger number (tweens the array of targets starting from the last) https://codepen.io/mikeK/pen/KKKbPJY Happy tweening ... Mikel
  14. Hey, Just one option - using gsap 3.0 https://codepen.io/mikeK/pen/jOOQRoz Happy tweening ... Mikel
  15. Hey @qqignatqq, Let gsap do the job - better no css transforms. Here is a possibility: https://codepen.io/mikeK/pen/VwwGgEx Happy tweening ... Mikel
  16. Hey @mimeartist, It is still there. However, the codePen example still runs on V2 - here V3 https://codepen.io/mikeK/pen/GRRXjwy Happy tweening V3 ... Mikel
  17. Hey @Loque, Welcome to the GreenSock Forum. You could use the stagger property together with function-based values ... https://codepen.io/mikeK/pen/BaaOjEP Happy tweening ... Mikel
  18. mikel

    Text Glow

    Hey @jdw, Welcome to the GreenSock Forum. Your code is working as expected. Should it flicker? Or what ... Examples of how 'neon font' can be implemented you can find on CodePen. https://codepen.io/mikeK/pen/ae5576e80f4f8d25a946fc4c657d8810 Happy tweening ... Mikel
  19. Hey @jp_uk81, Maybe this pen helps ... function mapToPath() { var path = MorphSVGPlugin.pathDataToBezier(orbit, {align:planet}); //create a tween of the planet along that path and jump to the progress that the timeline is at. TweenLite.to(planet, time, {bezier:{values:path, type:"cubic"}}).progress(action.progress()); } https://codepen.io/mikeK/pen/gyYWEe Happy tweening ... Mikel
  20. mikel

    Data Visualization

    Hey @aloz, Welcome to the GreenSock Forum. An absolutely representative survey showed ... https://codepen.io/mikeK/pen/bGGvQRM As you can see, almost everything is possible. Happy tweening ... Mikel
  21. mikel

    Parallax Effect

    Hey @Ilkin Namazov, Welcome to the GreenSock Forum. Here is a tutorial from @PointC. Try demo 8 ... Happy tweening Mikel
  22. Hey @Gerben Bergman, Please study the above posted topic ... Here an example with the gradient solution of @PointC https://codepen.io/mikeK/pen/vYYRYEg Happy study ... Mikel
  23. Hey @AJT, Welcome to the GreenSock Forum. You could use a cockie. Take a look at this example. Your cockie would be 'homeVisited' and the conditions as needed. Happy tweening ... Mikel
  24. Hey @st3f, You could add a transformPerspective : https://codepen.io/mikeK/pen/MWWQJOY Happy tweening ... Mikel
  25. Hey @hhkp, Since you do not show your case live in a CodePen, I guess: If you use ScrollMagic - uncomment line 19. The magic code is reverse: false. https://codepen.io/mikeK/pen/NmVNpd Or if its this constellation - just invalidate the timeline https://codepen.io/mikeK/pen/bRByJQ Happy tweening ... Mikel