dotnetCarpenter
85cc7cc130
testing saucelabs
5 years ago
Ulrich-Matthias Schäfer
09e7d0b595
added possibility to pass in additional attribues to element creators (#796)
e.g.
- `canvas.rect({x:100})` or
- `canvas.rect(100, 100, {x:100})`
5 years ago
Ulrich-Matthias Schäfer
8c81fb7c2e
added possibility to pass attribues into a constructor like: `new SVG.Rect({width:100})`
5 years ago
Ulrich-Matthias Schäfer
f7f6c4b801
`fill()` and `stroke()` return the fill and stroke attribute when called as getter (#789)
5 years ago
Ulrich-Matthias Schäfer
d3baefd3d4
added `ax(), ay(), amove()` to change texts x and y values directly (#787)
5 years ago
Ulrich-Matthias Schäfer
15fd93ef07
`SVG.Text.rebuild()` now takes every font-size into account (#512)
5 years ago
Ulrich-Matthias Schäfer
ae04f7599c
implements `round()` (#916)
5 years ago
Ulrich-Matthias Schäfer
6cebf3bf0e
size function of circle now only accepts one argument (#788)
5 years ago
Ulrich-Matthias Schäfer
2411157132
add styletags
5 years ago
Ulrich-Matthias Schäfer
834c05b0a2
get rid of the fixmes and todos
5 years ago
Ulrich-Matthias Schäfer
4702522137
added insertAfter/Before, introduce attrHooks, move few methods, SVG.Text.textPath returns first textPath child now
5 years ago
Ulrich-Matthias Schäfer
dec70426b3
clone() does not insert the clone into the dom anymore, added beziere() and steps() to generate easing functions
5 years ago
Ulrich-Matthias Schäfer
38ce7a7520
fix the export/import function and enhance it
5 years ago
Ulrich-Matthias Schäfer
0cae4172fa
remove other builds because of bloat for now until fixed
5 years ago
Ulrich-Matthias Schäfer
a0b13ebcac
reordered modules, add es6 build
5 years ago
Ulrich-Matthias Schäfer
9f2696e8a2
removed unused comments and files
5 years ago
Ulrich-Matthias Schäfer
2f8d32a1f4
Linted all files, upgraded all dependencies
5 years ago
Ulrich-Matthias Schäfer
4049e2e636
rework of classes, make events on every object possible
5 years ago
Ulrich-Matthias Schäfer
edc9454ddf
forgot about memory tests
5 years ago
Ulrich-Matthias Schäfer
d654ab010a
Revert back to classes, fix remaining tests
5 years ago
Ulrich-Matthias Schäfer
d22dce113a
fix even more tests
5 years ago
Ulrich-Matthias Schäfer
426256d2fc
implement registerMethods(), introduce real arrays for modern browsers, fix some tests
5 years ago
Ulrich-Matthias Schäfer
c40d7ffdfb
fix a few mistakes. Make sugar work. Roll back to childNodes because children is 10x slower
5 years ago
Ulrich-Matthias Schäfer
ac84c9be80
introduce register and registerMethod method to get rid of dependency problems
5 years ago
Ulrich-Matthias Schäfer
4eba4508e4
setup rollup to build minimized file and report stats
5 years ago
Ulrich-Matthias Schäfer
a612dc0dd5
resolve last circular dependencies, make rollup work
5 years ago
nobuti
2e7e217aab
Code review taken
5 years ago
nobuti
c1e1d726f9
Build
5 years ago
nobuti
9e9c9216fa
Build
5 years ago
Ulrich-Matthias Schäfer
f46aedf58f
fix tests
5 years ago
Ulrich-Matthias Schäfer
8ca3341952
activate sugar before merge
5 years ago
Ulrich-Matthias Schäfer
417d4b253d
add babel, satisfy linter, build dist
5 years ago
Ulrich-Matthias Schäfer
ea8767c909
fix rotation issue and make relative declaritive work
6 years ago
Ulrich-Matthias Schäfer
6ff9882c7c
satisfy linter, fix global var
6 years ago
Ulrich-Matthias Schäfer
4009da2e22
fix origin bug
6 years ago
Saivan
739e2dff56
Add a few debugging statements
6 years ago
Saivan
ad2047507d
Modified the behaviour of absolute transforms
This commit slightly modifies the behaviour of absolute transforms,
we will get them working soon :D
6 years ago
Saivan
6353b3d2f4
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
6 years ago
Ulrich-Matthias Schäfer
1e25302f6f
transforms work with multiple elements too. Satisfy linter
6 years ago
Ulrich-Matthias Schäfer
d0d4f86524
first tries to make transformations work
6 years ago
Saivan
52a00f2e86
Began implementing the transformation functions
6 years ago
Ulrich-Matthias Schäfer
414c79599d
worked a bit on timeline, build example, found bug which needs a fix
6 years ago
Ulrich-Matthias Schäfer
599ab86152
fixed declaritive again, fromArray now works on all object instances
6 years ago
Ulrich-Matthias Schäfer
c59a502dc7
implemented EventTarget + runner does not loop forever anymore
6 years ago
Saivan
69b4111399
Most of the animations are working
6 years ago
Ulrich-Matthias Schäfer
837cc126d3
add requestAnimationFrame Mock and tests for the animator
6 years ago
Ulrich-Matthias Schäfer
82b3524c10
allow arrays of events to be passed to `on()` and `off`
6 years ago
Ulrich-Matthias Schäfer
601ab0e249
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
6 years ago
Saivan
685d53295d
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
6 years ago
Ulrich-Matthias Schäfer
8b80921347
make morphing work, fix inheritance, animations now work
6 years ago