Thanks for the flowery comment.
About the scarf physics, they are rather simple. It is just a trail that starts from an origin point that interpolates between two position on the y axis to give the illusion of more movement than there actually is and to avoid sharp bends.