Open claudiohfg opened 5 years ago
I've tried the example, but it is not working. I got the following error message:
preview-frame.ts:21 Not allowed to load local resource: file://cdnjs.cloudflare.com/ajax/libs/p5.js/0.4.23/p5.js
Here is my code:
<html> <head> <script src="http://toolness.github.io/p5.js-widget/p5-widget.js"></script> </head> <body> <script type="text/p5" data-autoplay data-preview-width="800" data-height="600"> function setup() { createCanvas(300, 100); background(255, 0, 200); } </script> </body> </html>
What am I doing wrong?
I've tried the example, but it is not working. I got the following error message:
preview-frame.ts:21 Not allowed to load local resource: file://cdnjs.cloudflare.com/ajax/libs/p5.js/0.4.23/p5.js
Here is my code:
What am I doing wrong?