Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

Konva

Making better 2d canvas framework
Collective - Host: opensource - https://opencollective.com/konva - Website: https://lavrton.com - Code: https://github.com/konvajs

updated jsdocs

github.com/konvajs/konva - 9a5f9006b82eadac8e3a32e746deae2ae3750a61 authored over 12 years ago by Eric Rowell <[email protected]>
updated jsdocs

github.com/konvajs/konva - 73ad904de60b0b6bad768ac622fa59021592fbca authored over 12 years ago by Eric Rowell <[email protected]>
fixed set fill attr bug which occurred when instantiating the fill with a string color and then setting it later to a fill object such as a gradient or pattern. The fix will apply to any attr which can be a string or object

github.com/konvajs/konva - 2455000f5c67ddde0091a176ad7a1f4d57fcfba3 authored over 12 years ago by Eric Rowell <[email protected]>
all simple getters and setters are now dynamically created. This is the first step towards creating a code base that can unpack at run time to reduce file size

github.com/konvajs/konva - 6d4738cd2be026a236045b62407cb96a45612b73 authored over 12 years ago by Eric Rowell <[email protected]>
now using setAttrs for all Shape and shapes setters

github.com/konvajs/konva - 6b70e1b18ff8495c288db3e75536d299bf48650e authored over 12 years ago by Eric Rowell <[email protected]>
attr change events are now only fired on root level attr changes. changed centerOffset property to offset property for consistency. did additonal refactoring

github.com/konvajs/konva - 13105969b168aec7202702e570da5f52480193f1 authored over 12 years ago by Eric Rowell <[email protected]>
now leveraging the setAttrs method for all setters in Node class. utilizing draggableChange attr event to trigger drag and drop inits

github.com/konvajs/konva - bba1d0ad21b528895ec1f694329cf5f16217bd6b authored over 12 years ago by Eric Rowell <[email protected]>
stage now listens for dimension changes, and updates the DOM dimensions if the widthChange or heightChange event is triggered

github.com/konvajs/konva - 9697af530c1b43c2e4943beac07445526d7fde35 authored over 12 years ago by Eric Rowell <[email protected]>
refactored attr event change logic a bit. added delete operator in a couple places to fix memory leaks. added better event unit tests.

github.com/konvajs/konva - e64024d3bdc8b43f467228aef6e7154e7acd102e authored over 12 years ago by Eric Rowell <[email protected]>
attr change events are now triggered for any root attr so long as the attr is set with the setAttrs method

github.com/konvajs/konva - 12b61b3621304af004083af4c40d46c581f709c9 authored over 12 years ago by Eric Rowell <[email protected]>
first step to exposing event driven architecture. Devs can subscribe to attr change events with the on method. e.g. shape.on('widthChange', function(){...})

github.com/konvajs/konva - 2cd24309ac3dbfda97452501efe47a2a5a277bb0 authored over 12 years ago by Eric Rowell <[email protected]>
event simulation now correctly bubbles

github.com/konvajs/konva - 440c3ac27949f36ecdb102b3c247f5e19fb43cb3 authored over 12 years ago by Eric Rowell <[email protected]>
fixed mobile drag and drop bug. refactored _handleEvents(). added new functional test that has two drag and drop shapes

github.com/konvajs/konva - e7699a588f2065e520c415a362694c95bd1b53d1 authored over 12 years ago by Eric Rowell <[email protected]>
updated Path docs

github.com/konvajs/konva - 0167432216f8d34c92adf37f1a24c0a430228541 authored over 12 years ago by Eric Rowell <[email protected]>
Merge pull request #25 from jfollas/master

Finishing touches on svg path

github.com/konvajs/konva - d145d3e3a2ed4ede16215c5fc295b9fbd8938f30 authored over 12 years ago by ericdrowell <[email protected]>
Tab to spaces; fixed tests (i.e., disabled "testonly")

github.com/konvajs/konva - f9342cb0194e4a8f6c5fb2a86b7dff5e27be0d1e authored over 12 years ago by Jason Follas <[email protected]>
Implemented "a", "A". Added unit test for SVG "tiger" path (the canonical SVG example)

