Ecosyste.ms: OpenCollective

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

github.com/konvajs/konva

Konva.js is an HTML5 Canvas JavaScript framework that extends the 2d context by enabling canvas interactivity for desktop and mobile applications.
https://github.com/konvajs/konva

fixed bug with isDragging method

cb68fa02150a2ee6549b0482734c8ffe50b55396 authored about 12 years ago by Eric Rowell <[email protected]>
added logic to correctly draw buffer paths for cases where a developer is creating an invisible mask for event detections

15aeabacc17bf126ccd2c6d24dd7d8c0fbe1578d authored about 12 years ago by Eric Rowell <[email protected]>
moved color key generation logic from Container to Shape so that it's generated immediately, instead of on add

92208d8e569d6dddef9ad1932a4d8e2d12aa9578 authored about 12 years ago by Eric Rowell <[email protected]>
mouseover and mouseout events should not fire during drag and drop

0640e0b70513cc3c0247a22e768bec80b7da5139 authored about 12 years ago by Eric Rowell <[email protected]>
refactored draw, _draw, and _drawChildren methods in such a way that isVisible and getListening logic resides in one place, therefore improving code quality

9093d9a512c021febcdcd259042bcc3894c0fc02 authored about 12 years ago by Eric Rowell <[email protected]>
refactored filtering logic

e99312ece2e10e3485b851f983e9d3ae132fdbf2 authored about 12 years ago by Eric Rowell <[email protected]>
rewrote intersects method, which now leverages the new getIntersection method. fixed up unit tests. also fixed bug with getIntersection method

e19dae3402e3b1dd7e186f4222cc701dc8e8c8ce authored about 12 years ago by Eric Rowell <[email protected]>
new hit detection algo works with images that contain transparent pixels. Devs will need to use the createImageBuffer() method to create a higher precision buffer image

f944409a1e13d525495a2b64de92aaf8ecbd1946 authored about 12 years ago by Eric Rowell <[email protected]>
added drawScene() method which only redraws the scene and not the buffer

f53c43d4f71bb6eaae2da5c42027b7717a3f21f6 authored about 12 years ago by Eric Rowell <[email protected]>
hit detection color mapping now takes into account anti-aliasing color variations, which was causing issues when moving the mouse from one shape into another shape which were inside the same group. created getIntersections() method which returns an object with shape and pixel data

e6e488025e85d3d891afdfedbb34df1cfa54de2b authored about 12 years ago by Eric Rowell <[email protected]>
refactored ancestor comparison logic to ensure that container handlers aren't incorrectly executed for mouseover mouseout. Fixed up functional tests

9cdbadc4fd8248df5beef0a741240f6e71a68622 authored about 12 years ago by Eric Rowell <[email protected]>
draw methods now draw on both the front and back buffer by default, unless a canvas is passed as an argument. continued fixing up unit tests. Image width and height are now synced whenever the image object changes.

6a58830df3fbf9703ad0c4d75ddc0f8719671ad4 authored about 12 years ago by Eric Rowell <[email protected]>
added support for image hit detection with new color mapping algo

bae57488cf7048597c9707b0bf2ce2282cb4127b authored about 12 years ago by Eric Rowell <[email protected]>
(Forgot to build the dist-versions.)

7530e6a0981f6b842ddf985ae9a05ffafeb4f64b authored about 12 years ago by David Johansson <[email protected]>
It's better to applie the custom dragBoundFunc before applying 'normal' dragBounds och dragConstraints so they wont get overridden.

d354117409ac69e4c78873643a1240970dad9b66 authored about 12 years ago by David Johansson <[email protected]>
continued prep work for v4.0.0. removed detectionType property because new event engine uses one strategy. added new drawBuffer method so that you can redraw the buffer without redrawing the visible canvas. changed alpha to opacity.

02c6c7276fe48224c44234e438b1aaccbbda8c71 authored about 12 years ago by Eric Rowell <[email protected]>
Using new pos from return instead of by reference.

aaeb49acf485519526dc880e2d56a9135749ff68 authored about 12 years ago by David Johansson <[email protected]>
Added support for dragBoundFunc where custom dragbounds (or constraints) can be defines.

15fe79873c574924eedd34c9b32adc5ef649d822 authored about 12 years ago by David Johansson <[email protected]>
major refactoring of the event engine to better support new hit detection strategy

