I have some of this code already written. I'd like to make the track programmable by functions. This would let you use a line, a sine wave, etc.