github.com/konvajs/konva - b61c688a83e2906f292125be4d13f647ac5c5db9 authored over 12 years ago by Jason Follas <[email protected]>
fixed stage drag and drop bug on tablets

github.com/konvajs/konva - e74fa3a3198df69bd4887663cf25173af5563e77 authored over 12 years ago by Eric Rowell <[email protected]>
updated Transition docs

github.com/konvajs/konva - 8b22fb0690ee59ad12ff803618a57c38a0488693 authored over 12 years ago by Eric Rowell <[email protected]>
stage setSize() method now converts inputs to integers. added a lot of setSize unit tests

github.com/konvajs/konva - e842cdf8acefbbdfa372f0267f0f3690ac64ab31 authored over 12 years ago by Eric Rowell <[email protected]>
isVisible() method now takes into account ancestor visibility. This fixes several bugs related to odd event detection behavior with clusters of visible and invisible nodes

github.com/konvajs/konva - 91eb4ea371cda92bd0eeaf755fa85dbb8b96e09c authored over 12 years ago by Eric Rowell <[email protected]>
garbage collecting empty arrays in _removeName method to free up space

github.com/konvajs/konva - 9f243d4a2e5b385c4e4f5517bd17c55db6e5c25f authored over 12 years ago by Eric Rowell <[email protected]>
new simulate() method to simulate node events. e.g. shape.simulate('click')

github.com/konvajs/konva - 1b333bc8005478d28bf3e947372986587207e72d authored over 12 years ago by Eric Rowell <[email protected]>
remove() method now correctly removes node descendants

github.com/konvajs/konva - 385deb793d2bd1816780c47b79298617aad0e7f3 authored over 12 years ago by Eric Rowell <[email protected]>
new tap event. touchmove no longer incorrectly fires onmousemove event. dbltap now correctly bubbles. cleaned up some other event handling logic.

github.com/konvajs/konva - ba796f4cc3b076f33ea4920054f7eb9afc175fc4 authored over 12 years ago by Eric Rowell <[email protected]>
changed commands property to data per Jason's request. This provides a similar nomenclature to the SVG path data property

github.com/konvajs/konva - 84e400e0f041e07eb4764a9a74b65ba4a4c76b3f authored over 12 years ago by Eric Rowell <[email protected]>
Merge pull request #24 from jfollas/master

SVG Path additions

github.com/konvajs/konva - 2bc046518699d32e9c37fdf2345dbe5fb6740fab authored over 12 years ago by ericdrowell <[email protected]>
Implemented 's' and 'S'

github.com/konvajs/konva - 59ee010050cee9f01c081432afd375dda417648c authored over 12 years ago by Jason Follas <[email protected]>
implemented 'T' and 't'.

github.com/konvajs/konva - 90364408d70ead1c4a2d1b7881cb4081e93a6a21 authored over 12 years ago by Jason Follas <[email protected]>
Implemented 'c', 'C', 'q', 'Q' paths

github.com/konvajs/konva - 90c07bdaa5cbb2b95f35fec99885be8793458960 authored over 12 years ago by Jason Follas <[email protected]>
Added multi-point string handling to the path parser. Added support for 'm' and 'Z'.

github.com/konvajs/konva - d0acfb14e1bb238e8f6926c3654bb3d992be06f4 authored over 12 years ago by Jason Follas <[email protected]>
fixed bug with setScale method and _isNumber method. Added unit tests

github.com/konvajs/konva - 89370bfee7e3c2dfdea58005f13b1dbcc83d8bff authored over 12 years ago by Eric Rowell <[email protected]>
further optimized the path parser algo

github.com/konvajs/konva - 85cb03fa903b7767f5f9c10d76cd01d9f47f78ce authored over 12 years ago by Eric Rowell <[email protected]>
fixed closePath bug with Path shape, added getters and setters, and added another path unit test

github.com/konvajs/konva - 9fa7949d27edd5f6f61728d102ae9063530afa9f authored over 12 years ago by Eric Rowell <[email protected]>
applying event throttling logic to mousemove and touchmove only