ef14edede3d33dbc906d4affd03d6b76fca5045d authored about 12 years ago by Eric Rowell <[email protected]>
checking in first phase of new hit detection algo, which enables high performance event detections even if there are hundreds of thousands of shapes. This is a giant improvement over the previous algo, and is a fairly big architectural change. Since the Animation architecture and API is also changing, I feel that these changes are big enough to warrant a new major version, v4.0.0

468f8ef2d3afebddb356c55025bccc14e4c8974a authored about 12 years ago by Eric Rowell <[email protected]>
prototyping back buffer hit detection algo

0f1a424840ab0c8b61618f15926e4d31bbfd7bf5 authored about 12 years ago by Eric Rowell <[email protected]>
added new performance test in preparation for new hit detection algo investigation

8c147ee2b5c65cb4f3da33a947a0287a13b1b54b authored about 12 years ago by Eric Rowell <[email protected]>
Merge pull request #63 from jfollas/master

FIxed Stage.toDataURL JPEG issue

5c898e7da5015cc89535fac8795f17be02c940c3 authored about 12 years ago by ericdrowell <[email protected]>
Fixed flaw in Stage.toDataURL where JPEG layers were hiding lower layers due to the use of black instead of transparent.

1d6acca8f3a56da0241c4687f2302e49ac6fcb0a authored about 12 years ago by Jason Follas <[email protected]>
temporarily disabled serialization unit tests

e5d195f9b4c8209bc5faab100e8a929b9721565d authored about 12 years ago by Eric Rowell <[email protected]>
hooked drag and drop into animation engine

66ba99f9bcecda204d8d1b6a5f83fac8a02ec667 authored about 12 years ago by Eric Rowell <[email protected]>
hooked node transitions and sprite animation into new animation API

58cabf8ddcaae15beb183bf758d1277024e898c2 authored about 12 years ago by Eric Rowell <[email protected]>
rewrote Animation API to improve flexibility. Animations are no longer tied to the stage. You can now instantiate as many individual animations as you like, and manage them however you like

b6db65301c746111be68c46b19a93e56312abc5e authored about 12 years ago by Eric Rowell <[email protected]>
Kinetic.Animation is now a class that can be instantiated to better represent animation objects. Rather than creating new animation objects and destroying them each time an animation is started and restarted, the same animation obect is now reused, which should help with performance

9ad9121259ba1c1398e0f555c0003bb5948de9ee authored about 12 years ago by Eric Rowell <[email protected]>
changed tempNodes array into a hash to improve performance

d5eee80c0e57c73c5591d6ad80e840750ef81d6a authored about 12 years ago by Eric Rowell <[email protected]>
changing the font size now correctly updates the text data

ed8c5ab6b86fae28278a16f3221bde4b3ca7a9ff authored about 12 years ago by Eric Rowell <[email protected]>
transition callback is now executed immediately after final node draw

b7ac415ea6ca0ed046b5a288412c959d04aa19d5 authored about 12 years ago by Eric Rowell <[email protected]>
removed plugins directory because Kinetic will be using a configurator in the near future

75b20573cda42d6e842b906c02c24e1dd24f5486 authored about 12 years ago by Eric Rowell <[email protected]>
fixed bug with stage.remove(layer). layer canvas context is now correctly removed from the dom

87182d704c7b37d701c2a880387a3eb91dff7e6d authored about 12 years ago by Eric Rowell <[email protected]>
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

e69c7a9ac14b501120f9633c4eb5fcaef4206186 authored about 12 years ago by Eric Rowell <[email protected]>
decided to move Path back into core

e82fbfa2b0a009855315c165faaf533810c893f1 authored about 12 years ago by Eric Rowell <[email protected]>
moved path parsing logic to Geometry class

4ea094f459e74acf4374bedc71ef5b1d749533d1 authored about 12 years ago by Eric Rowell <[email protected]>
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

9631d6e1bb215d9c72434d1d479974245f7f5ad4 authored about 12 years ago by Eric Rowell <[email protected]>
moved drawFunc definition out of the shape initializers as a method to improve space performance

c4a359cd48aa158bbbbe9d3bb39b13dc3f1ad03b authored about 12 years ago by Eric Rowell <[email protected]>
fixed Star plugin docs

a67c1e70b195526bc8e23530c9b9af21516fdb87 authored about 12 years ago by Eric Rowell <[email protected]>
Merge pull request #58 from jfollas/master

