Closed ghost closed 1 year ago
So I have this script in main.js:
function autoDraw( ) { //place pixel to canvas } setInterval(autoDraw, 100);
This script should place a specific pixel every 100 milliseconds at a certain position, but I don't know what's the command to place a pixel. Can I know how to do this?
So I have this script in main.js:
This script should place a specific pixel every 100 milliseconds at a certain position, but I don't know what's the command to place a pixel. Can I know how to do this?