What are the codes to draw images in JavaScript? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What are the codes to draw images in JavaScript?

I want to draw images specifically in JavaScript (here on SoloLearn). For instance I would like to be able to draw simple boxes that I can fill with my choice of color. What are specifically the JavaScript codes for this to be used here on Code Playground? I have learned to draw with JavaScript specifically on other sites, in their playgrounds. So wanted to do that here on SoloLearn.

23rd Feb 2019, 5:48 AM
👩🏽‍💻TalCre Arts
👩🏽‍💻TalCre Arts - avatar
4 Answers
+ 2
Maneren Thanks for the links. I will refamiliar myself with those lessons. 👍
24th Feb 2019, 1:52 AM
👩🏽‍💻TalCre Arts
👩🏽‍💻TalCre Arts - avatar
+ 2
Ah Zong Thank you. I will look at the lessons again. I did learn some JavaScript drawing on Khan Academy, and I am learning a little on Grasshopper. But it seems I can only use their codes in their playgrounds for JS specifically.👍
24th Feb 2019, 1:59 AM
👩🏽‍💻TalCre Arts
👩🏽‍💻TalCre Arts - avatar
+ 1
I haven't been doing web design in a while, but I recall using canvas and SVG to achieve that. You can search on the tutorials of SoloLearn about these topics.
23rd Feb 2019, 6:23 AM
Ah Zong
Ah Zong - avatar