This tutorial will guide you through tracking in After Effects, and creating the dynamic line effect seen in videos such as this vimeo.com/26198152. Project file and expression code below.
Any questions or comments please leave them below. Thanks!
target = thisComp.layer("NAME OF YOUR NULL");