This is an example of using a range finder to change images with Processing and Arduino.