The Swing is built from the Lego Spike Essential educational kit. The swing movement is achieved by means of a crank mechanism. There is the light matrix in front of the swing.
The set includes step-by-step building instruction and an example of program (in Spike environment).