p5.js-svg icon indicating copy to clipboard operation
p5.js-svg copied to clipboard

Examples are broken

Open rybarczykj opened this issue 1 year ago • 3 comments

none of the canvases at https://zenozeng.github.io/p5.js-svg/examples/ are rendering.

console errors say

VM419:2 Uncaught ReferenceError: SVG is not defined
    at setup (eval at req.onload (demo.js:31:9), <anonymous>:2:28)
    at p5._setup (p5.js:64079:27)
    at p5._start (p5.js:64002:25)
    at new p5 (p5.js:64355:22)
    at req.onload (demo.js:32:9)

rybarczykj avatar Jan 28 '24 22:01 rybarczykj

I'm having the same problem.

dkyy avatar Apr 01 '24 16:04 dkyy

i found this to be an issue with versioning. this setup worked for me:

  <script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.3.0/p5.min.js"></script>
  <script src="https://unpkg.com/[email protected]"></script>

pifragile avatar Aug 15 '24 01:08 pifragile