Enhancements to Path/TextPath

edabaf270e38650e1ada9e895833d5f1046affbb authored about 12 years ago by ericdrowell <[email protected]>
merged with jfollas's TextPath updates, fixed remaining unit, manual, and performance tests, and fixed stroking logic

5b323bea40e1ebcdf8ac0675ed524750c1edf9c3 authored about 12 years ago by Eric Rowell <[email protected]>
More JSDoc work

58f0b6f5b18f587d64b9c197b6718d9ea71c0163 authored about 12 years ago by Jason Follas <[email protected]>
Corrected JSDoc text to refer to Kinetic.Plugins.TextPath instead of Kinetic.Text

d6933ecb53aaa14ab62f331bbcf69a8ae72bc176 authored about 12 years ago by Jason Follas <[email protected]>
Changed namespace for "plugin" shapes to Kinetic.Plugins. *This is a breaking change!*

Fixed unit tests. Extracted Path parsing logic into PathHelper so that it's not tied to a partic...

8d535556d724849858b571b3c6d6d0b7b2b9d92e authored about 12 years ago by Jason Follas <[email protected]>
fixed tests

1585cc3620f6089e65b19d4d038717e2bb841d58 authored about 12 years ago by Eric Rowell <[email protected]>
TextPath extends Shape instead of Path. Extracted common path functions into PathHelper.js. Updated unit tests.

5d77471f7ec0333b4761b2e58f37cd33718df754 authored about 12 years ago by Jason Follas <[email protected]>
silky smooth animations. got rid of layer and event throttling, and instead created dragThrottling. The dynamic animation frame rates already handles optimized animation drawing, we just needed to add manual throttling to drag and drop. Animations are now very smooth, and drag and drop is still smooth

eccd8b7e64da622bf08134a88e86a127110a8629 authored about 12 years ago by Eric Rowell <[email protected]>
added some performance tweaks and polished up code here and there

ce3b98ee9cad1bd7e6bbb7a477d2688eae75886c authored about 12 years ago by Eric Rowell <[email protected]>
merged jfollas's new TextPath shape, and moved non-primative shapes to the plugins folder as shape plugins

c26a1ae5d56ae0a18a83732156d2430fb8b0a0ee authored about 12 years ago by Eric Rowell <[email protected]>
fixed bug with fillText in Shape class

4410ce9982fcdc8c95fc31aca1686d1952c95999 authored about 12 years ago by Eric Rowell <[email protected]>
updated Shape constructor docs

ebf324484d3e84fb03d2705bb7d4882ccfbbae54 authored about 12 years ago by Eric Rowell <[email protected]>
finally got around to documenting the Node, Group, Stage, Shape, Layer, and Container constructors

5f7b6018faf16ed612e31de3b4edc791d56691b3 authored about 12 years ago by Eric Rowell <[email protected]>
updated more docs

3997d743172feb336f3aa6f1784b95d550f969b5 authored about 12 years ago by Eric Rowell <[email protected]>
updated docs

3617d8ef5fb5724b0b8a814a1f3ceb8d3bfc6838 authored about 12 years ago by Eric Rowell <[email protected]>
Merge pull request #55 from imakewebthings/patch-1

Fix getStrokeColor -> getStroke in Shape docs.

f7e233100a647ade3d73d633aaa0d9d8f94cb21f authored about 12 years ago by ericdrowell <[email protected]>
Fix getStrokeColor -> getStroke in Shape docs.

0a1d63290080db6f6bd3db3e47c5e03d85ac4b78 authored about 12 years ago by Caleb Troughton <[email protected]>
fixed bug with setSize method in Image object, and tweaked shape caching performance test to demonstrate a 4x drawing performance boost

da7429fb7b85f0d59a36e498086beacb74da8e70 authored about 12 years ago by Eric Rowell <[email protected]>
fixed a few bugs discovered with integration testing. added some performance tweaks

781a2ebe603e9fde6f1b722014dad6bd161ec6f3 authored about 12 years ago by Eric Rowell <[email protected]>
you can now cache regions of a node outside of the stage viewport. added more unit tests

f1cb695e1fb12e5df672ed53d6709ed7c1b31b17 authored about 12 years ago by Eric Rowell <[email protected]>
fixed new bug with stage toDataURL that was introduced with the new Canvas class, and added new filter unit tests

