Issue with transfer from PDE to openprocessing

I wanted to start to use openprocessing to publish my sketches but it seems the transfer from PDE doesn’t work 1:1.
Sketch:

I get the error message that createShape is not defined. However it is (Line 203). I thought I would have to move it to setup but that didn’t change anything.
There is also no error showing in the code itself.

Any idea, how I can find out what the issue is?

Unfortunately Pjs doesn’t have createShape(): :cry:
https://GoToLoop.GitHub.io/processing-js.github.io/reference/

Most we can do is loading an “.svg” shape via loadShape(): :flushed:
https://GoToLoop.GitHub.io/processing-js.github.io/reference/loadShape_/

1 Like

Thank you. I was not even aware that openprocessing is using Processing.js
At least it is not too hard to change.

There goes my highscore table as well…