A demo of inversed kinematic. Read
this article
for better explanation. Legos.