This was done all in After Effects I wanted to experiment how to get the Cinema 4D tracer effect in AE. Stuff like this have been done by MK12 and others. Although I am not sure if it was done straight in AE or C4D. Either way was able to make this using Expressions, Advanced Lightning and Corner Pin. Note this is all in 2D and this animation has no key frames.