Further reading

Code, visualisations and research on braids and braiding, beyond braidpy.

📘 General background wikis on braid theory

  • Braid on Wikipedia

  • Braid group on Wikipedia

  • https://ncatlab.org/nlab/show/braid+group

  • https://www.labri.fr/perso/marckert/poulalhon.pdf

  • https://homepages.math.uic.edu/~jaca2009/notes/Meneses.pdf Maybe one of the best paper which is describing some relationships between algebraic and geometric braid

  • blob:https://github.com/8f3cf57d-953c-4b95-b920-e561721cbdbd

  • https://github.com/louisepb/TexGen

  • https://mathcenter.oxford.emory.edu/site/math108/braid_arithmetic/

  • https://eprints.nottingham.ac.uk/76624/1/Thompson%2C%20Matthew%2C%2014343257%2C%20corrections.pdf

  • https://jsphdms.github.io/2023/01/06/knots.html

  • https://www.youtube.com/watch?v=3vZ8TT5Ln7o


🧮 SageMath Implementation

The most comprehensive implementation is in SageMath, but due to its GPL license, it won’t be integrated here. However, having a look to the functions implemented gives a good idea of how wide this domain is.


🎨 Visualization Tools

  • rexgreenway/braid-visualiser – Flat diagram visualization, available on PyPI -> drew braidpy’s 2D diagram until braidpy drew its own, so that a strand keeps one colour between the console and the plot

  • (Denbox/Braid-Group-Visualization – Flat diagram but lacks good crossing visuals )

  • loopspace/braids LaTeX braids package – LaTeX-based braid rendering available on github. Impressive customization, good for documentation
    (https://github.com/BnZel/poses_and_braids) (https://github.com/isaac-art/BraidLab) More of an art work

  • https://github.com/rpitasky/typst-braid

  • https://github.com/joeLepper/braider?tab=readme-ov-file Node. Demo https://braider.surge.sh/

  • https://github.com/byorgey/braids

  • https://github.com/lightningund/braid

  • https://github.com/christian-oudard/logo -> interesting

  • https://github.com/the-bakery/braided > prototype to edit graphically a braid diagram in web browser

  • https://github.com/WhimsicalDragon/BraidMaker (weird)

  • https://github.com/Sonicpineapple/Braids another online braid editor

  • https://github.com/textiles-lab/show-braid javascript/html 2D braid diagram visualization

  • https://github.com/mweitzel/braid html braid generator from word

  • A more general way to store and visualize different textiles https://github.com/virtualtextiles/pytexlib Alternative Python library:

  • braidpy (PyPI)


🧠 Dehornoy’s Work

Author of “Le calcul des tresses”, Dehornoy contributed several algorithms like handle reduction.


🐍 Python Libraries (GitHub & PyPI)

  • kuboon/math_braid.py is available on PyPI

    • Last updated 6 years ago

    • Scarce documentation but test in doctest

    • BSD license (usable with wrapper or code import)

    • Examples:

      # Artin generation (num = 1 to 3)
      Braid([1, 2, 3], 4)
      
      # Band generation (num = 1 to 4)
      b = Braid([[3, 1], [1, 2]], 4)
      
  • rexgreenway/alexander-data – Invariant calculation (not on PyPI)

  • leodana/TIPE – Dense, untested student code
    https://github.com/stla/braids

  • https://github.com/MarkCBell/flipper?tab=readme-ov-file - probably very powerful, but a bit abstract

  • https://github.com/mateosi98/Unknotting-Braids

  • https://github.com/GriffinKowash/Cable-braids/tree/main

  • https://github.com/iowyth/harmonic-braider -> seems not related


📊 MATLAB / BraidLab


Julia

https://github.com/jwvictor/Braids.jl


Haskell

https://hackage.haskell.org/package/combinat-0.2.8.2/docs/Math-Combinat-Groups-Braid.html#v:-61–61-


https://github.com/jeanluct/cbraid?tab=readme-ov-file


Kumihimo

https://archive.bridgesmathart.org/2022/bridges2022-327.pdf http://www.englisch.kumihimo.de/html/history.html Simulation https://www.artisanart.biz/Apps/Kikko_Planner/ Nimai korai gumi https://www.youtube.com/watch?v=98MB0GH9how&list=PLBXqC8CNQNiqj3xu8glytqYIa6i_pSogC&index=1 Regular kumihimo corresponds to dihedral group https://en.wikipedia.org/wiki/Dihedral_group Instrumented https://dl.acm.org/doi/fullHtml/10.1145/3563657.3596026 Track plan https://loopbraider.com/track-plans/ https://www.artisanart.biz/Apps/Kikko_Planner/

Loop Manipulation braiding (Kute-uchi)

Historical braids by Masako Kinoshita https://loopbraiding.com/ https://www.ee0r.com/lmbric.net/ Ingrid Crickmore blog https://loopbraider.com/ A 14-strand, 7-loop D-shaped braid (unorthodox) https://loopbraider.com/2015/04/21/uo-dshaped-7tut/ Braid planner by Gary Mitchell https://www.islandbraider.com/

📺 Video Resource

Braiding stand

Takadai https://www.youtube.com/watch?v=1K3P7ua1WkY

Braid patterns (1/1, 2/2, 3/3, milanaise)

A braid pattern names how many opposing yarns each yarn passes over and under. It describes the interlacing, not the machine: the same machine can produce several patterns.

Pattern

Notation

Each yarn crosses

Note

Diamond

1/1

over 1, under 1

plain-weave equivalent; most dimensionally stable

Regular (plain)

2/2

over 2, under 2

2/2 twill repeat

Hercules

3/3

over 3, under 3

least stable of the three

Milanaise

3/1

3 threads over 1

thick, asymmetric; 1920s neckties, tricolour slider on French mayors’ sashes

⚠️ The names collide between industries. In composites, diamond = 1/1 and regular = 2/2. In medical wire braiding, regular = 1-under-2-over-2 and diamond = 2-under-2-over-2. Always state which convention is meant.

What actually sets the pattern

At least three independent levers, only the first of which is carrier placement:

  1. How many carriers are mounted. Half load is a standard named setup: half the carriers, alternating gaps, giving a one-over-one/one-under-one structure with better flexibility and torque (Teleflex, MMBT). The French diagonal design is the same idea — “one spindle out of 2 is mounted”.

  2. Gearing ratio. MMBT: for diamond and half-load the machine “runs at half speed. Horn gears turn twice per pick” — the ratio of gear rotation to take-up changes the interlacing, not just the braid angle.

  3. Yarns per carrier. Two yarns in one carrier read as a 2/2 crossing.

Note a vocabulary trap for horn_gear: a maypole machine with N carriers has 2N slots, because only one of the two slots meeting at a contact may be occupied. So the industry’s full load is this package’s 50% ceiling, and the empty slots at full load are mechanism, not choice. Half load is 25% of slots.

Maypole machine simulation (closest prior art to horn_gear)

Soutache

  • Soutache (Wikipedia) — a narrow flat herringbone braid “created by weaving a decorative thread around and between two parallel cords, completely covering the cores”. Two cores, which is what soutache_braid() models as two Axial columns.


Lace braiding machines

Early patents of the machine behind the Jacquard lace machine; their words (quoit, race-circle, pattern bar) are in the Glossary.

  • Rahm, Lace braiding machine, US 1,446,127 (1923): https://patents.google.com/patent/US1446127A/en

  • Rahm, Lace-braiding-carrier drive, US 1,282,945 (1918): https://patents.google.com/patent/US1282945A/en

  • Staub, Carrier drive for lace braiders, US 1,512,146 (1924): https://patents.google.com/patent/US1512146A/en

  • Sandweg, Braiding and lace-making machine, US 1,488,064 (1924): https://patents.google.com/patent/US1488064A/en

Braiding machine control

https://github.com/stiganielsen/BraidOMatic https://github.com/Brandon-Key5113/BraidyBunch https://github.com/LJYJYN/Braiding-APP https://pubs.rsc.org/en/content/articlelanding/2024/sm/d3sm01732j

Braiding machine 3d printing

https://www.thingiverse.com/thing:2843159 https://github.com/manoharan-lab/arbitrary-topology-stl https://github.com/sapphire-arches/braiding-machine https://github.com/EricLarueMartin/FourWireBraidingMachine https://github.com/sandy9159/DIY-mini-braiding-machine https://github.com/tforgrave/braider_project

Kumihimo braiding machine

https://www.youtube.com/watch?v=wdiRZvdyO5A https://www.youtube.com/watch?v=qSPfs9S0Pag

Braiding simulation

https://github.com/ElsevierSoftwareX/SOFTX-D-17-00056 https://github.com/louisepb/TexGen https://craftdesignonline.com/braid-3d/

Multiband braiding machine

Circuit drawing of a 3-band 10-15-10 machine, from which braidpy.horn_gear.multiband_10_15_10 is taken: https://www.atelierdetressage.paris/wp-content/uploads/2022/05/Dessin-du-circuit-sur-un-3-bandes-10-15-10.png