Open Datagrdn opened 4 years ago
I second this. Tried getting an originally p5.js project running with processing just by adding support for touches and basic drawing and the application doesn't run fast enough to be usable on the phone. Works fine on a web browser. Infact I have the original html p5.js file on my phone and it runs great compared to the built app except it of course runs in the chrome browser. I was looking for a platform where I could use my basic code on any platform and actually have an app rather than using it through the browser but it seems that react native just doesn't have the performance at the moment.
P.s. Text is broken. It throws a text2dTexture error? Not sure what that means behind the scenes. https://github.com/Ober3550/ReactNativeProcessing
+1
Is there a way to offload processing to the GPU on iOS/Android?
Looking through the expo-gl-cpp repo it looks there are a number of GL calls made at a low level, but performance of the sketches I'm running indicate it's not drawing from the GPU.
Any advice here?