p5.js workshop allows the usage of processing within the web environment. p5.js site
Due to the ability to use mobile with the web implementation there are many mobile related sections to the code which are referenced in the section here.
Looking at the basic systems, most of the qualities of processing are retained, although in many cases they are somewhat simplified. There is also many additional functions relating to mobile which allow much moe interesting sketches to be developed. This site allows the conversion of ordinary processing into a web environment version.
Gyroscope response test I have been testing with the gyroscopic and mobile functions in order to try and make movement responsive web systems. However with the basic iOS setup, these do not function correctly, so I need to experiment with the settings to get these to function correctly.