The folks over at Dexter Industries have taken an elf-on-a-shelf, their PivotPi servo controller board, a servo and an ultrasonic distance sensor and built an animated elf that reacts and waves when someone approaches it. It’s very cute and you can read how they did it here.