A programmable visual metronome for iOS