github.com/konvajs/konva - a29d1520ae48718dc590cd2a69e645e417e228f5 authored over 12 years ago by Eric Rowell <[email protected]>
fixed up unit tests

github.com/konvajs/konva - 3c72f8240b7ab53e8d915a8a04ca73b016d21423 authored over 12 years ago by Eric Rowell <[email protected]>
turns out there was no performance problems with the path (made a dumb mistake with implementation). However, during the analysis, I ended up adding event detection throttling which is pretty handy. It cuts down unecessary mousemove event handling dramatically and greatly improves performance when you have thousands of shapes

github.com/konvajs/konva - a2defa4bedf2f86c5e08508c3cc77a9ae377b482 authored over 12 years ago by Eric Rowell <[email protected]>
first round of new Path shape. Despite multiple optimizations, the path performance isn't as good as a previous experiment done with v3.8.1. Will keep this as a separate branch until the performance issues are resolved

github.com/konvajs/konva - cc35abd0f6bf14847499ba15cf85cbe9c3d712c5 authored over 12 years ago by Eric Rowell <[email protected]>
added drag and drop support for the stage. This essentially enables stage panning

github.com/konvajs/konva - 4488f22c32a7ffc0b545b2af62e2fc845ca71037 authored over 12 years ago by Eric Rowell <[email protected]>
rewrote shadow logic. Shadows can now be applied to images and sprites, even if they have transparent pixels

github.com/konvajs/konva - e075a725a1e8027dc0ef43e234792f05e087c635 authored over 12 years ago by Eric Rowell <[email protected]>
refactored stage.reset method. Now storing node default attrs as an object which can be used by the stage to reset itself

github.com/konvajs/konva - af31e1ee83e131a3f689677bf3ab02710c9a80d7 authored over 12 years ago by Eric Rowell <[email protected]>
bug fix - when setting a custom attr that points to self, the setAttrs method no longer gets stuck in a recursive loop throwing a stack overflow error. Also, objects that were instantiated from a class (non-literal objects) are no longer serializable

github.com/konvajs/konva - 44ba6f7e5bf58109b39236e4179cfff2f0b9f1c7 authored over 12 years ago by Eric Rowell <[email protected]>
refactored get() and add() node methods. much cleaner now.

github.com/konvajs/konva - fd6bdb570c46e97286373ef5950670ecaa87f739 authored over 12 years ago by Eric Rowell <[email protected]>
hooked setAttrs into setCrop() method and made the _getSize() method more flexibile by accepting more variations of input. added unit tests

github.com/konvajs/konva - 07edfbc7651adea94409aaa56f572df104916481 authored over 12 years ago by Eric Rowell <[email protected]>
hooked in the setAttrs method to the shadow setter and the pattern fill setter. added more unit tests

github.com/konvajs/konva - 8c675327b96c422c4044efa16baddde45be9c2fc authored over 12 years ago by Eric Rowell <[email protected]>
hooked setAttrs into setPosition and setScale for more flexibility. Added in depth position and scale unit tests. add() and remove() methods are now chainable

github.com/konvajs/konva - 0bb158c0fbb6dca9eef27728fc0b3cc4c3d6dcc5 authored over 12 years ago by Eric Rowell <[email protected]>
forgot to move the image object to the attrs for Kinetic.Image and Kinetic.Sprite

github.com/konvajs/konva - 5526d2847eeddb1f17c27da9bed95a1a55280294 authored over 12 years ago by Eric Rowell <[email protected]>
fixed up some issues with serialization and deserialization and updated unit tests

github.com/konvajs/konva - 61d325d383820bf3cd88cca3f0a65b8ff0139ad6 authored over 12 years ago by Eric Rowell <[email protected]>
fixed flickering when a node was added to the stage, updated, and redraw due to throttling

github.com/konvajs/konva - e26575a6c8f775bb0b8422ec199ea3c8c57cd205 authored over 12 years ago by Eric Rowell <[email protected]>
linear and radial gradients can now have any number of color stops

github.com/konvajs/konva - 23312224599c1cbcb510e6a2044bb30309b262fd authored over 12 years ago by Eric Rowell <[email protected]>
improved shadow code quality and added support for text fill and stroke shadows

