Unfold SVG shapes and lines
You can unfold most any SVG shape with a helper line. Squares, triangles, hexagons? Yep. It's easier than you think.
As the name implies, it's about motion. Specifically, web animation to get your pixels movin'. It's a collection of tutorials, tips and tricks that will hopefully help with your daily animation work.
My main focus will be real world projects. All lessons assume a basic working knowledge of HTML, CSS and JavaScript. Knowledge of SVGs and the GreenSock Animation Platform will also be super helpful.
Finally, I hope the site is a source of ideas and inspiration for you.
This isn't a place to learn basic coding. There are many wonderful sites to learn the basics. I also won't be using React, Vue, Angular or any other frameworks. All code will be written with vanilla JavaScript and I won't be animating anything with CSS keyframes.
It's also not about perfection. This website isn't perfect. I'm not perfect. You're not perfect. Well, maybe you are. I don't know you. I'm just trying to share knowledge, make some pixels move around the screen and have a bit of fun.
You can unfold most any SVG shape with a helper line. Squares, triangles, hexagons? Yep. It's easier than you think.
In part one of this two-part tutorial, you'll create SVG open paths for an animated handwriting effect.
If you'd like a quick and easy before and after SVG slider, you can make one with a SVG and clipPath.
We'll make a gooey shape smoothly glide to a new target via a custom SVG curve for a gooey navigation.
You'll learn how to move your target from one item to the next with an organic feeling, stretchy-style animation.
Learn how to get the correct path points out of Adobe Illustrator for smooth organic SVG morphing.
Using GreenSock's mapRange() utility method, we'll create four dials and interactively change the background color with (hsla).
Vector software for your SVGs? Sure, but sometimes it's easier and more flexible to create dynamic SVG elements with JavaScript.