A beginners guide to creating a painting app in javascript. The app will use canvas for drawing shapes.
(my students voted for canvas over svg as they had some prior experience with canvas).
This is a english version of a project I made for my students. The intent is to make a canvas paint app from the ground up. My students have some basic knowledge of js, css and html.
Basicly chrome and vs-code. I assume most modern browsers work - but I have no intention of testing in other than chrome. This is intended for education - compatability is not part of the goals.
To follow this guide I assume you have basic skills in HTML and CSS. For js I assume you know:
- const, let
- for-loops
- arrays and objects
- functions (can make simple functions)
- if else
- Classes
- Documentation with jsdoc
- Some user interface design (basic)
- Array functions
- Canvas drawing
- How to find and use code to solve problems