Saturday, April 9, 2016

Making a Simple JS Library to Extend Konva Framework with More Shapes


Detail:

Here, I have only added triangle shape to the kshapejs library. This just a demo to create a custom javascript library based on konva framewrok or, any other js library/frameworks.
Learn more about konva framework here.

Get the code here in my github repository,
https://github.com/quickgrid/kshapejs-konva-library/blob/master/kshapejs.js

How the Triangle is Implemented:

Sample Html File:


KShapeJS Library:


No comments: