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

fix #93 layer children were still detecting events even when layers were hidden

github.com/konvajs/konva - 8cd47db0467f08436fc4911501a7cb5b75977e79 authored about 12 years ago by ericdrowell <[email protected]>
Made getAbsoluteOpacity work recursively. Also added support for stage opacity (included test).

github.com/konvajs/konva - 73bf8054832ca27c97d8801b4020edabcf8a74bd authored about 12 years ago by David Johansson <[email protected]>
fixed up unit serialization tests. cleaned up constructor jsdoc comments. fixed Ellipse setRadius method

github.com/konvajs/konva - 759ec116cedfb1ead4ce3d28b9507d2578f3166e authored about 12 years ago by ericdrowell <[email protected]>
improved OO design for remove() and add()

github.com/konvajs/konva - f235ea032d7af866aa4c393fd9f3cc98bbd812c1 authored about 12 years ago by ericdrowell <[email protected]>
got really tired of doing node.getParent().remove(node). To remove a node, you now just do node.remove().

I realize that this doesn't follow the JavaScript pattern of
parent.remove(child), and that from...

github.com/konvajs/konva - 0a8f0ddb74b47450e1820cd7d7b4c46cfb9861b7 authored about 12 years ago by ericdrowell <[email protected]>
merged pull request #65 and updated manual tests. Also removed dragConstraint and dragBounds as they are now redundant. I may introduce a set of dragBounds helper functions, similar to filters, that provide common functions out of the box, such as Horizontal and Vertical

github.com/konvajs/konva - 900f02f9124f8c17692d524801f7a7e605017d62 authored about 12 years ago by ericdrowell <[email protected]>
cleaned up isAncestorOf logic. stage should not be an ancestor of self. plus this was bad OO design

github.com/konvajs/konva - b757342b11c73ee84a9f29574bf3a48db316964f authored about 12 years ago by ericdrowell <[email protected]>
merge pull request #106

github.com/konvajs/konva - 2b99a88b7eb9de9e935993da8a3891d10e891e57 authored about 12 years ago by ericdrowell <[email protected]>
merge pull request #102

github.com/konvajs/konva - 8fdab12e96c11e98cf5d8537f3b4e9c3342a3d70 authored about 12 years ago by ericdrowell <[email protected]>
created _getFillType utility to help manage fill type objects. You can now dynamically switch between different fill types, including colors, linear gradients, radial gradients, and patterns

github.com/konvajs/konva - d4734ba33a3760669982e3e5cd87aa39864fea71 authored about 12 years ago by ericdrowell <[email protected]>
in addition to Collection each() and apply(), I wanted to make it easier to attach event listeners to node collections, so I went with David Johansson's approach for whitelisting on() and off().

The difference now is that the on() and off() methods are dynamically
added to the Collections p...

github.com/konvajs/konva - ff926b34af8dfa6654a631eb2de619bf1255c847 authored about 12 years ago by ericdrowell <[email protected]>
now that the attrs engine has been rewritten, we can cleanly hide and show the layer canvas whenever the layer is hidden or shown via instantiation or with setters. Also improved layer hide and show unit test

github.com/konvajs/konva - d522b9d9d01d57b95fb1a0503f4cb46d801d138d authored about 12 years ago by ericdrowell <[email protected]>
unrecognized selector should return an empty array. also formatted unit tests

github.com/konvajs/konva - 74bef1e1084fdf0e2cae73f065470490e75567c3 authored about 12 years ago by ericdrowell <[email protected]>
refactored get() method

github.com/konvajs/konva - 9bfe5f5e52b955a1e99e91eb9a0ed2e29f377a43 authored about 12 years ago by ericdrowell <[email protected]>
adding empty dist files

github.com/konvajs/konva - 8b5013c3935bc740b1aebfc5382bf00fbacb637d authored about 12 years ago by ericdrowell <[email protected]>
removing dist files

github.com/konvajs/konva - 366849e64e57ee1a3afde4016319bae3675b82e6 authored about 12 years ago by ericdrowell <[email protected]>
Corrected Kinetic.Path.getPointOnLine() to work in negative x direction. Including Unit test.

github.com/konvajs/konva - 869e4200995f00d67c76de2a9148f34c0595679b authored about 12 years ago by David Johansson <[email protected]>
merged with latest trunk

