We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm trying to make thing where my iphone gets data from the accelerometer and outputs it using p5.js.
Is there a way to save an index.html and sketch.js file onto an iphone and open it like an app?
Yes... There are platforms like phonegap designed to do just that; but that's probably a little out of scope for this forum.
Alternatively if you can get your web page onto a server you can just open it in the phone's browser and test whether the acceleration events can be accessed on iPhone.
thank you, I'll try phonegap.