Giter Club home page Giter Club logo

Comments (4)

Magnogen avatar Magnogen commented on September 25, 2024

Might just go with the shortest, it doesn't add more than one syntax, just the transition.

Although... The function-like one at the end does explain how the code works under the hood.

Y'know, I'm not sure, coz it doesn't really look like a function, it just seems like it. Idk.

from vidseq.

Magnogen avatar Magnogen commented on September 25, 2024

Okay it wouldn't make sense to have different ease functions on the same object at the same time, unless you were specifically wanting that for demonstration purposes.

I'm not a fan of the scopes or colon, so I'll stick with the first one - it makes sense, and you can definitely think of the length and easing function as a modifier to the transition, and the first syntax reflects that.

from vidseq.

Magnogen avatar Magnogen commented on September 25, 2024

Might still leave this issue open in case another idea pops into my head, or if anyone else has any ideas

from vidseq.

Magnogen avatar Magnogen commented on September 25, 2024

Okay, applying multiple transitions to different objects feels like a win. Could use a comma for that? I don't know why I didn't think of that before.

subject1, subject2 -> { }, { } 0s linear;
subject1, subject2 -> { }, { } 0s;
subject1, subject2 -> { }, { };

I suppose if someone wants to apply the same transition to different objects, it could be like this:

subject1, subject2, etc -> { } 0s linear;

Note, you can use the same amount of final values as the inputs, or just one and apply it to all inputs - you can't apply 2 final values to 3 inputs, or anything like that

from vidseq.

Related Issues (6)

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.