github.com/konvajs/konva - 4ba2818f977d550730a72fedbb2cbb1bdd316e0d authored over 12 years ago by Eric Rowell <[email protected]>
fixed layer drawFunc bug. Now using call() for layer beforeDraw and afterDraw custom functions so that they are executed from the layer's context

github.com/konvajs/konva - 97ddb507ea6dfe50441b8be00db628145d801b1e authored over 12 years ago by Eric Rowell <[email protected]>
added support for shadow alpha property

github.com/konvajs/konva - 7fcf5f156a7a1c63f67755555e5c1a64984f8ed4 authored over 12 years ago by Eric Rowell <[email protected]>
tons of refactoring to make the code base even more elegant and flexibile. In particular, the setAttrs() method is much more powerful now, and serves as a really convenient way for setting a bunch of node properties at once

github.com/konvajs/konva - e60eb8be6ecc566bf7c1e07157d62d6f6044109f authored over 12 years ago by Eric Rowell <[email protected]>
transitions can now operate on ANY numeric value for any Node object, regardless of the property's depth in a config object tree

github.com/konvajs/konva - 2ac2c2856cec04f813cb529888230ae43f5c060d authored over 12 years ago by Eric Rowell <[email protected]>
added support for heigt and width properties inside an object config property to be transition-able

github.com/konvajs/konva - 9944b897c4684cef9b432552531c07e282e61e0e authored over 12 years ago by Eric Rowell <[email protected]>
added gaurd against infinite slopes for dashed lines

github.com/konvajs/konva - 1c36f208c08253773de471d3188393a4424dde65 authored over 12 years ago by Eric Rowell <[email protected]>
fixed slop calculation bug with dashed line logic

github.com/konvajs/konva - 5045c3fbc461d2a30b1a2e176886f2c924285c76 authored over 12 years ago by Eric Rowell <[email protected]>
a bit of refactoring here and there, added some getters and setters that i missed in Kinetic.Sprite

github.com/konvajs/konva - c6040ebf9daf95bcfef89f1222e4d4125566972c authored over 12 years ago by Eric Rowell <[email protected]>
added _setPoints so that points setter methods could leverage the same logic that was in the setAttrs() method

github.com/konvajs/konva - ec415c55deba52c0011ce0b419c741ff99adab0b authored over 12 years ago by Eric Rowell <[email protected]>
fixed bug with _setSize()

github.com/konvajs/konva - 7f8a174b512a0495df0f955b22f869d6cb53728a authored over 12 years ago by Eric Rowell <[email protected]>
refactored _getXY utility and usage

github.com/konvajs/konva - 7be0e5f57765f56ee886407ad02c463ed215bed4 authored over 12 years ago by Eric Rowell <[email protected]>
finished up pattern fill support

github.com/konvajs/konva - e4f5e117926490d29cfacc6f63c13015eefbea7f authored over 12 years ago by Eric Rowell <[email protected]>
pulled out _setPointAttr from Node and moved it to the GlobalObject as _setXY, which enables x,y property setting for any object, not just attrs. also added _setSize which has similar logic for height width properties

github.com/konvajs/konva - 81df49e75db8fff09693637ed4de3d41b505c7b8 authored over 12 years ago by Eric Rowell <[email protected]>
setup support for pattern fills

github.com/konvajs/konva - 9e3475f37a9f29838f8971b7a8a23924c668c88c authored over 12 years ago by Eric Rowell <[email protected]>
after a bit more thought, I've decided to change the maxWidth property to width, to make it even more similar to CSS sizing rules. If you set the width of the text box to a certain value, and the text string width is longer than that width, the text will be clipped

github.com/konvajs/konva - 92919058b2a0211615916885f8f30077cb9e4d22 authored over 12 years ago by Eric Rowell <[email protected]>
reworked text max width logic to use clipping rather than native max width functionality which scales the text (what was w3c thinking? no idea)

github.com/konvajs/konva - 05df07829533fa1de3b6a6e23da05845586c1a2f authored over 12 years ago by Eric Rowell <[email protected]>
Merge pull request #20 from matthieu-ravey/master

