Jump to content
GreenSock

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

b1Mind

ShockinglyGreen
  • Content Count

    21
  • Joined

  • Last visited

Community Reputation

47 Newbie

About b1Mind

  • Rank
    Member

Recent Profile Visitors

272 profile views
  1. While your a handsome dood, I really love your brand! Just saying having a <to/mo> in there would not hurt . Not why I am posting though, wanted to saying thanks ( again!!) for doing such a great offer and give away. I am proud to say I took advantage of the offer since I did not win the give away. I am really looking forward to continuing my GreenSock education and use!! Only 14 hours left to get in on this amazing value, I highly recommend it !! https://ihatetomatoes.net/get-practical-greensock/ PS. Really looking forward to learning from Carl's Creative Coding Club too!! just overjoyed right now, can you guys tell?!? Cheers, B
  2. I love GSAP because its easy to use and has a great community. ๐Ÿ‘ ๐Ÿ’š ๐Ÿงฆ
  3. b1Mind

    Animating gradients?

    @Learning Maybe this can help get you started. I know its not quite what your after... but its defiantly possible. ๐Ÿง™โ€โ™‚๏ธ I might tinker more later by adding some more overlays or try some masking, it looks like they are doing it in canvas which is also possible with gsap but out of my knowledge box. --edit I think using CSS vars is a decent way to go about it, because you can animate the pseudo props too. Canvas or SVG might be more fluid for the wave/motion. https://codepen.io/b1m1nd/full/VweEeog
  4. @toye Hi and Welcome to the forums! Being new to gsap you are in the right spot for help. Pretty sure bezier is now MotionPath in GSAP3 so you will want to upgrade and use it. Also help us help you! Best thing you can do is make a codepen of the issue and post it with your question. This way people are not stabbing in the dark. Enjoy! Cheers!
  5. @fogseller I think you mean ScrollTrigger plugin as "scrollmagic" is not a GreenSock plugin its another js lib entirely. What you want to achieve is totally doable though with GSAP.ScrollTrigger! here is an example you could use to get started! If you have a specific question about gsap or scrolltrigger make a minimal codepen of the issue then explain it well, and you are bound to get lots of help! Enjoy! https://codepen.io/GreenSock/pen/KKpLdWW
  6. Congrats on your new journey, can't wait to take part in it! Your "first year of gsap" post moved me so much... and your work inspires me on a regular basis. I don't even know how to express my gratitude for you sharing all this with us. What a fitting way for you now to spread your passion on to the future.๐Ÿ‘
  7. Hi @Marina its an issue because stagger needs an array. When your looping through each element and adding the timeline to them individually its still animating but has no siblings to stagger with. gsap.registerPlugin(MotionPathPlugin); let cabezas = document.querySelectorAll('.cabeza'); const r = 6; let tl = gsap.timeline(); tl.to(cabezas, { motionPath: { path: `M ${-r}, 0 a ${r},${r} 0 1,0 ${r * 2},0 a ${r},${r} 0 1,0 -${r * 2},0z`, }, duration: 5, repeat: -1, ease: 'none', stagger: 0.5, }); Strip it out of the loop and it behaves ... well it staggers
  8. @GreenSock No ofc not, I welcome it! So I kinda understood that already about Timelines. Not sure what I was doing there, at one point I had it as a .from and a .to with different durs and lastColor... hence the timeline vs a tween. ๐Ÿ˜ต๐Ÿฅด lol. --edit: I am still really grasping when to use the different tween types better. Now I realize I don't need the .from at all because gsap always tweens the current style of the element (which was changed by gsap already from the last tween in the "loop"). (whats odd is that what is making the function run? just noticed I had deleted the invoke ... so some how its calling the onRepeat, without the duration in the timeline it breaks... heh) There is def some Greeny ways I need to pick up on Forked my pen going to go crazy later with you and Mikels examples. I will update this post with a new pen after I play some cause that looks like fun. ๐Ÿ‘ Seriously makes life simple... and after the 3.4.0 update look like its even easier .... just too cool ๐Ÿ˜Ž https://codepen.io/b1m1nd/full/JjGLbjK
  9. ๐Ÿ˜‚ It is so beautiful. ๐Ÿ‘you make B so happy! I had forgot about gsap.ultils , going to have to revisit as I remember lots of goodies in there ...
  10. @wuergeengel welcome ! I too love Greensock ๐Ÿ’š๐Ÿงฆ If you ever have issues I would try to put together a codepen and ask your question with it attached at the bottom. This helps the others help you better. So I was curiously about this my self just had not had a chance to tinker with it. After almost nuking my browser twice in crazy loops I think I maybe narrowed it down a little bit but have to stop here for now. I am hoping one the pro's jumps in with a better solution, cause I don't think this is the way. https://codepen.io/b1m1nd/pen/BajrzJo?editors=0010
  11. @GreenSock Is it still an ok practice to do simple CSS transitions with no transforms? And still be animating the element with Gsap ? like even if its a pseudo like so? cause JS and pseudo don't get along well. https://codepen.io/b1m1nd/pen/NWxyLJO?editors=0110
  12. @hugokhua Hey I like where you going with this for some reason ... lol Try adding ScrollTrigger.refresh() , worked for my test. $('.s2').on('click', function() { $('.s1').css('display', 'none'), ScrollTrigger.refresh() // <--- this will update all scrolltriggers on the page })
  13. <div class="moveMe"> <h1> Hi world </h1> </div> // then gsap.from('.moveMe',{ opacity:0,y:200,duration:5 }); @Lichay Your issue is in specificity. GSAP does not break your css, it is applying a inline transform to your element (cause that's what it does). So you need to split up your transform, maybe have gsap animate a parent element. Then have your hover on the h1.
  14. So I had a chance to revisit this and seems like the issue has noting to do with a child pin inside a parent pin. Its jumps and hops when giving a srollable prop to a pin period. If you comment out the first pin in my demo you can see this. Also looks like the locomotive pens have the same undesired effect in mobile. Has the same effect on android and looks like ios mobile devices. I don't know enough about how it works under the hood. I do love to test though.... Seems like it has to do with the body scroll speed and then the element scroll speed. Cause if I scroll about the same speed on the body then the element it seems to not jump(or as much). If I make small jerky scrolls on the body, then scroll on the scrollable element hops really really bad.
  15. https://greensock.com/docs/v3/GSAP/Timeline I really recommend looking at the docs for better examples and to understand how much control you have in timelines. this is how I typically start my timelines if I want to base the animation on the start of the tl ( but you can name it anything) tl .add('start') .to(something, {}, 'start') .to(something2, {}, 'start')
ร—