Code for a laser pointer guidance system to keep my cat entertained.