Adding the maxWidth property to the Text Shape

github.com/konvajs/konva - 4b1403f7fea516ecb65ccc27a4b41283d5335b70 authored over 12 years ago by ericdrowell <[email protected]>
Kinetic.Line detection type is now defaulted to pixel since this is the expected detection strategy

github.com/konvajs/konva - 502115fad76aacc1a3bce7e5f79d43d94c1151ac authored over 12 years ago by Eric Rowell <[email protected]>
fixed bug with getTextSize() which was throwing a JS error if used before adding text to the stage

github.com/konvajs/konva - 51258531bf0ed4f28e3706dcf5f299887472e787 authored over 12 years ago by Eric Rowell <[email protected]>
modified setDefaultAttrs() so that it doesn't overwrite attrs defaulted in a custom class that extends a Kinetic class

github.com/konvajs/konva - 1146919d3d039d457f779d6eb8e607617d23b92f authored over 12 years ago by Eric Rowell <[email protected]>
Adding maxWidth support for fillText and strokeText

github.com/konvajs/konva - cd276169d7ab59e4a50ad56de64c83ca7524f072 authored over 12 years ago by Matthieu Ravey <[email protected]>
changed shadowFillStroke() to applyStyles(). Took applyLineJoin() out of shape draw functions and moved it to the Shape._draw() method.

github.com/konvajs/konva - 28f7fc246defdd0e2483d26de70faf22be58ac33 authored over 12 years ago by Eric Rowell <[email protected]>
improved shadow logic such that it first attempts to apply shadows to a shape's fill if it's defined, otherwise it will attempt to apply the shadow to the stroke

github.com/konvajs/konva - 2993191fe64d9bcbd43ca8ab936a63364cbd68b9 authored over 12 years ago by Eric Rowell <[email protected]>
added drawFunc property to layer so that layers can easily draw non-node background graphics

github.com/konvajs/konva - 16c251bb972455069cd7953a97a154d31b4153da authored over 12 years ago by Eric Rowell <[email protected]>
added shadow support. changed fillStroke method to shadowFillStroke

github.com/konvajs/konva - a27741ce03bc58cf70e487824dc7c2efef1a37f6 authored over 12 years ago by Eric Rowell <[email protected]>
point properties can now be set with an array of points or an array of numbers for convenience

github.com/konvajs/konva - 622278a5102782f06a4a06854e239994408dcba9 authored over 12 years ago by Eric Rowell <[email protected]>
implemented dashed and dotted line styling for Kinetic.Line based on method written by Phrogz

github.com/konvajs/konva - 40ebb21033b7be282a72ebf2933b60b525ca395b authored over 12 years ago by Eric Rowell <[email protected]>
added support for linear gradients and radial gradients using the fill property

github.com/konvajs/konva - f2976e7dd1f6259579fe322c57ab54e6a20d42b9 authored over 12 years ago by Eric Rowell <[email protected]>
fixed animation race condition bug that sometimes produced multiple requestAnimFrame calls, and also changed throttle property to be in fps (it used to be in ms). This will make it more consistent with other properties related to frame rates

github.com/konvajs/konva - 7d92a2099e2abf3103c733b9c38918d9bddda2a8 authored over 12 years ago by Eric Rowell <[email protected]>
added new Kinetic.Sprite shape that enables you to easily add animated sprites to the stage

github.com/konvajs/konva - 3585e000b66a857ebf14895ea6e448fac8f6469e authored over 12 years ago by Eric Rowell <[email protected]>
added new beforeDraw() and afterDraw() event handlers for Layer

github.com/konvajs/konva - 7bcd34ec47733b86725c599494a41945d40fbfb5 authored over 12 years ago by Eric Rowell <[email protected]>
added new Line Shape

github.com/konvajs/konva - 1dbe93a232e4d8f75e1d02188a236022b6ab5a5d authored over 12 years ago by Eric Rowell <[email protected]>
tweaked throttling algo and added unit tests

