ReferenceError: loadModel is not defined

-a- my operation version
https://editor.p5js.org/kll/sketches/Pags5nTVj

-b- with the other editor you are on your own
a translate of the download to even
PDE / mode p5.js
is some work.

a direct run of of the download and unzip ( and double click index.html )
is also not working until you have some kind of server mode
( as file handling is involved / simple drawing are possible )

for chrome browser i use

-c- CORS and browser is a extra subject, search this forum
for firefox i use

# CORS Everywhere
Bypass CORS restrictions by altering http responses.