While Carolina is a native Android Application, it’s actually a packaged website! The project was developed on Google Chrome and then deployed using the Mobile Chrome Apps
Command Line Interface, CCA
. This made development smooth because I was able to develop and debug using Chrome Developer Tools
, then deploy as an Android Application for final proofing.
The contents of the app itself is divided into two different parts. There is the introduction and the music visualization. The introduction serves two purposes. First, I wanted a way to introduce the interactions and concept. Then as an added benefit I needed a loading screen while all the geometry was created and the song was loaded. Despite all the files being local on the device it takes about 10 seconds to load everything. The perfect amount of time for an introduction! The introduction is made up of a Two.js
scene, a two-dimensional drawing api that I author.
The music visualization uses Three.js
, a popular three-dimensional drawing api for the web. I place a camera in the world and make it move along a spline
. I then create a number of different types of shapes for the various instruments in the track. As the song plays each shape has specific triggers. When one of these triggers occurs the shape is placed in the impending field of view of the camera. As the camera moves the shape flies by as if we were in a car or a train passing through a landscape.
For further information including all the code you can check out the project’s github page: https://github.com/jonobr1/golden-echo