The dialect of ProcessingJS used in the class seems to be different than that used on OpenProcessing and it seems that the maintainers of processing.js did not maintain it beyond version 1.4.8.
ProcessingjS.org has not updated their recommended Processing version since 1.4.8 which was released in 2014. That was also the last time they Tweeted.
The dialect of ProcessingJS used in the class seems to be different than that used on OpenProcessing and it seems that the maintainers of processing.js did not maintain it beyond version 1.4.8.
The P5 dialect seems better maintained:
https://github.com/processing/p5.js/wiki/Processing-transition
P5.js has 6000 commits including many in 2018.
ProcessingJS has not had a commit in 2018 at all.
ProcessingjS.org has not updated their recommended Processing version since 1.4.8 which was released in 2014. That was also the last time they Tweeted.
https://twitter.com/processingjs/status/460806715965857792