GithubHelp home page GithubHelp logo

[suggestion] Curve-Bezier about tween.lua HOT 3 CLOSED

kikito avatar kikito commented on August 12, 2024
[suggestion] Curve-Bezier

from tween.lua.

Comments (3)

kikito avatar kikito commented on August 12, 2024

Hi again,

The easing functions are not limited to the ones present in tween.easing. If you pass a function as easing parameter (instead of a string), it will be used by the tween directly.

I don't know love.math.newBezierCurve in order to know how to do it, but I am sure it is possible. Please give it a try and reopen this issue if you need more help (I would also appreciate it if you could add a comment with an example if you manage to do it)

Regards, and happy new year!

from tween.lua.

pablomayobre avatar pablomayobre commented on August 12, 2024

The code up there actually works perfectly I just wanted to point this out for future referente, cause other users may find it useful.

Sorry, this is not actually a suggestion I guess, more like a note that you can implement curve bezier into tween.lua this easily

Thanks for your work Kikito, tour libs are always amazing and super useful

from tween.lua.

kikito avatar kikito commented on August 12, 2024

This is what happens when I read issues the day after new year's eve :)

I have added a new section to the Readme for custom functions and I have included your example. Thanks a lot! ^^

from tween.lua.

Related Issues (16)

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.