We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I really like P5... I know a little on how to use canvas without P5 and I have trouble using the P5 code and the standard code in the same canvas files. Is it an easy thing to do where you use the P5 library sometimes and other times you use the standard code? I can't get the CDN to work.
Answers
Dunno exactly what's being asked here. :-/
But for CDN, assuming your sketch is named as "sketch.js", your "index.html" could be like this:
Take a look at this online sketch sample: O:-)
http://CodePen.io/GoSubRoutine/pen/KaerGb/right/?editors=101
I've never seen that code before. I'm totally new. I thought it would be like bootstrap and on the P5 website under "start" I was trying to download that stuff in there like we do with bootstrap. Is that not how we do it? I guess this is different then bootstrap. How do you know this stuff?
We can always choose to download p5.js library and use it locally rather than get it remotely via some CDN URL:
index.html: