Newcomer into csdn, I am very sorry for the spicy eyes of the article layout ...
Ask the big guys for help, processing and html questions.
I wrote a small work on processing and want to post it to the website (countdown to the anniversary) reference website
Completed the configuration file of processing.js.
I added background music to the original program, so I used the external library Minim and imported the minim class, but the html seems to be unrecognizable and the program cannot run.
This is the case where the external class mini class is not used, and the program can run normally.
When the comment line is opened and the Minim class is used, the program does not enter the draw function, so the white square does not appear.
In addition, when I try to use a picture as a background, I can't read it.
The same is true when the filepath is changed to "1.jpg".
Is there any solution to these? The original program can be used in processing.
Or should I rewrite the entire program in HTML? ? ? ?
Trouble God answers, beg