| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
This commit adds back the playgrounds and the npm demo. We also implemented a few
methods to generate pretty random colors.
Changes
=======
- Added back the playgrounds and the npm demos
- Implemented a few random color generators
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
This commit adds matrix composition and decompositions (untested),
it also adds another playground to test that this is working as
expected in every case.
We also fixed a few linting errors.
|
|
|
|
|
| |
This commit modifies the specification (and in some places the code) to
reflect the changes to the transformations.
|
| |
|
| |
|
|
|
|
|
|
| |
This commit implements the new transformation model, but it also
needs to modify a few tests to fit the new format. This is still
a work in progress.
|
|
This commit adds playgrounds and a build:dev mode. Now you
can call npm run build:dev to make the linter warn you about
errors without breaking. Also, we now have playgrounds, where
you can use a built version of svg.js to run your own tests.
|