Skip to content

Instantly share code, notes, and snippets.

View ZeroSpree's full-sized avatar
🏠
Working from home

Codrin Pavel ZeroSpree

🏠
Working from home
View GitHub Profile
@joemaller
joemaller / svg-animate.js
Last active April 15, 2019 16:06
Vanilla JS SVG line animation helper, works in IE
/**
* Initialize animation on an SVG path or set of paths, this returns a controller
* object
*
* var lines = animate({
* parent: "#someElement",
* selector: ".theActualLines",
* duration: 2500
* })
*