Skip to content

subsetpark/necktie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

necktie

This python library is an exploration of the concepts introduced in The 85 Ways to Tie a Tie, by Thomas Fink & Yong Mao, and in the papers that introduced their work (available at Dr. Fink's page on the subject).

It currently is able to randomly design necktie knots, and allows the user to design necktie knots, using their system of notation. It can apply the metrics introduced in the above papers to a given knot to analyze its aesthetics. If the knot is not an established knot or one of the knots introduced in the book, it is assigned one of a number of new necktie knot names suggested by many of the members of Hacker School1

necktie.py can also recommend which knot to tie based on what sort of tie you're tying and what sort of collar you're wearing. To see it in action, please see my new men's fashion startup, neckweb.biz.

>>> analyze(random_walk())

        The *Half-Windsor: Li Ro Ci Lo Ri Co Ti
        Size: 6
        Symmetry: 0
        Balance: 0
        This is a rather broad knot.
        You will not have trouble tying this knot.
        This knot will not untie when pulled out.

>>> analyze(random_walk())

        The Clove Hitch: Lo Ci Lo Ci Ro Li Co Ti
        Size: 7
        Symmetry: -2
        Balance: 2
        This is a very broad knot.
        You will not have trouble tying this knot.
        This knot will untie when pulled out.

Footnotes

  1. Thanks to Jay Weisskopf, Dan Wuu, Riley Shaw, Mindy Preston, Amy Hanlon, Rose Ames, Robert Lord, Zach Allaun, Andrea Fey, Lindsay Kuper, Pablo Torres, Alex Whitney, Sumana Harihareswara, Matthew Long, Will Sommers, Carl Vogel.

About

An exploration of Fink & Mao's 85 Ways to Tie a Tie

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published