Draw on the screen with a simple react-canvas-app. You can draw with the cursor (mouse) or with your finger (on mobile & tablet screen) using an easy to use code sample.
Note that you can export the drawing into a PNG (base64) file via the devtools console.
Save yourselves some trouble a head and remember that the canvas sizes must be in pixels (300px, 400px etc..) AND NOT in percentage (80%..).
DEMO: https://yossimal95.github.io/drawing_canvas/
MAIN CODE FOR USING: https://github.com/yossimal95/drawing_canvas/blob/main/Canvas.jsx