]>
source.dussan.org Git - svg.js.git/log
Ulrich-Matthias Schäfer [Thu, 1 Nov 2018 14:04:55 +0000 (15:04 +0100)]
introduce register and registerMethod method to get rid of dependency problems
Ulrich-Matthias Schäfer [Sun, 28 Oct 2018 10:19:26 +0000 (11:19 +0100)]
setup rollup to build minimized file and report stats
Ulrich-Matthias Schäfer [Sat, 27 Oct 2018 20:43:30 +0000 (22:43 +0200)]
resolve last circular dependencies, make rollup work
Ulrich-Matthias Schäfer [Sat, 27 Oct 2018 18:43:35 +0000 (20:43 +0200)]
resolve circular references and make example working again
Ulrich-Matthias Schäfer [Fri, 26 Oct 2018 10:01:39 +0000 (12:01 +0200)]
rename files
Ulrich-Matthias Schäfer [Thu, 25 Oct 2018 21:28:12 +0000 (23:28 +0200)]
convert everything to es6 classes and imports
Ulrich-Matthias Schäfer [Thu, 25 Oct 2018 21:26:38 +0000 (23:26 +0200)]
Rename files so that they reflect their exported classes (see next commit)
Ulrich-Matthias Schäfer [Thu, 18 Oct 2018 10:37:55 +0000 (12:37 +0200)]
fix tests
Ulrich-Matthias Schäfer [Thu, 18 Oct 2018 09:31:23 +0000 (11:31 +0200)]
fix readme
Ulrich-Matthias Schäfer [Thu, 18 Oct 2018 09:29:49 +0000 (11:29 +0200)]
Merge branch '776-new-fx' into 3.0.0
Ulrich-Matthias Schäfer [Thu, 18 Oct 2018 09:28:05 +0000 (11:28 +0200)]
activate sugar before merge
Ulrich-Matthias Schäfer [Thu, 18 Oct 2018 09:16:43 +0000 (11:16 +0200)]
changelog update
Ulrich-Matthias Schäfer [Thu, 18 Oct 2018 09:13:56 +0000 (11:13 +0200)]
Revert "Merge pull request #828 from svgdotjs/797-throw-error-in-at"
This reverts commit
55874e6dd16cb85181e879b8c35b4e65bb310e11 , reversing
changes made to
31e94c28d85f676a0f4ec073a06435bc86b1dc73 .
Ulrich-Matthias Schäfer [Wed, 17 Oct 2018 21:23:36 +0000 (23:23 +0200)]
package-lock
Ulrich-Matthias Schäfer [Wed, 17 Oct 2018 21:09:34 +0000 (23:09 +0200)]
add babel, satisfy linter, build dist
Ulrich-Matthias Schäfer [Fri, 12 Oct 2018 22:49:35 +0000 (00:49 +0200)]
fix timeline timing with runners
Ulrich-Matthias Schäfer [Wed, 10 Oct 2018 21:03:58 +0000 (23:03 +0200)]
fixing tests
Ulrich-Matthias Schäfer [Wed, 10 Oct 2018 17:00:41 +0000 (19:00 +0200)]
fix schedule so it uses runnertime correctly
Ulrich-Matthias Schäfer [Mon, 8 Oct 2018 13:35:33 +0000 (15:35 +0200)]
Cant see the forest with all these trees...
Ulrich-Matthias Schäfer [Mon, 8 Oct 2018 13:18:53 +0000 (15:18 +0200)]
Optimized the matrix functions so that the transform function is a multitude faster for parameterized input
Ulrich-Matthias Schäfer [Fri, 21 Sep 2018 10:18:43 +0000 (12:18 +0200)]
make sure, that we use the correct startTransform
Ulrich-Matthias Schäfer [Fri, 21 Sep 2018 09:40:08 +0000 (11:40 +0200)]
make sure runner[0] always exists (rework that requirement!)
Ulrich-Matthias Schäfer [Thu, 20 Sep 2018 21:35:13 +0000 (23:35 +0200)]
adding optimized transformation function to speed up things a tiny bit
Ulrich-Matthias Schäfer [Thu, 20 Sep 2018 12:14:40 +0000 (14:14 +0200)]
get rid of that unnecessary bbox call on every frame
Ulrich-Matthias Schäfer [Thu, 20 Sep 2018 11:25:24 +0000 (13:25 +0200)]
finally solve transformations one and for all time!
This is great - we should party hard. I mean - it took like 4 month to get this done. That's way to much! I don't want anymore. Pease send help :D
Ulrich-Matthias Schäfer [Mon, 17 Sep 2018 18:34:31 +0000 (20:34 +0200)]
fix transformations introducing target transforms with which the origin can be transformed
Saivan [Mon, 17 Sep 2018 04:50:56 +0000 (14:50 +1000)]
Refactored the getOrigin helper to help fix the relative affine animations
This commit refactors the getOrigin helper, in order to send the origin to the correct
space. The origin should be expressed in the space of the last animation.
Changes
=======
- Refactored the getOrigin helper
- Added a simple example to the dirty file to test multiple transformations
Saivan [Mon, 17 Sep 2018 04:10:12 +0000 (14:10 +1000)]
Fixed the relative non-affine transform animations
This commit uncovered an issue with the relative non-affine transformations. It is
now correctly fixed and working. Next we should fix the affine transforms as well.
Changes
=======
- Fixed the relative non-affine transformation animations
Saivan [Mon, 10 Sep 2018 09:40:50 +0000 (19:40 +1000)]
Found and started fixing an error with the Timeline.schedule function
This commit finds an error in the scheduling duration that we need to fix.
Saivan [Wed, 11 Jul 2018 06:39:37 +0000 (16:39 +1000)]
Added a simple example for relative declarative animations
This commit adds an example that demonstrates how I'd imagine declarative animations
should work and how they should mirror what imperative animations would do
Changes
=======
- Added a simple declarative example
Ulrich-Matthias Schäfer [Sun, 8 Jul 2018 09:07:27 +0000 (11:07 +0200)]
condens transform function to an overall more stable one
Saivan [Thu, 5 Jul 2018 11:40:08 +0000 (21:40 +1000)]
Fixed the transformation code to use the bbox properly
This commit fixes the transformations and allows single animated
transformations to properly work.
Ulrich-Matthias Schäfer [Wed, 4 Jul 2018 16:27:00 +0000 (18:27 +0200)]
make TransformBag clone the object before altering
Ulrich-Matthias Schäfer [Wed, 4 Jul 2018 09:57:00 +0000 (11:57 +0200)]
fix origin transformation
Saivan [Tue, 3 Jul 2018 14:44:46 +0000 (00:44 +1000)]
Worked towards setting the origin on each frame with linear algebra
This commit attempts to modify the origin on each frame, but it seems
that we have some kind of bug that we need to fix first
Saivan [Tue, 3 Jul 2018 12:07:53 +0000 (22:07 +1000)]
Fixed an issue that occurred when we applied more than one transform
This commit allows us to apply more than one transform to an element, and
have them correctly applied to the element.
Ulrich-Matthias Schäfer [Fri, 29 Jun 2018 08:31:11 +0000 (10:31 +0200)]
fix rotation issue and make relative declaritive work
Saivan [Thu, 28 Jun 2018 23:18:54 +0000 (09:18 +1000)]
Added a potential fix for the problem
Ulrich-Matthias Schäfer [Thu, 28 Jun 2018 21:15:31 +0000 (23:15 +0200)]
satisfy linter, fix global var
Ulrich-Matthias Schäfer [Thu, 28 Jun 2018 20:58:51 +0000 (22:58 +0200)]
fix origin bug
Saivan [Thu, 28 Jun 2018 13:45:44 +0000 (23:45 +1000)]
Add a few debugging statements
Saivan [Thu, 28 Jun 2018 13:05:16 +0000 (23:05 +1000)]
Modified the behaviour of absolute transforms
This commit slightly modifies the behaviour of absolute transforms,
we will get them working soon :D
Ulrich-Matthias Schäfer [Wed, 27 Jun 2018 09:17:18 +0000 (11:17 +0200)]
fix origin for relative transformations
Saivan [Tue, 26 Jun 2018 12:42:47 +0000 (22:42 +1000)]
Allowed the origin to stay fixed as we animate transforms
This commit start to remove the expensive bbox calculation by assuming
that the origin stays at a fixed point during an animation. This is a
good assumption as transforms don't change the bbox of the element.
Changes
=======
- Refactor the Element.transform function
- Make a getOrigin function to call the bbox only one time
Ulrich-Matthias Schäfer [Tue, 26 Jun 2018 10:29:11 +0000 (12:29 +0200)]
make transformations retargatable for declaritive
Saivan [Fri, 22 Jun 2018 15:58:43 +0000 (01:58 +1000)]
Runners now work with absolute and relative transformations
This commit finally gets transformations workin in both absolute and
relative mode. This is the last **major** hurdle for the new
animation module, so we just need to clean it up and fix some bugs 🐞
Ulrich-Matthias Schäfer [Mon, 4 Jun 2018 05:03:54 +0000 (07:03 +0200)]
fix merging of transformations
Ulrich-Matthias Schäfer [Sun, 3 Jun 2018 07:27:50 +0000 (09:27 +0200)]
replace runner set with array and order array for faster access and saving of start time
Ulrich-Matthias Schäfer [Sun, 3 Jun 2018 06:17:15 +0000 (08:17 +0200)]
transforms work with multiple elements too. Satisfy linter
Ulrich-Matthias Schäfer [Sun, 3 Jun 2018 06:02:08 +0000 (08:02 +0200)]
transformation works now for ONE element. More work required
Ulrich-Matthias Schäfer [Sat, 2 Jun 2018 11:51:18 +0000 (13:51 +0200)]
first tries to make transformations work
Saivan [Fri, 1 Jun 2018 15:59:10 +0000 (01:59 +1000)]
Began implementing the transformation functions
Saivan [Fri, 1 Jun 2018 11:48:09 +0000 (21:48 +1000)]
The timelines continue function requests a step animation frame
Ulrich-Matthias Schäfer [Fri, 1 Jun 2018 07:58:22 +0000 (09:58 +0200)]
renamed method names as suggested, added failing test
Saivan [Fri, 1 Jun 2018 02:06:28 +0000 (12:06 +1000)]
Simplified the stepping logic to avoid detecting edge cases
Ulrich-Matthias Schäfer [Thu, 31 May 2018 20:34:10 +0000 (22:34 +0200)]
implements Set for runners in timeline
Ulrich-Matthias Schäfer [Thu, 31 May 2018 19:30:10 +0000 (21:30 +0200)]
fix for the endvalue of the animation
Saivan [Thu, 31 May 2018 08:53:19 +0000 (18:53 +1000)]
Fixed the final position while swinging
Ulrich-Matthias Schäfer [Thu, 31 May 2018 06:53:57 +0000 (08:53 +0200)]
add failing test
Ulrich-Matthias Schäfer [Wed, 30 May 2018 21:45:00 +0000 (23:45 +0200)]
worked a bit on timeline, build example, found bug which needs a fix
Saivan [Wed, 30 May 2018 14:13:43 +0000 (00:13 +1000)]
The runners step was reimplemented with tests
Ulrich-Matthias Schäfer [Wed, 30 May 2018 06:54:00 +0000 (08:54 +0200)]
fixed declaritive again, fromArray now works on all object instances
Ulrich-Matthias Schäfer [Tue, 29 May 2018 20:42:26 +0000 (22:42 +0200)]
implemented EventTarget + runner does not loop forever anymore
Saivan [Tue, 29 May 2018 15:48:35 +0000 (01:48 +1000)]
Got looping working with only a single wait
Saivan [Tue, 29 May 2018 11:45:16 +0000 (21:45 +1000)]
Looping is now working and code is generally cleaner
Ulrich-Matthias Schäfer [Tue, 29 May 2018 09:25:30 +0000 (11:25 +0200)]
fix declaritive
Saivan [Tue, 29 May 2018 08:28:15 +0000 (18:28 +1000)]
Diagnosing the declarative animations and suggesting changes
Ulrich-Matthias Schäfer [Mon, 28 May 2018 22:18:41 +0000 (00:18 +0200)]
implement methods, reorganize runner, list questions
Saivan [Mon, 28 May 2018 13:46:02 +0000 (23:46 +1000)]
Started planning the way events work and got Spring working
Saivan [Mon, 28 May 2018 09:58:45 +0000 (19:58 +1000)]
Merge branch '776-new-fx' of github.com:svgdotjs/svg.js into 776-new-fx
Saivan [Mon, 28 May 2018 09:58:34 +0000 (19:58 +1000)]
Segmenting out some Controllers
Ulrich-Matthias Schäfer [Sun, 27 May 2018 21:04:21 +0000 (23:04 +0200)]
satisfy linter
Saivan [Fri, 25 May 2018 14:01:33 +0000 (00:01 +1000)]
Fixed all of the low hanging problems so declarative works
Ulrich-Matthias Schäfer [Fri, 25 May 2018 10:05:53 +0000 (12:05 +0200)]
simple fix for morpharray
Ulrich-Matthias Schäfer [Thu, 24 May 2018 21:42:01 +0000 (23:42 +0200)]
fixed some more errores, make declaritive controllers partially work. added PID controller for testing reasons
Ulrich-Matthias Schäfer [Thu, 24 May 2018 18:26:59 +0000 (20:26 +0200)]
go through specs and make fixes where needed
Ulrich-Matthias Schäfer [Thu, 24 May 2018 12:30:06 +0000 (14:30 +0200)]
fix runner and timeline so that it schedules animations correctly
Ulrich-Matthias Schäfer [Thu, 24 May 2018 11:29:16 +0000 (13:29 +0200)]
Stuff is moving again after fixing several stuff
Saivan [Wed, 23 May 2018 15:39:15 +0000 (01:39 +1000)]
Should be the final redesign
Saivan [Tue, 22 May 2018 06:50:56 +0000 (16:50 +1000)]
Added a few more use cases and such
Saivan [Thu, 17 May 2018 07:51:36 +0000 (17:51 +1000)]
Most of the animations are working
Ulrich-Matthias Schäfer [Wed, 16 May 2018 21:46:04 +0000 (23:46 +0200)]
add requestAnimationFrame Mock and tests for the animator
Ulrich-Matthias Schäfer [Wed, 16 May 2018 07:50:52 +0000 (09:50 +0200)]
allow arrays of events to be passed to `on()` and `off`
Ulrich-Matthias Schäfer [Tue, 15 May 2018 23:33:59 +0000 (01:33 +0200)]
fixed small typo
Ulrich-Matthias Schäfer [Tue, 15 May 2018 08:58:32 +0000 (10:58 +0200)]
fixed morphing. Changed easing function so that it can handle strings
- error in Matrix constructor which ignores translateX (and more?)
- generelized all morphable objects so that they behave logical
- SVG.Morphable can handle all datatypes now
Saivan [Tue, 15 May 2018 05:03:28 +0000 (15:03 +1000)]
The timeline is now decoupled from the real time
This commit allows the timeline to exist independently of the actual
time. This will allow it to be used to seek through an animation
with relative ease. We also made some architectural changes to the
timeline to support this.
Changes
=======
- Refactored the runner into its own file without exposing it to the
user (changed the gulpfile)
- The timeline no longer depends on the current time
- The user can supply absolute times to queue events
- Some more methods have been integrated into the timeline
Ulrich-Matthias Schäfer [Tue, 1 May 2018 21:51:35 +0000 (23:51 +0200)]
make morphing work, fix inheritance, animations now work
Saivan [Tue, 1 May 2018 13:06:43 +0000 (23:06 +1000)]
More work on the timeline and morphables
Saivan [Tue, 1 May 2018 11:47:47 +0000 (21:47 +1000)]
The animations work with the .queue method
Ulrich-Matthias Schäfer [Tue, 1 May 2018 11:43:16 +0000 (13:43 +0200)]
tests for Morphable and related stuff
Saivan [Mon, 30 Apr 2018 12:46:28 +0000 (22:46 +1000)]
Another collaboration session with @Fuzzyma
Saivan [Mon, 23 Apr 2018 10:25:41 +0000 (20:25 +1000)]
Added some timeline and Morphing functions
Saivan [Wed, 18 Apr 2018 10:55:06 +0000 (20:55 +1000)]
Initial planning for the Timeline Module
This commit just includes a few plans and a massive derrangement
of the fx module before it is to be refactored into the Timeline
module. The basic methods are included, but everything is broken
Ulrich-Matthias Schäfer [Mon, 5 Mar 2018 08:52:39 +0000 (09:52 +0100)]
Merge pull request #828 from svgdotjs/797-throw-error-in-at
make `at()` method of morphable objects throw when no destination is set (#797)
Saivan [Sun, 4 Mar 2018 15:40:32 +0000 (02:40 +1100)]
Removed gbox and fixed a few typos
Since gbox is completely replaced by rbox, we don't need
it anymore. There were also a few small errors to fix.
Saivan [Sun, 4 Mar 2018 15:24:43 +0000 (02:24 +1100)]
Fixed recommendations by @Fuzzyma regarding transforms
This commit fixes a number of issues with transformations:
- Removed move/dmove/etc... on groups
- Sugar was being passed origin instead of ox, oy
- Updated the changelog
- Removed parseMatrix in favor of new SVG.Matrix()
- .matrix is the getter for a matrix, not .transform
- added a [02:24:41] Using gulpfile ~/Desktop/svg/svg.js/gulpfile.js
[02:24:41] Starting 'lint'...
[02:24:43] Finished 'lint' after 2.32 s directive
Saivan [Sun, 4 Mar 2018 10:44:05 +0000 (21:44 +1100)]
Added the dots test and restored the old tests
Saivan [Sun, 4 Mar 2018 09:58:07 +0000 (20:58 +1100)]
Integrated the transformations into the changes in 3.0.0
Saivan [Sat, 3 Mar 2018 21:56:15 +0000 (08:56 +1100)]
Build the final transformation code and fixed linting errors
Saivan [Sat, 3 Mar 2018 21:54:28 +0000 (08:54 +1100)]
Fixed all transformation tests, the new transforms are ready
This commit fixes all of the tests to reflect all of the changes to
our transform code. It also makes the default test output dots
instead of anything else.