| Basic components | Score | Check |
|---|---|---|
| Basic control tools | 30% | Y |
| Text input | 10% | Y |
| Cursor icon | 10% | Y |
| Refresh button | 5% | Y |
| Advanced tools | Score | Check |
|---|---|---|
| Different brush shapes | 15% | Y |
| Un/Re-do button | 10% | Y |
| Image tool | 5% | Y |
| Download | 5% | Y |
| Other useful widgets | Score | Check |
|---|---|---|
| Shape filled checkbox | 1~5% | Y |
This is a web canva with some painting tools (pen, eraser, text, circle, rectangle, triangle) and style setting functions. The below is the introduction of how to use these functions.
When a painting tool is selected, the mouse cursor changes to a corresponding icon, making it easier for users to identify the current tool.
-
Pen :
This is the basic drawing function on the canvas. After clicking the pen icon, the cursor changes to a pen shape in the canva range. By clicking and dragging the mouse, your movement will be visualized on the canvas using the selected brush size and color. -
Eraser :
This enables users to erase previously drawn elements on the canvas, including pen strokes, text, circles, rectangles, and triangles or even the uploaded images. The eraser size is also affected by the brush size slider. -
Text :
This tool allows users to embed text onto the canvas using the keyboard. After clicking the text icon, an input box will appear. Users can type their text using the keyboard and press "Enter" to confirm and embed the text onto the canvas. -
Circle :
This tool allows users to draw circles on the canvas. The initial mouse position serves as the center of the circle, and dragging the mouse adjusts the radius. When the mouse button is released, the circle is rendered on the canvas. -
Rectangle :
This tool allows users to draw rectangles on the canvas. The initial mouse position serves as the top-right corner, and dragging the mouse adjusts the rectangle's size. When the mouse button is released, the rectangle is rendered on the canvas. -
Triangle :
This tool allows users to draw triangles on the canvas. The initial mouse position serves as one point of the triangle, and dragging the mouse adjusts the triangle's size. When the mouse button is released, the triangle is rendered on the canvas.
And this is the integrated test of all the painting functions.
- Undo :
This tool would undo the present instruction on canvas if it is NOT the first instruction. - Redo :
This tool would redo the before instruction on canvas if it is NOT the latest instruction. - Reset (Trash) :
Reset function enables the user to clean all the elements on the canva. - Upload :
This function allows the user to upload a random img file from computer, it would resize to fit the canva weight and height. - Download :
After pressing this button, users could download the current canva as "masterpiece.png" to the download folder in local.
- Brush size :
This slider range from 1 to 20, representing the size of painting tools. - Font size && Font type :
These two dropdown menus have options of font size and font type of the text embed on the canvas. - Color Selector :
User could click the color preview of present brush color for the pop-up color panel.
After opening the panel, users can adjust the color by selecting it from the panel or using the slider. Additionally, users can input the desired hex code in the hex input field below (note: the system will detect invalid hex codes).
The panel could be opened or closed by **clicking on the color preview**. * The color preview in the Style setting section * The color panel * The effect of different chosen color
- Shape filled selector :
There is a filled checkbox that enable the user to draw shapes (circle, rectangle, triangle) that filled with the chosen color.
https://myawesomecanvas-61f19.web.app
非...非常好小畫家 : D
























