Unfortunately almost nothing from Processing 2 got converted to JS mode (Pjs library).
However I dunno about that arrayfloat. Isn't it FloatList btw?: https://Processing.org/reference/FloatList.html
If that's so, just replace it w/ ArrayList<Float>.
The is no implementation for Floatlist. You might be able to use ArrayList<Float> x = new ArrayList<Float>(); for a few of the operations (mostly the list part) but you won't be able to use any of the maths specific calls.
Activity
GoToLoop commented on Apr 15, 2016
Unfortunately almost nothing from Processing 2 got converted to JS mode (Pjs library).
However I dunno about that arrayfloat. Isn't it FloatList btw?:
https://Processing.org/reference/FloatList.html
If that's so, just replace it w/ ArrayList<Float>.
Pomax commented on Apr 15, 2016
The is no implementation for Floatlist. You might be able to use ArrayList<Float> x = new ArrayList<Float>(); for a few of the operations (mostly the list part) but you won't be able to use any of the maths specific calls.
GoToLoop commented on Apr 15, 2016
@seegold123 , although puzzling not mentioned at http://ProcessingJS.org a better place for programming questions is at https://forum.Processing.org/two/categories/javascript