Comments (4)
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.
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.
Might still leave this issue open in case another idea pops into my head, or if anyone else has any ideas
from vidseq.
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)
- Objects and transitions HOT 2
- Elements and Inheritance HOT 6
- Events and Boolean operations HOT 2
- Built-in Variables HOT 2
- Importing and using files for structure HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vidseq.