github.com/konvajs/konva - 90ba0d9a78fb9f91d7e3cdb6a526a60a8059c2c7 authored about 12 years ago by ericdrowell <[email protected]>
first pass at rewriting the setAttrs logic in Node. In order to have a cleaner OO design, the data type logic needs to exist within each respective module, such that the setter methods are the source of truth.

the setAttrs method now simply calls setter methods. Also added _clone
and _merge utility metho...

github.com/konvajs/konva - 0353214fb629d173c18549af25248cb5c0a6101a authored about 12 years ago by ericdrowell <[email protected]>
Re-added Kinetic.Collection to _getNodes and a test confirming its necessity.

github.com/konvajs/konva - 16c7cd2708ec70f400242e85b054662ac8b28c9a authored about 12 years ago by David Johansson <[email protected]>
Merge pull request #103 from davonium/allow_dom_extension

Fix bug with toJSON

github.com/konvajs/konva - 222addd579093d1e5508e1eec57a39e557f37936 authored about 12 years ago by ericdrowell <[email protected]>
Fix bug with toJSON, all properies of nodes were not serialized if some native objects of JS were extended.

github.com/konvajs/konva - 8f8fcc8a90fa49dda78c157ede2d6ca98645dc84 authored about 12 years ago by David Johansson <[email protected]>
Fix for TextPath shadow. SHadow was only added for first character.

github.com/konvajs/konva - 2c937362b72d71fb7b571dea311949cfd5e33580 authored about 12 years ago by David Johansson <[email protected]>
fix #96 setting text to integer data types no longer fails

github.com/konvajs/konva - a349fa488c80bddbd23e7102abe4a3484664a659 authored about 12 years ago by ericdrowell <[email protected]>
#fix 97

github.com/konvajs/konva - 9fde3036f707803307f3a5240ce92f838fcec0cb authored about 12 years ago by ericdrowell <[email protected]>
added isListening and isDraggable aliases for consistency

github.com/konvajs/konva - 24e3aa2c03c7cdd5faeebbe36f7d917a47af7ec5 authored about 12 years ago by ericdrowell <[email protected]>
no reason to use a Kinetic.Collection inside _getNodes because the elements are pushed into a collection outside of _getNodes

github.com/konvajs/konva - bda7f9f082ce121a6be94a9f54178b8d22423261 authored about 12 years ago by ericdrowell <[email protected]>
Merge pull request #101 from davonium/collection

Corrected behaviour of the collections apply method. and some more.

github.com/konvajs/konva - 1d9679a0f305207fcab7d61e43e6a99a49abc293 authored about 12 years ago by ericdrowell <[email protected]>
Merge remote-tracking branch 'upstream/master' into custom-dragBounds

github.com/konvajs/konva - a8cacb28e38d9e63679661870d5f55b64e989f8d authored about 12 years ago by David Johansson <[email protected]>
Corrected behaviour of the collections apply method.

Changed collections each-method to use same syntax as jQuery - function(index, element) and also ...

github.com/konvajs/konva - 45d61a0eb611473dd73da08614e9994145879526 authored about 12 years ago by David Johansson <[email protected]>
created Collection class to handle iterating over arrays returned from get()

github.com/konvajs/konva - 9f5d0fe35102fe6ffe572cb4ad54b7018d591012 authored about 12 years ago by ericdrowell <[email protected]>
get() now returns a Node.Array array which has node methods. This means that you can do stuff like layer.get('.shape').setX(300)

github.com/konvajs/konva - 8d6103d1e052196ae8958f4fe91c1116a1555e39 authored about 12 years ago by ericdrowell <[email protected]>
fixed README

github.com/konvajs/konva - b56bd6618ae9186308abc6e1d9fd3adf69a60dcb authored about 12 years ago by ericdrowell <[email protected]>
updated README

github.com/konvajs/konva - 76a13ad8f2daf3a2d59671bb67cbc1cfcf9aa245 authored about 12 years ago by Eric Rowell <[email protected]>
when calling layer.hide() or show(), the physical canvas element is hidden and shown rather than clearing and redrawing the layer. This greatly improves hide and show performance for layers

github.com/konvajs/konva - d0a1b2870e9975aa226dc78b6938450c0d067bf2 authored about 12 years ago by Eric Rowell <[email protected]>
merged davonium's pull request which enables deep cloning

github.com/konvajs/konva - 0f2cee5499b67b9240cd3383919645c5ff7b8fbb authored about 12 years ago by Eric Rowell <[email protected]>
it turns out that there was only a problem with moveDown. refactored logic proposed by Adam

