Commit Graph

69 Commits

Author SHA1 Message Date
Eric Rowell
e024b43906 deprecated Ellipse shape, since you can create ellipses now with circles. updated tests 2013-05-13 22:19:51 -07:00
Eric Rowell
622041aeaf added Tween class which replaces the old Transition class 2013-05-10 22:10:05 -07:00
Eric Rowell
32854e529d reordered dependencies in thorfile 2013-05-08 09:56:11 -07:00
Eric Rowell
76a399bfc0 major refactor of directory structure. Killed Util directory. Created Util.js file instead. Moved general purpose methods from Global to Util 2013-05-07 23:51:02 -07:00
Eric Rowell
e66e147274 Animations can now be tied to multiple layers. Removed Transition and Tween class from the build. Unhooked transition unit and manual tests for now. Added new animation setLayers() and getLayers() methods 2013-05-05 20:57:31 -07:00
Eric Rowell
d75fd4b40a refactored filter API so that transitions can hook into the filter controls. Filter transitons are now working. Filters can now also have an unlimited number of parameters. added _applyFilter flag to ensure that new filters are only applied once, when needed, right before a redraw 2013-05-04 00:40:46 -07:00
Eric Rowell
790b45ec87 added new get*RGB(), get*R(), get*G(), and get*B() methods for fill, stroke, and shadowColor. Also added new Kinetic.Type.getRGB() utility 2013-04-29 23:12:28 -07:00
Eric Rowell
2cb39f087c renamed the Crop filter to Mask 2013-04-04 22:22:28 -07:00
Nicolas COSME
d81219f7f1 Add the Crop filter 2013-04-02 14:48:48 +02:00
Eric Rowell
912cef43c6 fixed ContainerParams token in thorfile 2013-03-20 10:04:07 -07:00
Eric Rowell
2c237aa708 Merge pull request #329 from Rulexec/master
Thorfile typo fix and chainable on/off.
2013-03-20 10:01:04 -07:00
Eric Rowell
f3dd9286a9 changed Gauss to Blur 2013-03-19 09:03:18 -07:00
Eric Rowell
b37f50ba69 moved Path to Plugins namespace 2013-03-17 17:32:35 -07:00
Eric Rowell
8e17729cea first pass of new Label plugin 2013-03-15 23:35:40 -07:00
Alexander Ruliov
04ddd3213b fixed Thorfile containerParams.txt typo. closes #316 2013-03-15 01:09:56 +03:00
Eric Rowell
5c590bb88f moved TextPath, RegularPolygon, and Star shapes to the plugins directory. updated all tests 2013-03-13 22:24:55 -07:00
Eric Rowell
88e1c5fa08 Merge branch 'master' of github.com:ericdrowell/KineticJS 2013-02-20 21:31:10 -08:00
Eric Rowell
4a0087f72c gauss cleanup 2013-02-20 21:30:24 -08:00
Eric Rowell
46f71d283f added clipping functionality to containers. Currently, the clipping function can only be applied to layers and groups. The clipping region is also subject to the containers transforms, which means that you can also create transformed clipping regions. 2013-02-15 18:20:34 -08:00
Eric Rowell
be295992e0 when parent and children are both draggable, the lowest level child draggable property now has priority over ancestors. Refactored dependency order in thorfile 2013-01-27 21:29:22 -08:00
Eric Rowell
b1038e99bf pulled Node config params and Shape config params into a textfile, and now using token replacement to auto fill Node and Shape config params throughout the code base. In this way, if I need to make changes to the Node or Shape configs, those changes are propagated to all of the other constructors 2013-01-26 20:42:19 -08:00
Eric Rowell
abbaef1cc6 refactored drag and drop a bit and fixed a dependency bug 2013-01-13 22:32:08 -08:00
Eric Rowell
8ed84f474a fixed several memory issues with transition logic. Heavily refactored Transition module. New Animation isRunning method. destroy() method now correctly stops currently running transitions. added several transition and destroy related unit tests 2013-01-13 19:59:35 -08:00
Eric Rowell
5cda46be69 drag and drop layer is now created on stage instantiation, and is removed and added as needed 2013-01-12 23:39:56 -08:00
Eric Rowell
e9d56dafba added new Blob shape. removed double quotes from all shapes. made it easier for shapes to extend other shapes 2013-01-01 00:41:13 -08:00
Eric Rowell
176e805e58 decided to make an actual Spline shape. Will create a Blob shape soon, which will be an enclosed spline 2012-12-31 20:30:00 -08:00
Eric Rowell
df63558686 changed around the logic from the previous pull, and also added spriteTests to the unit test build 2012-12-06 20:11:14 -08:00
Eric Rowell
ab19b442a0 wrapped all modules with anonymous func. moved Canvas to root dir because it's now coupled to KineticJS logic. removed whitelisting arrays from Global. Did some prep work for AMD and Node support 2012-12-01 12:04:10 -08:00
Eric Rowell
047e26382e added new wedge shape. cleaned up shape comments. added degToRad and radToDeg helper in Type utility 2012-11-29 20:15:01 -08:00
Eric Rowell
144e95ad42 preparation work for new Renderer inheritance pattern 2012-11-20 23:03:24 -08:00
Eric Rowell
a5e23c426d restructured unit tests and created a unit test build target which concatenates source test files 2012-11-13 21:37:28 -08:00
Eric Rowell
753971247d fix #146 used standard object notation in thorfile to hopefully prevent older versions of Ruby from failing 2012-11-10 18:08:32 -08:00
Eric Rowell
656a7a63e4 added Invert filter which inverts image colors 2012-11-04 11:30:40 -08:00
Eric Rowell
b76cc09742 added Brighten filter 2012-11-04 10:52:33 -08:00
Eric Rowell
9c1f32d341 added dist files to ignore file and updated Thorfile. Dist files should no longer be checked into the repo 2012-11-03 21:14:27 -07:00
Eric Rowell
8298bdee7a updated build file to better support custom builds via configurator 2012-10-18 23:32:57 -07:00
Eric Rowell
3d0cb26e6d updated build file to also minify modules separately for custom builds. Started work on decoupling Animation and DragAndDrop logic from other modules 2012-10-14 18:46:04 -07:00
ericdrowell
9f5d0fe351 created Collection class to handle iterating over arrays returned from get() 2012-09-23 10:53:23 -07:00
Eric Rowell
6eda6d2607 decided to split Circle and Ellipse shapes because it was causing too many issues related to the mixed data type of radius, which could be a number or object with x and y properties 2012-08-25 23:56:39 -07:00
Eric Rowell
1ad2530889 removed john resig's Class class because it was really slowing down node instantiations. Created a custom solution that's much lighter weight, and about 50% faster 2012-08-22 23:35:21 -07:00
Eric Rowell
d48aa321f4 removed resig's Class dependency to test performance gain 2012-08-22 23:13:09 -07:00
Eric Rowell
75b20573cd removed plugins directory because Kinetic will be using a configurator in the near future 2012-07-31 20:36:36 -07:00
Eric Rowell
e69c7a9ac1 moved Path back to the plugins, and added Geometry utility methods to the Path namespace so that they can be called as a utility methods without instantiating a Path shape 2012-07-28 17:37:24 -07:00
Eric Rowell
e82fbfa2b0 decided to move Path back into core 2012-07-28 16:33:18 -07:00
Eric Rowell
9631d6e1bb split up methods from the PathHelper class and moved them to Path and Geometry. Path specific methods went to Path, and general purpose geometric utility methods went to the Geometry utility class. TextPath now inherits methods from Path 2012-07-28 16:08:14 -07:00
Eric Rowell
ce3b98ee9c added some performance tweaks and polished up code here and there 2012-07-26 22:58:38 -07:00
Eric Rowell
c26a1ae5d5 merged jfollas's new TextPath shape, and moved non-primative shapes to the plugins folder as shape plugins 2012-07-24 23:18:46 -07:00
Eric Rowell
d8bbbf6353 new Canvas class to decouple layer and canvas, providing more flexibility. drawing operations now require a canvas object rather than an optional layer which contained a canvas. fixed some transformation issues introduced with a pull request that I pulled in last week 2012-07-18 23:28:45 -07:00
Eric Rowell
20adf7e036 first pass at implementing filters. Still have a lot to work through. 2012-07-17 00:32:26 -07:00
Jason Follas
0b1ddbd530 Added TextPath shape (extension of Path shape, but renders text along path instead of stroking/filling the path) 2012-07-09 09:08:30 -04:00