d74ec8ab068c023dcd261fde54f8d883d2b4f147 authored about 12 years ago by Eric Rowell <[email protected]>
now that things are drawn onto arbitrary canvas elements wrapped with the Canvas class, it's now possible to create temp canvases on the fly, which enables correct-size image filtering, and no limits on node caching

4b0b3a2a20c94ddc42aa90d055e698decc13a5ac authored about 12 years ago by Eric Rowell <[email protected]>
formatted pull request

c09742c77c007f0313f7cd330571e96df6b9a47c authored over 12 years ago by Eric Rowell <[email protected]>
Merge pull request #52 from Country/master

Miscalculation of container position

148cde228a6719a1f318f7f548718edab852ef8f authored over 12 years ago by ericdrowell <[email protected]>
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

d8bbbf63538b74b6c447286646083af56498d873 authored over 12 years ago by Eric Rowell <[email protected]>
Fix _getContentPosition, the position was miscalculated if a positioned container had a border.

e46dfdb56512d7d458269ef1840d3d6fa6ceb206 authored over 12 years ago by Yannick Croissant <[email protected]>
first pass at implementing filters. Still have a lot to work through.

20adf7e0364345196e417ceb7a1eaa1963bab177 authored over 12 years ago by Eric Rowell <[email protected]>
worked through some synchronous / asynchronous issues with toDataURL and toImage(). stage toDataURL() is now asynchronous, and all other node toDataURLs is still synchronous. toImage() is now asynchronous. Kinetic.Image once again only accepts image objects, and can no longer be instantiated with a data URL or image data due to asynchronous issues. It's much cleaner for the developer to load an image however they like, and then instantiate a Kinetic.Image shape synchronously

384a6867403005a8bc86d589aa3271880a22bd35 authored over 12 years ago by Eric Rowell <[email protected]>
updated unit tests

acc6b6e14edcb1491d27c2496cb826bc2c97ec4d authored over 12 years ago by Eric Rowell <[email protected]>
new toImage() method to support node caching

6dc7c685f0c4d6d0ad66cc97e5aa529c026493a0 authored over 12 years ago by Eric Rowell <[email protected]>
cleaned up intersects logic, and added more docs

2629c1237c70d0bcda7fb85de06dd7aeb223e922 authored over 12 years ago by Eric Rowell <[email protected]>
added data url support for Kinetic.Image, and added unit tests

864938ed33338d3985674192e044e5fcc9c28c29 authored over 12 years ago by Eric Rowell <[email protected]>
toDataURL() is now synchronous, and works with all nodes, including the stage, layers, groups, and shapes. This also sets things up nicely for node caching. You can now cache anything, including the whole stage, layers, groups, or shapes, manifested as Kinetic Images that were instantiated with data urls

4692c51c74fd896bddfac417246875a48aee24de authored over 12 years ago by Eric Rowell <[email protected]>
setup filters. saveImageData can now work for any nodes, including shapes, groups, layers, and the stage. images can now take image data as a parameter. This enables shape caching. New beforeAttrChange event which fires before an attr is changed

d62df7ba5cbe0b512278485897c8e623ef7d1d2c authored over 12 years ago by Eric Rowell <[email protected]>
added performance test suite with two sample performance tests

2548e3c2effc7e74c44be37a8ef2c3a75ef03d23 authored over 12 years ago by Eric Rowell <[email protected]>
the stage ids and names hashes are now updated correctly whenever a node's id or name changes

5bfcf3ffa8f68c4253b63a984d97d992489a8801 authored over 12 years ago by Eric Rowell <[email protected]>
on attr change handler eent object now contains oldVal and newVal property

9a83d3dfdf8752f357aa516c6b2e41d3010a6840 authored over 12 years ago by Eric Rowell <[email protected]>
Merge pull request #48 from vijairamcharan/master

Issue with getAbsolutePosition() when used with a parent with a center offset

01e2541c9dd53e7c449c2c38dc9b1cf54a3b50a6 authored over 12 years ago by ericdrowell <[email protected]>
Enabled all tests

63a1ed1ad5fb6d8b49288e89d13af59e01671e2f authored over 12 years ago by Jason Follas <[email protected]>
Fix for Scientific Notation bug in Path

e6031e1bf8fac7a8605749bb7b75a4c067f2af25 authored over 12 years ago by Jason Follas <[email protected]>
removed unecessary regex in Class file which was tripping up the JS minifier