github.com/konvajs/konva - 01c2b28a6c29e0c68a99ba8d56f165c0ef3b231f authored about 12 years ago by Eric Rowell <[email protected]>
Merge pull request #92 from amw/fix-move-down

Fix Layer.moveToBottom/moveDown when only one layer is present

github.com/konvajs/konva - 0bf3db0688413d2f83d7c8ac0640d5e388b64553 authored about 12 years ago by ericdrowell <[email protected]>
Fix Layer.moveToBottom/moveDown when only one layer is present.

Removes references to undefined objects.

github.com/konvajs/konva - a9811a8adc89c13b7217ed4f1a94f212d1010bf2 authored about 12 years ago by Adam Wróbel <[email protected]>
Deep cloning. Cloning also clones children. Also added unit test to confirm that it's working as expected.

github.com/konvajs/konva - 580e52689cfea6d3f0782237546e60e1e82cfe41 authored about 12 years ago by David Johansson <[email protected]>
cleaned up _getContentPosition() method and fixed event detections for stages below the fold on mobile devices

github.com/konvajs/konva - 8883e80bfe88cbe2c92c1de027eb4fd166294e6b authored about 12 years ago by Eric Rowell <[email protected]>
multi line text now correctly supports shadows

github.com/konvajs/konva - 1de5bce6e54c2f5f6a282e849ebc182deda0c614 authored about 12 years ago by Eric Rowell <[email protected]>
now removing color key from shapes hash when a shape is removed from the stage

github.com/konvajs/konva - c01c08d5572dcf5f2ce5d0accbaebfda1c76d8cc authored about 12 years ago by Eric Rowell <[email protected]>
rounding pos components when used with getImageData

github.com/konvajs/konva - 89611aed5f0f64bc0b1f2b18df7fd9abc65c9568 authored about 12 years ago by Eric Rowell <[email protected]>
fixed getIntersections bug

github.com/konvajs/konva - 79a1029adbb6f2365ce318c58d357d992cc1392a authored about 12 years ago by Eric Rowell <[email protected]>
the Sprite afterFrame function should only execute once

github.com/konvajs/konva - 5e6c8774e862f7ef8b5b1a453fffabe250dc3bc6 authored about 12 years ago by Eric Rowell <[email protected]>
added radius type checking in setAttrs method

github.com/konvajs/konva - f08701e3470bf174edd8a83b446b218cb9e52819 authored about 12 years ago by Eric Rowell <[email protected]>
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

github.com/konvajs/konva - 6eda6d2607339a74e7469eaa4f793ba89dbb8352 authored about 12 years ago by Eric Rowell <[email protected]>
layer reordering now correctly reorders scene canvases

github.com/konvajs/konva - ddfcab2d55e8a1ec37b43d0785933d11d19b8d66 authored about 12 years ago by Eric Rowell <[email protected]>
forgot to remove Class util as it is no longer used

github.com/konvajs/konva - 20f2158afb05d6eaff7a8eede914d289c71f897f authored about 12 years ago by Eric Rowell <[email protected]>
Merge remote-tracking branch 'upstream/master' into custom-dragBounds

Conflicts:
dist/kinetic-core.js
dist/kinetic-core.min.js
src/Node.js

github.com/konvajs/konva - 923b4d9c9161c64e3e66c5ecf4f6de92e9d9e3a7 authored about 12 years ago by David Johansson <[email protected]>
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

github.com/konvajs/konva - 1ad253088968f555154d2f0487fff8bfccd200fe authored about 12 years ago by Eric Rowell <[email protected]>
Merge branch 'customextend'

github.com/konvajs/konva - 45cf237ce02bb598e8b6b412ebade7195ffca890 authored about 12 years ago by Eric Rowell <[email protected]>
just run rectangle instantiation test for now

github.com/konvajs/konva - 39957fba73f706c0871336c7c765a1a068ff7135 authored about 12 years ago by Eric Rowell <[email protected]>
removed resig's Class dependency to test performance gain

github.com/konvajs/konva - d48aa321f4366b50418181f607bf0678f4b2db01 authored about 12 years ago by Eric Rowell <[email protected]>
applyFilter should generate a temp canvas based on the size of the image dimensions, not the user defined dimensions

github.com/konvajs/konva - 58ef06d3721a20737dd6855cefb6afab9252e695 authored about 12 years ago by Eric Rowell <[email protected]>
converting bufferImage to imageBuffer in Image.js

