Giter Club home page Giter Club logo

Comments (1)

legomushroom avatar legomushroom commented on April 28, 2024

@JoeDMitchell hi, thanks for starting the discussion. Sometimes it is hard to understand an issue by reading just generalized text so it is always a good idea to make a simple live code sample, it would be so much helpful to understand the pitfalls you are struggling with.

Currently, there is no public method to remove a bunch of then shapes in the APIs but I can add it as it might be useful. For now, you can probably hook into an onComplete callback on some of the then blocks to pause the tween. codepen demo

If you will need to continue adding the then calls afterwards, you can just use the setProgress method to start just before the last then call. codepen demo

Hope it helps, please let me know if it works for you. Would also highly appreciate if you will share your thoughts on how to optimize it. Maybe relative labels can smoothen the experience for you? Or the ability to run the animation in some time period, like play( 500, 1600 )?

from mojs.

Related Issues (20)

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.