Jump to content
Search Community

Elicrespo

Premium
  • Posts

    23
  • Joined

  • Last visited

Everything posted by Elicrespo

  1. Yes, it helps. Thank you so much Jack. @GreenSock
  2. Hey guys, I am trying to use and learn about onUpdateParams. The targetSelector is passing but the "{self}" isn't passing and I can't access the tween. What monstrosity am I committing here? LOL Yes, the commented code works, but I am focused on "onUpdateParams". Thank you. Appreciate the help.
  3. Hey guys, Just a quick question about ScrollTrigger markers, I know we can create a marker object and customize our markers css, but can we give them names or id? so I can toggle them on n off?? I thought I did that in one of my projects but forgot, not sure. I appreciate the help.
  4. Hi @akapowl, First, thank you for your response, and I appreciate your help. The ellipse isn't orange and can be unclear. My bad. I also agree that it isn't a GSAP question. But it is a GSAP learning project; I have posted a couple of questions regarding the GSAP part, and the context is building animations with GSAP. The middle button section is intentional to learn how I can apply the same GSAP animation on separate sections. Next time, I'll strictly post GSAP-related questions. Cheers.
  5. Hey guys, Wondering what am I missing to make the button clickable??! do I need to set up a class an toggle z-index?? I want to keep the small orange ball cursor. And since the SVG that covers the whole page has a higher z-index than the button wrapper "_40vh", why can't I click on it?? Why is the "_40vh" div above the SVG?? Thank you
  6. Good share @alig01. Good examples in the article. Yes, @Trapti s solution is better suited for what i m trying to create. I'll try and share the end result when I'm done. And yes, I would love to see your project as well. Thank you
  7. I tried the quickTo() which fixed my cursor position and the small ball cursor shape displaying within the entire section. Thank you @Rodrigo
  8. @Trapti Yeah I was wondering whether it was healthy to wrap the whole thing inside an SVG. I'm gonna try it out. Thank you
  9. Very interesting @mvaneijgen I'm learning more about GSAP. Thank you.
  10. Hey guys, Why isn't the big orange ball's center aligned to the cursor on hover? I have 2 sections where i use the cursor to unmask hidden content. I'm aware I'm animating it on mouse enter on hover_container, to which the hidden text is positioned absolute. But it switches to normal cursor when it leaves the div. I would like the cursor to maintain the small orange ball state across the entire page. How can I do that if I'm using svg to mask and unmask content in different sections of the page? Do I just need to create a cursor of the same 20px x 20px and have it z-index higher than everything and toggle it on and off?? Thank you
  11. That is exactly what I want. Thank you so much @GreenSock
  12. Yes, indeed. It is a codepen issue. Thought I could do something about it. Thank you @GreenSock
  13. Hey guys, I have an issue with my animation, when the pixels travel from left to right and yoyo back, the timeline stops for a second, you can notice a delay until the timeline starts again. Both of them do that. I would like it to be continuous, just like when the pixels arrive to the right side and bounce right back. I want the pixels to bounce again as soon as they arrive to the left side. What am I doing wrong?? How can I overcome this? Thank you.
  14. Hey guys, I'm working on a GSAP animation inside of a new private pen on Codepen, and of course I use the chrome inspector to check my errors and code. I keep getting this error "unrecognized feature web-share". How can I overcome this? Thank you
  15. You are right @cassie. I learned a lot from this one. Appreciate your help.
  16. Hey @Cassie, Thank you, that is a very informative post. I didn't know I was creating hundreds of tweens, that is not good for performance. I relied on the SVG being naturally responsive, but it wasn't responsive for me in webflow, even the pen you shared above isn't responsive, Or it is responsive but You can't see the right end of the animation. Upon window resizing in your video above, the animation gets messed up. I kept adjusting the parameters until I realized the distance is whatever viewport x width is minus the pattern width. Which also confirmed I don't need to calculate the window/container width, now the animation is contained. I also got rid of the timeline, it wasn't working for me here. I split them to separate tweens. Here is a responsive version, and very close to what I want to accomplish: And thank you again <iframe height="300" style="width: 100%;" scrolling="no" title="Staggerfall" src="https://codepen.io/elicrespo/embed/MWZYKOv?default-tab=" frameborder="no" loading="lazy" allowtransparency="true" allowfullscreen="true"> See the Pen <a href="https://codepen.io/elicrespo/pen/MWZYKOv"> Staggerfall</a> by elias (<a href="https://codepen.io/elicrespo">@elicrespo</a>) on <a href="https://codepen.io">CodePen</a>. </iframe>
  17. Thank you @mvaneijgen, I understand, and you are right; moving forward, I'll include a minimal demo to be more direct and save everybody's time. Lol it is hard on the eyes especially on white. I am aware that the timeline duration is split between the tweens, but this time I wasn't thinking about that. Yes, it is 0.25 instead of 0.5. Thank you. I appreciate your help.
  18. Hi @mvaneijgen, Thank you. I appreciate your reply and all the edits. Yes, I intentionally left the html commented, as I supplied the link to the live page where you can see the animation and any changes to JS will be reflected. Here is the link again: https://photo-spread-gsap-flip.webflow.io/staggerfall. The animation isn't fully visible in Codepen. If you could visit the page above just to have a reference. I have tried and tested all of the position parameters. The desired effect is to have the the second tween start 25% into the first tween. Adding a 0 as position parameter will have everything start at the same time, which is not the desired effect. Adding "<50%" makes the odd patterns stop animating. Adding "-=50%" makes the even patterns stop animating. I tried 0.2, 0.5 and 0.7 and all patterns animate at the same time. I tried "-=0.2" and they alternate which I had before adding any position parameter. I tested all of these in the pen you edited and shared above. The position parameters don't behave as expected. I have used them heavily in other projects. But this is the first time on an SVG. I'm trying to create this effect in the images below. The odd pattern animates just a little bit behind the even pattern: Again, thank you so much.
  19. Hey guys, On window resize, the SVG and the animation width don't dynamically update, or I am missing something. How can I fix this? Here is the webflow live page connected to codepen: https://photo-spread-gsap-flip.webflow.io/stfall Thank you
  20. Hey guys, Adding position parameter to the second tween makes it stop working. What am I missing? Here is the link to the live site connected to codepen: https://photo-spread-gsap-flip.webflow.io/staggerfall Thank you
  21. Hi @Cassie, Thank you for your reply. So I want to create the effect shown in the screenshot without creating another pattern since It's gonna add another 36 lines of code. Yeah, It makes sense. I guess I'm going to add more lines of code. Thank you
  22. Hey guys, I have defined a rect pattern made of 6 squares x 6 squares, so 36 making a bigger square. Then, I filled other patterns with the same #pattern-1 and placed them to stack on top of each other. Then I used GSAP to stagger animate the little squares by targeting the rects inside the #pattern-1. Now all the patterns animate at the same time. What I want to do is delay every other pattern, so the even or the odd ones delayed by a little so they start at different times. I'm having a hard time targeting or selecting the different instances odd or even siblings to animate them separately?? Take a look at at the codepen. Also here is the live page: https://photo-spread-gsap-flip.webflow.io/stfall Also, here is the read only Webflow session link if it helps: https://preview.webflow.com/preview/photo-spread-gsap-flip?utm_medium=preview_link&utm_source=designer&utm_content=photo-spread-gsap-flip&preview=3c379c22c75a1399b4b82b1d5fd5bc97&pageId=64dfa480e1ce496bdd07bc8f&workflow=preview Thank you
×
×
  • Create New...