github.com/konvajs/konva - 47a0605e00b96c1717e97f30e8d293be7aa9b9e6 authored about 12 years ago by Eric Rowell <[email protected]>
changed bufferImage property to imageBuffer

github.com/konvajs/konva - 7b4ec5e6c82adaa81f6e4a3ab87b65076ad37469 authored about 12 years ago by Eric Rowell <[email protected]>
don't apply buffer fill if fill is not defined and shape contains an image

github.com/konvajs/konva - 4b142db887082c765506ca9685dcf79a7821b266 authored about 12 years ago by Eric Rowell <[email protected]>
fixed bug with isDragging method

github.com/konvajs/konva - 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

github.com/konvajs/konva - 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

github.com/konvajs/konva - 92208d8e569d6dddef9ad1932a4d8e2d12aa9578 authored about 12 years ago by Eric Rowell <[email protected]>
mouseover and mouseout events should not fire during drag and drop

github.com/konvajs/konva - 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

github.com/konvajs/konva - 9093d9a512c021febcdcd259042bcc3894c0fc02 authored about 12 years ago by Eric Rowell <[email protected]>
refactored filtering logic

github.com/konvajs/konva - 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

github.com/konvajs/konva - 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

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

github.com/konvajs/konva - 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

github.com/konvajs/konva - 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

github.com/konvajs/konva - 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.

github.com/konvajs/konva - 6a58830df3fbf9703ad0c4d75ddc0f8719671ad4 authored about 12 years ago by Eric Rowell <[email protected]>
added support for image hit detection with new color mapping algo

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

github.com/konvajs/konva - 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.

github.com/konvajs/konva - 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.

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

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

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

github.com/konvajs/konva - 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

github.com/konvajs/konva - 468f8ef2d3afebddb356c55025bccc14e4c8974a authored about 12 years ago by Eric Rowell <[email protected]>
prototyping back buffer hit detection algo

github.com/konvajs/konva - 0f1a424840ab0c8b61618f15926e4d31bbfd7bf5 authored about 12 years ago by Eric Rowell <[email protected]>
added new performance test in preparation for new hit detection algo investigation

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

FIxed Stage.toDataURL JPEG issue

github.com/konvajs/konva - 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.

github.com/konvajs/konva - 1d6acca8f3a56da0241c4687f2302e49ac6fcb0a authored about 12 years ago by Jason Follas <[email protected]>
temporarily disabled serialization unit tests

github.com/konvajs/konva - e5d195f9b4c8209bc5faab100e8a929b9721565d authored about 12 years ago by Eric Rowell <[email protected]>
hooked drag and drop into animation engine

github.com/konvajs/konva - 66ba99f9bcecda204d8d1b6a5f83fac8a02ec667 authored about 12 years ago by Eric Rowell <[email protected]>
hooked node transitions and sprite animation into new animation API

github.com/konvajs/konva - 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

github.com/konvajs/konva - 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

github.com/konvajs/konva - 9ad9121259ba1c1398e0f555c0003bb5948de9ee authored about 12 years ago by Eric Rowell <[email protected]>
changed tempNodes array into a hash to improve performance

github.com/konvajs/konva - d5eee80c0e57c73c5591d6ad80e840750ef81d6a authored about 12 years ago by Eric Rowell <[email protected]>
changing the font size now correctly updates the text data

github.com/konvajs/konva - ed8c5ab6b86fae28278a16f3221bde4b3ca7a9ff authored about 12 years ago by Eric Rowell <[email protected]>
transition callback is now executed immediately after final node draw

github.com/konvajs/konva - 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

github.com/konvajs/konva - 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

github.com/konvajs/konva - 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

github.com/konvajs/konva - e69c7a9ac14b501120f9633c4eb5fcaef4206186 authored about 12 years ago by Eric Rowell <[email protected]>
decided to move Path back into core

github.com/konvajs/konva - e82fbfa2b0a009855315c165faaf533810c893f1 authored about 12 years ago by Eric Rowell <[email protected]>
moved path parsing logic to Geometry class

github.com/konvajs/konva - 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

github.com/konvajs/konva - 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

github.com/konvajs/konva - c4a359cd48aa158bbbbe9d3bb39b13dc3f1ad03b authored about 12 years ago by Eric Rowell <[email protected]>
fixed Star plugin docs

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

Enhancements to Path/TextPath

github.com/konvajs/konva - edabaf270e38650e1ada9e895833d5f1046affbb authored about 12 years ago by ericdrowell <[email protected]>