Vivus is a lightweight JavaScript class (with no dependencies) that allows you to animate SVGs, giving them the appearence 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. Every path element is drawn at the same time with a small delay at the start. This is currently the default animation. Each line is drawn synchronously. They all start and finish at the same time, hence the name `sync`. Each path element is drawn one after the other. This animation gives the best impression of live drawing. 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.

Features

  • Scenarize feature allows you to script the animation of your SVG
  • It's possible to override the animation of each path and/or the entire SVG
  • Every path element is drawn at the same time with a small delay at the start
  • Each line is drawn synchronously
  • Each path element is drawn one after the other
  • Vivus will provide a warning in the console when it detects stroke scaling

Project Samples

Project Activity

See All Activity >

Categories

Animation, Libraries

License

MIT License

Follow Vivus.js

Vivus.js Web Site

Other Useful Business Software
Resco toolkit for building mobile apps Icon
Resco toolkit for building mobile apps

A no-code toolkit for building responsive and resilient mobile business applications for Microsoft Power Platform, Dynamics 365, Dataverse and Salesfo

Deploying mobile apps with Resco takes days, not months—all without writing a single line of code. Workers can download the Resco app from AppStore, Google Play, or Windows Store, log into your company environment, and instantly use the app you have published on any device.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Vivus.js!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Animation Software, JavaScript Libraries

Registered

2021-04-20