1The MIT License (MIT) 2 3Copyright (c) 2015 Bodymovin 4 5Permission is hereby granted, free of charge, to any person obtaining a copy 6of this software and associated documentation files (the "Software"), to deal 7in the Software without restriction, including without limitation the rights 8to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9copies of the Software, and to permit persons to whom the Software is 10furnished to do so, subject to the following conditions: 11 12The above copyright notice and this permission notice shall be included in all 13copies or substantial portions of the Software. 14 15THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21SOFTWARE. 22 23 24################################################################################ 25# License headers for subpackages 26################################################################################ 27 28Transformation Matrix v2.0 29(c) Epistemex 2014-2015 30www.epistemex.com 31By Ken Fyrstenberg 32Contributions by leeoniya. 33License: MIT, header required. 34 35 36################################################################################ 37 38Copyright 2014 David Bau. 39 40Permission is hereby granted, free of charge, to any person obtaining 41a copy of this software and associated documentation files (the 42"Software"), to deal in the Software without restriction, including 43without limitation the rights to use, copy, modify, merge, publish, 44distribute, sublicense, and/or sell copies of the Software, and to 45permit persons to whom the Software is furnished to do so, subject to 46the following conditions: 47 48The above copyright notice and this permission notice shall be 49included in all copies or substantial portions of the Software. 50 51THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 52EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 53MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 54IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 55CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 56TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 57SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 58 59################################################################################ 60 61BezierEasing - use bezier curve for transition easing function 62by Gaëtan Renaudeau 2014 - 2015 – MIT License 63 64Credits: is based on Firefox's nsSMILKeySpline.cpp 65Usage: 66var spline = BezierEasing([ 0.25, 0.1, 0.25, 1.0 ]) 67spline.get(x) => returns the easing value | x must be in [0, 1] range 68