Skip to content Skip to sidebar Skip to footer

Need To Create Mutiple Circle In A Canvas Like A Paint Application

I need to create circle when clicking in the circle button,like the circle in paint. Need to draw as many as the user need. How to work that by using Jquery, HTML5 and CSS3??? I

Solution 1:

jCanvas jQuery plugin is a potential solution.

$('#mycanvas').drawArc({fillStyle:'#CB5155',x:288,y:100,radius:70,strokeStyle:'black',lineWidth:5});$('#mycanvas').drawArc({fillStyle:'#442299',x:188,y:70,radius:30,strokeStyle:'blue',lineWidth:2});

That should draw 2 circles on the canvas. Rinse and repeat.

Post a Comment for "Need To Create Mutiple Circle In A Canvas Like A Paint Application"