test commit
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
let img;
|
||||
|
||||
// Load the image.
|
||||
// Load the image
|
||||
function preload() {
|
||||
img = loadImage('/assets/mona-lisa.jpg');
|
||||
}
|
||||
@ -8,7 +8,7 @@ function preload() {
|
||||
function setup() {
|
||||
createCanvas(400, 400);
|
||||
|
||||
// Display the image.
|
||||
// Display the image
|
||||
img.resize(0, 400);
|
||||
image(img, 0, 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user