Porting p5js code to another program

telstartelstar
Thu, 06 Nov 2025 17:57:01 +0000
Beginners

Hello!

I’m currently working on a final for one of my classes, and I realized I needed to port all my code into another program so I can eventually host it on a website. But when I copy/paste my code from p5js to Dreamweaver it breaks at almost every line, returning “x is not defined” or “x is defined but never used” errors. I’m sure the faults are on my end, but I simply would like to know what I’m doing wrong and how to correct it.

10 posts - 4 participants