github.com/konvajs/konva - ffd9924511260df269e6e217e406362e54474986 authored over 12 years ago by Eric Rowell <[email protected]>
fixed small bug related to animations - if you called .start() multiple times, multiple animation instances would be created. This wasn't desirable. Also beefed up animation unit tests

github.com/konvajs/konva - ff31dcb0ae66e5c31bff5f10c60f948871e11587 authored over 12 years ago by Eric Rowell <[email protected]>
fixed glitchy flash on transitions when applying multiple transitions to the same node at different times

github.com/konvajs/konva - e8dcb8e5840ba120855d90dff76aca48df708039 authored over 12 years ago by Eric Rowell <[email protected]>
added stage.reset() method so that you can reset the stage to its original state. hooked this in with stage.load() so that the stage starts when a clean slate when loading json

github.com/konvajs/konva - bd17b54aa85df8e7c332d3e6732e6485c0403553 authored over 12 years ago by Eric Rowell <[email protected]>
fixed drawing bug related to new throttle feature

github.com/konvajs/konva - 9cc380608ea14d405ffa0c0dbe78e02c33bff8ef authored over 12 years ago by Eric Rowell <[email protected]>
added defensive coding when removing node from container in case it has not yet been added to the container

github.com/konvajs/konva - 6bed850042152c5a053937ff55a482a4bad57187 authored over 12 years ago by Eric Rowell <[email protected]>
introduced new setDefaultAttrs() method which greatly simplifies the logic required inside node constructors. This will also make plugin creation much easier

github.com/konvajs/konva - 8dce92c2fd219029384fea815db4ad31fd753bd6 authored over 12 years ago by Eric Rowell <[email protected]>
fill, stroke, and strokeWidth values of undefined, null, '', or 0 are now correctly handled

github.com/konvajs/konva - c661cff85a654ef3d5b0504c35a9c76833f89633 authored over 12 years ago by Eric Rowell <[email protected]>
stage.setSize() now correctly sets the content node dimensions. Also refactored object and DOM node sizing

github.com/konvajs/konva - 9f6381aef3636dd0bb4a87eb841e9e6210447be9 authored over 12 years ago by Eric Rowell <[email protected]>
added throttling unit tests

github.com/konvajs/konva - 3ac0e5592e4aa7de20bc4d8c5716dc22d76c58e9 authored over 12 years ago by Eric Rowell <[email protected]>
identified a couple public methods in the global object which are actually private

github.com/konvajs/konva - 3200a9063ae4d0a6edf7c36cc18fa75b50c64690 authored over 12 years ago by Eric Rowell <[email protected]>
added layer throttling which greatly improves drag and drop and other mousemove drawing performance

github.com/konvajs/konva - 4e82139b74a552f54f4ec05b3a971b5fdcf38f1b authored over 12 years ago by Eric Rowell <[email protected]>
removed Transition constructor block comment to remove it from jsdocs. Devs should just use the transitionTo() method without knowing how it works under the covers

github.com/konvajs/konva - 04554e0e6a80e9eb53a07b27b689e017ae25d123 authored over 12 years ago by Eric Rowell <[email protected]>
removed .onContent() and replaced with .getDOM()

github.com/konvajs/konva - 222aea4e2e2ee55499998b644b6be7ee48da2c9a authored over 12 years ago by Eric Rowell <[email protected]>
added new stage.getIntersects() method which allows you to obtain all the shapes that intersect a given point. Also enhanced all methods that require an x or y by allowing either two arguments to be passed in or an object to be passed in. Example foo(100, 50) or foo({x:100, y:50});

github.com/konvajs/konva - 9fef9e54d92f07f6e7c1b5498c18feee079308be authored over 12 years ago by Eric Rowell <[email protected]>
added new selector capability to .get() method. You can now select all nodes by type inside of a container, such as by Shape, Group, or Layer

github.com/konvajs/konva - 192681374db19be80f70320837c26abde7c8ca4c authored over 12 years ago by Eric Rowell <[email protected]>
changed isPointInShape() to intersects(). Currently the method accepts a point object, but I may extend this to also accept another shape object

github.com/konvajs/konva - 2879c0763f1320981634fba674792ea331582640 authored over 12 years ago by Eric Rowell <[email protected]>