I need to know how I can draw an image on a canvas element, through JQuery. I really wanted to use JQuery because it’s much simpler and I know more about it that pure javascript, although I will use javascript if i have to.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is no jQuery functionality specific to canvas. There are other libraries that abstract that, though, such as canto, artisanjs, processing.js, easel.js, fabricjs, gury.js.
I usually begin with familiarizing myself with the basics, though, before I use someone else’s API. The canvas API is pretty chatty, but it’s not difficult to use. Here’s a good tutorial on MDN.