summaryrefslogtreecommitdiffstats
path: root/src/fx.js
Commit message (Collapse)AuthorAgeFilesLines
* gentle optimization of PR #549dotnetCarpenter2016-11-121-2/+2
|
* Revert "optimize loop performance"dotnetCarpenter2016-11-121-48/+48
| | | | | | This reverts commit 98fdf3202901017dcdf16cde910ddd896aab519d. Signed-off-by: dotnetCarpenter <jon.ronnenberg@gmail.com>
* optimize loop performancedotnetCarpenter2016-11-121-48/+48
|
* Fix going down prototype chainPreston Tighe2016-11-111-1/+1
| | | This fixed the a.undo is not a function error. The for loop was going down into the array's prototype chain.
* Fix the bug where relative matrix transforms are not animatedRémi Tétreault2016-11-091-1/+1
| | | | Also, add the possibility to make uniform skew transform.
* Fix and improve the dequeue method of the FX moduleRémi Tétreault2016-11-031-30/+24
| | | | | | | | | | | | The first improvement is to stop using setTimeout to perform the delay. It is now performed in a manner similar to the start method. This should be a lot more reliable than using setTimeout and allow some nice goodies like being able to pause it or affect its duration using the speed method. The second improvement is to have the delay method add an empty situation (with its duration set to the duration of the delay) to the queue. This change allows dequeue not to have to treat delay added to the queue as something special, now its just a situation.
* Merge pull request #504 from tkiss/animations_es6-7_fixUlrich-Matthias Schäfer2016-11-031-3/+3
|\ | | | | Fix broken animations, if using polyfills for es6/7 proposals
| * Fix broken animations, if using polyfills for es6/7 proposals (in this case ↵Tamás2016-06-231-3/+3
| | | | | | | | String.at())
* | Make the code in the FX module simplerRémi Tétreault2016-11-011-35/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Here are the changes that have been made: - The loop counter is now incrementing (from 0 to loops) - The loop counter increment even when loops is true - Add absPos, the absolute position of an animation which is its position in the context of its complete duration (including delay and loops) - Make the methods speed, pause/resume affect the delay - The method step no longer needs to recalculate the value of situation.start - Add a second parameter to the method at to allow it to receive an absolute position - Fix the bug where the method at invert the passed position while the animation is running backward Also, I modified the tests of the FX module that required timing to use Jasmine Clock, so now it takes less than 1 second to run all the tests!
* | Change the SVG.FX attribute spd to _speedRémi Tétreault2016-10-171-14/+14
| | | | | | | | | | This change is to follow the convention already put forward by the _target attribute.
* | Add speed to SVG.Element and also add documentation to speedRémi Tétreault2016-10-171-2/+16
| |
* | Make speed(0) pause the animationRémi Tétreault2016-10-171-0/+2
| |
* | Make SVG.FX.speed act more like others animations librariesRémi Tétreault2016-10-161-11/+15
| | | | | | | | | | | | For example, a call .speed(2) would make the animation 2 times faster. If you then call .speed(4), this would make the animation 4 times faster. And a call .speed(1) would make it go back to normal speed.
* | Make SVG.FX.loop modify the last situation instead of the current oneRémi Tétreault2016-10-151-3/+5
|/
* fixed bug where `stop(true)` throws an error when element is not animated (#475)Ulrich-Matthias Schäfer2016-04-091-1/+1
|
* fixed `SVG.morph()` (#473)Ulrich-Matthias Schäfer2016-04-031-4/+6
|
* readme update, clean upUlrich-Matthias Schäfer2016-03-291-31/+33
|
* tidy upUlrich-Matthias Schäfer2016-03-291-14/+0
|
* fix finishing up correctly with even loops, readmeUlrich-Matthias Schäfer2016-03-291-17/+15
|
* discard totalProgress for nowUlrich-Matthias Schäfer2016-03-281-17/+0
|
* revert multiple breaking changes introduced by the last commitsUlrich-Matthias Schäfer2016-03-281-84/+121
|
* fixed bug where loop wasnt correctly reversed if specifiedUlrich-Matthias Schäfer2016-03-251-6/+6
|
* Merge branch '3.0.0' introducing several changes:Ulrich-Matthias Schäfer2016-03-241-371/+724
| | | | | | | | | - textpath now is a parent element, the lines method of text will return the tspans inside the textpath (#450) - fx module rewritten to support animation chaining and several other stuff (see docs when commited) - fixed absolute transformation animations (not perfect but better) - fixed event listeners which didnt work correctly when identic funtions used - added `element.is()` which helps to check for the object instance faster (instanceof check) - added more fx specs
* fixed unit unit regex and renamed it to numberAndUnit, added specs (fix #443)Ulrich-Matthias Schäfer2016-01-231-1/+1
|
* fixes pattern animation (#385)Ulrich-Matthias Schäfer2015-10-101-1/+1
|
* remove useless executable permissionPeter Dave Hello2015-06-231-0/+0
|
* Fixed bug in fx when animating with `plot()` (closes #354)Ulrich-Matthias Schäfer2015-06-191-2/+2
|
* Merged all changes and fixes from SVG 1.1 into this branchUlrich-Matthias Schäfer2015-06-111-2/+3
|
* Fixed bug in clone() methodwout2014-09-021-3/+2
|
* Added animated parametric transformationswout2014-08-301-0/+19
|
* Added SVG.TBox for transformed bounding boxeswout2014-08-291-7/+12
|
* Removed internal references from SVG.Textwout2014-08-251-2/+2
|
* Added reverse functionality for animation loopswout2014-07-301-84/+90
|
* Added more control to SVG.Matrixwout2014-07-281-4/+0
|
* Installed Jasmin 2.0.1wout2014-07-261-71/+46
|
* Added support for scale center on matriceswout2014-07-121-15/+15
|
* Calling after() on stop(fulfill)wout2014-06-101-4/+6
|
* .animation() .stop() now fires .after() if presentvird2014-05-281-3/+5
|
* Bumped to 1.0.0-rc.6wout2014-03-041-67/+63
|
* Completely reworked `SVG.Text`, `SVG.TSpan` and `SVG.PathArray` and bumped ↵wout2014-02-141-383/+391
| | | | to 1.0.0-rc.5
* Fix in animate('=').to()wout2014-02-051-1/+1
|
* Wrapping delay in SVG.Numberwout2014-02-031-1/+1
|
* Added second values to SVG.Numberwout2014-02-031-1/+1
|
* added `morph()` and `at()` methods to `SVG.Number` for unit morphingwout2014-02-011-41/+28
|
* Fix in poly morphingwout2014-01-311-2/+2
|
* Disabled array bbox cachewout2014-01-311-6/+0
|
* Added morph() and at() methods to SVG.Colorwout2014-01-311-25/+9
|
* Added msRequestAnimationFrame fir IE10 supportwout2014-01-311-0/+1
|
* Added SVG.PathArray, updated data() and bumped to v1.0rc1wout2014-01-291-19/+27
|
* Added loop(), switched to requestAnimFrame, bumped to v0.38wout2014-01-281-6/+35
|