t shirt (sewing, not cutting) also definitely an algorithm
something like:
sew(front, back, at shoulders) = main
sew(collar, main)
sew(left arm, main at left shoulder)
sew (right arm, main at right shoulder)
sew(right arm bottoms, front/back on right side)
sew(left arm bottoms, front/back on left side)
I imagine someone has figured out a language to describe order of operations in sewing. There's a whole algorithm which describes the sewing process of a garment, including flipping it inside out or not, which surfaces to sew, technique to sew, additional stitches, etc. etc. etc. (not that you need to do this of course, just me realizing that's how I'm personally processing learning how to sew, since I write software for a living nowadays, lol)