Google recently launched a new Android Experiment app called the Sprayscape. The app, which uses the phone’s gyroscope to take pictures, allows users to “spray” to capture the world around them, be it the landscape, faces, places, or anything.
Touted as the “perfectly imperfect VR-ish camera”, Sprayscape is an app created by Google Creative Lab as an Android Experiment. When you load the app, just tap your screen and Google will capture whatever the camera sees with a spray effect. To make things even more interesting, you can mash things together to create a rather surreal 360-degree photo. After that, you can share those pictures, or even look back at them on Google Cardboard.
“Sprayscape is built in Unity with native Android support. Using the Google VR SDK for Unity to handle gyroscope data and the NatCam Unity plugin for precise camera control, Sprayscape maps the camera feed on a 360 degree sphere.
The GPU makes it all possible. On user tap or touch, the camera feed is rendered to a texture at 60 frames per second. That texture is then composited with any existing textures by a fragment shader on the GPU. That same shader also handles the projection from 2D camera to a 360 sphere, creating the scape you see in app.”
Sadly though, while the app is available on the Google Play Store right now, it looks like it’s not available for us Malaysians. Fortunately, since it is part of Android Experiment, developers can download the code on GitHub to try it out, or to learn about how things works and hopefully, it’ll inspire you to create your own apps.