New p5.js doesn't work in html
p5.js is a library pretty much exactly the same as Processing.js, but it has a lot of extra functionality.
In HTML programs you are able to import any JS library using cdn.jsdelivr.net but for some reason, only an old version of p5.js works in HTML programs. The latest version that works is 1.2.0 but the current version is 1.4.0
I can't imagine that the p5.js (version 1.4.0) itself is defective. Besides, that version of p5 works off of khan academy so I'm wondering why the newer versions of p5 won't work on Khan. I can't imagine that KA disabled the newer versions (and only the newer versions) of p5 for safety reasons. What's going on?
I wouldn't care so much if version 1.2.0 had all the functionality (and the functionality worked well) I wanted to use, but there is some 3D texturing capability in 1.4.0 that is not included in 1.2.0. And version 1.2.0 has some bugs that are fixed in 1.4.0
Please sign in to leave a comment.