Tuesday, January 29, 2013

Javascript tool (drawing images and saving captions using Raphaeljs)


Admin mode: (can View/Add/Remove/Edit)
CODE: http://jsfiddle.net/theacadian/s4Xjg/56/
DEMO: http://jsfiddle.net/theacadian/s4Xjg/56/show

User mode: (can only View)
CODE: http://jsfiddle.net/theacadian/s4Xjg/54/
DEMO: http://jsfiddle.net/theacadian/s4Xjg/54/show

Libraries used - jQuery UI, Raphaeljs, jQuery
Made use of the "lasso" extension found in - http://stackoverflow.com/questions/4649293/lasso-tool-in-javascript


Saturday, January 19, 2013

Javascript - Lasso functionality 1 (jQuery extension, Canvas element)

Combined the below examples to draw & paint an area (polygon) selected by the user (Used HTML5 Canvas element to draw & paint the polygon; Have to try Raphaeljs to do the same thing)
http://stackoverflow.com/questions/4649293/lasso-tool-in-javascript
http://stackoverflow.com/questions/4839993/how-to-draw-polygons-on-an-html5-canvas


Followers

Blog Archive