Create a Fantastic BOUNCY Line with SVG & JS!

DesignCourse on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateUI25 min

About this video

A frontend tutorial that builds an interactive SVG line whose quadratic bezier curve responds to mouse position and bounces back into place when the cursor leaves the viewport. It is aimed at developers and designers who want to add motion to web interfaces.

What you’ll learn

  • Build an interactive SVG line that reacts to mouse position
  • Animate a quadratic bezier curve to create an elastic bounce effect