Mathematically perfect hair