Simply push a button and the structures will unfold right in front of your eyes.
Just about every “getting started with microcontrollers” kit, Arduino or otherwise, includes an ultrasonic distance sensor ...