d4f03e64b18cc1287082d22ea26f88c5f2ca5d05 authored over 12 years ago by Eric Rowell <[email protected]>
Moved center offset translation from drawing to getTransform()

This fixes an issue where getAbsolutePosition() would not work when
used with a parent that has ...

41299d7f9842895ce1871269f0251ac96ce7bb18 authored over 12 years ago by Vijai Ramcharan <[email protected]>
Added unit test for getAbsolutePosition and center offset

This unit test demonstrates the issue where getAbsolutePosition() is
not working correctly if a ...

474d6aaab5e12a76a8b4193366ab5c82abfac987 authored over 12 years ago by Vijai Ramcharan <[email protected]>
Added TextPath shape (extension of Path shape, but renders text along path instead of stroking/filling the path)

0b1ddbd5304ef92762c2a2905fffdce40ef3f35f authored over 12 years ago by Jason Follas <[email protected]>
updated the documentation for all methods to reflect the new inhertiance changes. And yes, if you're curious, it took forever.

780d5568db8b27de8dd002082a4f8ae2f4f25f26 authored over 12 years ago by Eric Rowell <[email protected]>
fixed afterFrame index bug which caused the event to trigger on the wrong index

5169c932193bf9e3283ba355ad1b61c71cb912ee authored over 12 years ago by Eric Rowell <[email protected]>
rewrote text array algo in Text. added newline support. now handling edge case in which the text box width is smaller than a character width. if a line is not able to wrap via space or dash, the word itself is wrapped.

d0f37f7c88587c9e1ff8836d4fa0466f4b5bb704 authored over 12 years ago by Eric Rowell <[email protected]>
greatly improved sprite animation performance by hooking into the global animation object

30fd5c1fa7bf4db7faf8313c65ad3498f1be2e6c authored over 12 years ago by Eric Rowell <[email protected]>
implemented clone method (inspired by matteo78) and added thorough unit tests

a8ab9a253348f9628e60727bf67f0839aeb58253 authored over 12 years ago by Eric Rowell <[email protected]>
attr change events no longer bubble. updated functional test data urls

7f7cd248382a66f1696aebc155323b25cb3c991d authored over 12 years ago by Eric Rowell <[email protected]>
getIntersections no longer returns visible shapes in the result set, and can also be called from any container

9baaee24400a2737ab3a71b641f384232c76a482 authored over 12 years ago by Eric Rowell <[email protected]>
added event bubbling functional test

1f3d1cc905bab33b6c4ddf33a5a75c69e31131c8 authored over 12 years ago by Eric Rowell <[email protected]>
fixed mouseover / mouseout incorrectly firing when moving from one node to another node inside the same container

014d4f198f19350358446a8d09bb845f7e600323 authored over 12 years ago by Eric Rowell <[email protected]>
fixed gub with Container.remove() method which had bad logic removing children nodes

d28d2c910d81e6ad43acbd24f4b7e113547a7316 authored over 12 years ago by Eric Rowell <[email protected]>
fixed RegularPolygon getters and setters

26e753b90c75b23844109e3a1a1b8ce245e470ce authored over 12 years ago by Eric Rowell <[email protected]>
moved animation logic into Animation.js. Global.js now only contains logic and properties that operate on stages

de7cab4cf3787353a026c3e6efeca977e7a1037d authored over 12 years ago by Eric Rowell <[email protected]>
moved data type logic into new utility files Type.js and renamed GlobalObject to Global

6126c73a84d9293c04ff4069ae79c1a424a8b996 authored over 12 years ago by Eric Rowell <[email protected]>
made performance improvement for isVisible method, suggested by mysza

17644fcb8f780791b111a144f15d292acb99fff3 authored over 12 years ago by Eric Rowell <[email protected]>
now utilizing John Resig's mashup of Base.js and protototype.js inheritiance Class so that it's easy for developers to extend KineticJS objects with extend() or to simply tack on new methods and properties that's available to all children classes. Moved getter and setter logic to Node. Moved transition class to root directory and created Tween class

3d4d2d20c091b55d9362a7f2dc9ddc702bb374b2 authored over 12 years ago by Eric Rowell <[email protected]>
updated serialization/deserialization unit tests

e2e16d49c11f66cd186431f1e332c02e3715de62 authored over 12 years ago by Eric Rowell <[email protected]>