Hi,
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.
Answers
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. Thanks.