let imagemDaEstrada
function preload(){
imagemDaEstrada = loadImage("imagens/estrada.png")
}
function setup() {
createCanvas(500, 400);
}
function draw() {
background(imagemDaEstrada);
}
https://editor.p5js.org/Daniel_F97/present/NqdIS5oox segue o link do meu projeto.
p5.js says: It looks like there was a problem loading your image. Try checking if the file path [https://editor.p5js.org/Daniel_F97/sketches/NqdIS5oox/imagens/estrada.png] is correct, hosting the image online, or running a local server.[https://github.com/processing/p5.js/wiki/Local-server] Event {isTrusted: true, constructor: Object}
Aparece esse aviso.