r/Frontend • u/mikaelainalem • Aug 03 '20
Using velocity-based SVG morphing to create motion effects
1
Aug 03 '20
You should write an article on medium on how to pull this off. Just the animation part to keep it simple.
4
u/mikaelainalem Aug 03 '20
I almost have. https://medium.com/better-programming/how-to-use-usedrag-with-react-134b02b58da3 discusses a quite similar scenario
3
u/abhirathmahipal Aug 04 '20
Let aside the functionality for a bit, event the designs and colours are neat :)
1
u/ConduciveMammal Aug 03 '20
Look into SVG symbols. That’ll help keep the main code base much cleaner without all that SVG code filling the space.
1
1
1
0
Aug 03 '20
Are you from Ethiopia?
2
0
u/bei60 Aug 03 '20
I'm not a web developer, but why is the code so long just for this animation? Don't get me wrong, it's thea cleanest thing I've seen!!
2
u/ex47 Aug 03 '20 edited Jun 20 '23
kinda like a lot of the same thing
1
u/bei60 Aug 03 '20
You mean it's a base64 image?
1
u/ex47 Aug 03 '20 edited Jun 20 '23
very good morning and I don't know what you have 🍩 to to a 🍩
2
u/mikaelainalem Aug 03 '20
It's to host it on Codepen. Asset management is only pro version of Codepen. I like Codepen though. Might go pro one fine day..
0
Aug 03 '20
[deleted]
5
u/mikaelainalem Aug 03 '20
Go ahead, Codepen is MIT license, free to use. I don't mind attribution, no requirement though
2
17
u/Thecongressman1 Aug 03 '20
any examples on how to pull this off?