andreasplesch / aframe-keyframes-component Goto Github PK
View Code? Open in Web Editor NEWkeyframe interpolation for aframe
Home Page: https://andreasplesch.github.io/aframe-keyframes-component/examples/basic/
License: MIT License
keyframe interpolation for aframe
Home Page: https://andreasplesch.github.io/aframe-keyframes-component/examples/basic/
License: MIT License
Do not deduplicate . The intention of duplicate keys is to allow for a jump from one end value to a start value. The simplest implementation is to replace duplicates with a minimally larger number, eg.
0, 0.5, 0.5,1
0, 0.5, 0.5000001, 1
Check if there is a THREE.epsilon .
This avoids additional checking in the easing function which is called a lot.
expose tween interpolation methods
Check what a-animation does
[0,1] is only useful for a single to value. Change default to [0, 1/n, 2/n, n/n]
n = to.length -1
check if component pause and play make sense:
A-animation takes care of pause and play, should work.
Test
investigate. Tween seens NaN as from if not given.
Check if all .properties need from, eg. material.color
may have to do with Tween array.
tests for regular use with single to value and no keys
: basic example
tests for incorrect number of keys: too many should be ignored, too few filled in.
tests for weird values in to
tests for duplicate keys: basic example
and decreasing keys
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.