Giter VIP home page Giter VIP logo

progresscircle's People

Contributors

crossproduct avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

progresscircle's Issues

Support easing

Support some of the popular easing types, ease-in, ease-out, ease-in-out.

Support `set` functionality

Allow the current value for percent fill to be set on an instance regardless of whether it has been drawn already or not. The duration should explicitly be 0.

Support animating in reverse

Currently animations are only additive in nature and do not support any degradation, i.e. countdown. This is currently due to the way that the drawing is done, thus need to create an equally optimized way to calculate the reversal.

[Enhancement]: Add animation

If you think it wise and useful...

Allow the progress circle to animate from one value to another, either forwards or backwards(ie- 50% to 20%).

stopValue and set() using integers?

The Option stopValue and Function set() indicate an integer value between 0 and 1. Aren't these really decimal (float) values between 0 and 1? e.g. 0.25, 0.50, 0.75, etc.

It's easy enough to figure out, but slightly confusing, to me anyway. I think that either the documentation should be clarified, or the code changed to actually use integers between 0 and 100.

SVG draw commands leverage "A"

When generating the SVG element, or drawing in general, use the "A" command for arc to. Hopefully this will allow us to gain fidelity and reduce complexity of the SVG parsing.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.