A
A
Anton2018-08-22 18:10:16
JavaScript
Anton, 2018-08-22 18:10:16

How to substitute it in the canvas when loading an image (code completion)?

https://codepen.io/anon/pen/MqwaoX
The code consists of 2 parts
1. The image from the img tag gets into the canvas
2. When I load a picture from the computer, the image gets into the img tag
3. How to make it the same, then it gets in canvas?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question