My processing.js sketch uses FloatList and it works when I build it with Sublime. However, when I try to run it on a web page, the sketch doesn't load and I get
Uncaught Processing.js: Unable to execute pjs sketch: ReferenceError: FloatList is not defined
Well, the error says it all: Processing.js does not have a
FloatList class. You can confirm this by checking out the Processing.js reference.
I'm not sure why Processing.js didn't implement the
FloatList is indeed not yet implemented.
In any case, you're going to have to modify your code to get rid of the
Of course, Processing.js is open source. So you could always add the
FloatList class yourself! You might even be able to copy much of the source directly.