Vivus.js

Vivus is a lightweight JavaScript class (with no dependencies) that allows you to animate SVGs, giving them the appearance of being drawn. There are a variety of different animations available, as well as the option to create a custom script to draw your SVG in whatever way you...

Cost / License

  • Free
  • Open Source (MIT)

Platforms

  • Self-Hosted
  • JavaScript
-
No reviews
0likes
0comments
0news articles

Features

Suggest and vote on features
No features, maybe you want to suggest one?

Vivus.js News & Activities

Highlights All activities

Recent activities

No activities found.

Vivus.js information

  • Developed by

    FR flagMaxwellito
  • Licensing

    Open Source (MIT) and Free product.
  • Written in

  • Alternatives

    11 alternatives listed
  • Supported Languages

    • English

AlternativeTo Categories

DevelopmentPhotos & Graphics

GitHub repository

  •  15,454 Stars
  •  1,139 Forks
  •  22 Open Issues
  •   Updated  
View on GitHub

Popular alternatives

View all
Vivus.js was added to AlternativeTo by Paul on and this page was last updated .
No comments or reviews, maybe you want to be first?
Post comment/review

What is Vivus.js?

Vivus is a lightweight JavaScript class (with no dependencies) that allows you to animate SVGs, giving them the appearance of being drawn. There are a variety of different animations available, as well as the option to create a custom script to draw your SVG in whatever way you like.

Animation types

• Delayed: Every path element is drawn at the same time with a small delay at the start. This is currently the default animation. • Sync: Each line is drawn synchronously. They all start and finish at the same time, hence the name sync. • OneByOne: Each path element is drawn one after the other. This animation gives the best impression of live drawing.

Timing function

To give more freedom, it's possible to override the animation of each path and/or the entire SVG. It works a bit like the CSS animation timing function. But instead of using a cubic-bezier function, it use a simple JavaScript function. It must accept a number as parameter (between 0 to 1), then return a number (also between 0 and 1). It's a hook.

Scenarize

This feature allows you to script the animation of your SVG. To do this, the custom values will be set directly in the DOM of the SVG. Here is an example using scenario-sync. I would recommend you look at the source code and the readme file for more information.

Official Links