
bdrtsky
-
Posts
58 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Store
FAQ
Showcase
Product
Blog
ScrollTrigger Demos
Downloads
Posts posted by bdrtsky
-
-
Good day. kinda dumb question, but recently I found awesome Pen from one of forum members and didn't save it.
It was SplitText effect, where words appeared like this - https://tobiasahlin.com/moving-letters/#4
But the interesting part was that it calculated the word length and for long words the pause was longer.
Can you please help me to find it? It was one of you guys
-
Thank you for your answers and examples, guys! Very helpful.
-
Ok, I fix it by using Vue.js `transition`
Still wonder about `vanilla` way ?
-
Following my previous question about looping. After I tryed to modify it a little bit to add overlaping (so the next animation trigger not after previous completely ends, but slightly earlier) I have issue that I can't solve.
First I tried to use simple setInterval. Works fine on first sight, until I switch browser tabs. After that looks like asynchronisation is happens.
My question is, how do I loop animation, but add some shift on next animation start? delay is not helping in this case -
What I need is both elements start to animate in the same time (one leaving, the other entering). Is there some native API for this? because setInterval is not working.
-
@PointC yes! Awesome! I tried a few values, still don't really following the logic, need to reread the Docs once again. Thanks!
-
Hello again everyone on this great forum.
I started to play with DrawSVG and have a question. I bet it was asked thousand times before, I read some answers, still confused about the sythax and principle of work.
Here, checkbox animated from left to right and then from right to left. But how to make second (exit animation) animation also move from left to right?
-
@PointC actually, I like your solution! Didn't think about that I can loop it this way. This is awesome!
-
2
-
-
UPD, got it, I need to `el.setAttribute("d", this.paths[0])`
Thanks guys!
-
1
-
-
@GreenSock thanks! In my actual app code I have "ERROR: malformed path" error. What could cause it?
-
@PointC yes, like this, thanks. Beside one part - how to actually loop it? If I add repeat: -1 it jumps to first shape, not morphing
And I want to maintain the order, so yo-yo will not work.
-
The result what I need is here, but I can't write timeline manually (whant to just pass the array of data) -
See the Pen rOjeRq by GreenSock (@GreenSock) on CodePen
Probably some "timeline builder" function, not sure how to do that better...
-
-
Here you just creating 5 separate shapes with the loop. This is not what I am asking.
-
But you don't loop between array of shapes here. You just switching 2 shapes. I need more then 2.
-
Interesting, how (and why?) you using react, if you didn't learn how to use npm? You installed it globally. Of course you will not find it in node_modules.
-
Hello, guys!
Let's say I have an array of paths. Is there a clean native way to loop between them? First shape, second etc...I mean, I probably could setTimeout and then loop manually, but is this the right way?
-
Oh wait. I can! I can define this in inside this function, not on master. Cool! Thanks!
Much simpler then I expect.
-
2
-
-
I can't, this animation is only a part of the bigger one.
-
-
OK, I ended up like this, case closed
const rem = parseFloat(getComputedStyle(document.documentElement).fontSize) TweenMax.to(circle, 0.5, { x: e.clientX - rem/2, y: e.clientY - rem/2 })
I assume there's like a zillion different units in CSS that needs to be implemented so calc could work smoothly, so it's bettter to do that in JS.
-
1
-
-
Good day, everyone.
I am trying to do so
TweenMax.to(circle, 0.5, { x: `calc(${e.clientX}px - 0.5rem)`, y: `calc(${e.clientY}px - 0.5rem)` })
But it's not working. Can I do that? Tryed to google, saw a bunch of bug reports, but looks like people using it? How?
-
I still can;t believe this forum exist. How I lived without it and your support?
-
2
-
-
-
Thank you, I will try that!
But it ends on z 0? so I will need third to I guess?
Please help to find that pen
in GSAP
Posted
@GreenSock yes, this is it! Thank you! And if you don't mind I'll kinda "steal" it too ?
This demo is so amazing. I was literally laughing while looking at it.