hckrnws
Garment Notation Language: Formal descriptive language for clothing construction
by prathyvsh
In the examples, there is discrepancy between the source, the diagram, the pieces diagram, and the 3D test each. As someone who is professionally and personally interested in grammars and textiles, I appreciate the fantasy and the vibe of the project but it does not seem to be a functioning demo of anything coherent.
+1. This is 100% hallucinated. Creds: My first programming language was GRAFIS CAD Fachsprache, a parametric pattern drafting software for garments, which incidentally powers our business (https:/liepelt.design—the website and intranet of which we are developing in ur/web btw just to clarify the geek factor!)
Were any people who work for the garment industry involved in GNL's creation, or is it something that's coming entirely from tech people?
Tech person - there's only one contributor, it's less than 48 hours old, and appears to be primarily vibe coded with the assistance of Claude Code. No mentions of types of stitches even though it's crucial to understanding how a garment is made. I wonder too if this grammar can represent a glove made from a single strand of yarn.
If I understand what you mean, that's more in the realm of knitting which does already have several rigorous notations in common use.
This is for pattern drafting, which assumes knit or woven fabric as the raw material for the garment construction, along with the pattern.
That said it still does not seem suitable for this task based on my experience sewing from and modifying patterns.
It looks like it's missing so much that you'd need even to hand-sew a pattern at home. There's no mention of interfaces or bindings.
This looks more like something for making clothing as digital content - e.g. Marvellous Designer. Possibly more straightforward even.
Edit: found interfacing. It calls it "interlining".
Stitches are load-bearing, so specifying a bartack or a flatlock seems pretty important to unambiguously specifying a garment. Along the same lines, I don't see a way to specify hardware that isn't for closures, e.g. the rivets used to reinforce denim pockets.
I know, I make clothes too. Probably unlike the creator of this thing.
But the comment I was responding to seemed to be using "stitch" in the way knitters use it, not the way sewists use it. No pattern drafting system can represent the stitches necessary to create a panel of knit fabric, that's simply not the level of abstraction they work at.
This thing isn't good but not for the reason of being unable to represent a one-strand mitten or whatever, which is what I think they were getting at.
Well, I actually had two interrelated thoughts and because of proximity I think I confused things. I guess what I was thinking was "garments are constructed not of "panels" but of threads of a given material which can be abstractly thought of as being panels when woven or knitted, but ..." and from there I thought of failure modes, like the fact that this doesn't have a way of specifying straight vs zigzag stitches, which doesn't have a way of specifying things that are not joined together via stitching panels together, etc. Like, I don't think this can specify a pair of jeans, because the hem of a jean requires a chain stitch at the bottom, which isn't unambiguously defined. This project feels like it devalues the complexity of something that is one of the defining features of civilization.
Comment was deleted :(
Is this even able to specify patterns? Or is it just how to assemble the pieces of cut cloth?
It's Claude Code slop
Does GNL support pleats, tucks, and darts? These sewn features help make flat cloth conform to curves in the body. The terms don't seem to be mentioned explicitly in the repo, though maybe they can be implemented with the existing notation.
https://en.wikipedia.org/wiki/Pleat | https://en.wikipedia.org/wiki/Tuck_(sewing) | https://en.wikipedia.org/wiki/Dart_(sewing)
Read the docs
eg. Darts: https://github.com/khalildh/garment-notation/blob/main/garme...
Github doesn't do plurality folding which trips up my searches sometimes. Thanks.
Is there a service I can upload a file and get one made and shipped to me? Not necessarily this grament language but others. I have an old and unusual garment I want in an adult size.
For another "clothing patterns as code" approach, see https://freesewing.dev/ - also with a more complete UI and editor.
This looks interesting but I’m struggling to find any examples of what this actually entails/produces/looks like. Most of the guides are about setting up your environment, checking out code, etc.
Also free as in freedom [0].
[0] https://codeberg.org/freesewing/freesewing/src/branch/develo...
I should just read Wittgenstein.
This is how a robot thinks of clothing.
And humans.
The 3D view is broken on Safari and Chrome.
The 3D view works on Edge, but the shirt doesn't fit properly and there's only one sleeve and that sleeve doesn't actually have the arm go in the middle of it.
It is not working on Firefox 147.0.4 either.
This is just slop. Pretty sure this person has no experience in clothes manufacturing.
We already have marvelous designer and Clo3d...
"Dance has Labanotation. Music has staff notation. Architecture has plan/section/elevation conventions. GNL brings the same rigor to garments — a generative descriptive language where a valid expression is sufficient to construct a garment without ambiguity."
AI lmao
Thank you for this
Can we express the drapes and dresses worn in the animes. Because then it will be helpful for the cos players
It looks like it has a 3d draping view, but it didn't seem very good yet. Check out Marvellous Designer, that's what anyone doing digital-first uses.
Drapey clothing is probably the easiest to freehand without a pattern though. It's accurate fits that need more measuring, planning, temporary stitching, test garments, etc.
Decided to dig into this a little. Catch a bubble and listen, yts.
This thread is a prime example of why and how tech is exclusive and hostile to PoC (or as I've taken to calling them, people of the global majority — since yts are actually a tiny fraction of all living humans who STILL do irreparable harm to the environment and the world AND the bay area). Here we have a Black[1], disabled Marine Corps veteran[2], possibly unhoused[3], persyn, just trying to contribute in their own way, however they can, putting their work out there into the world.
And what does HN do? Shit all over it. Rip it to shreds. "Were any people who work for the garment industry involved in GNL's creation???" No, because the garment industry systemically discriminates against Black people. "Does GNL support pleats, tucks, and darts???" It does, actually, but it's SO INTERESTING you see a Black man building something and assume it must not have yt clothes features because obviously all Black people wear are basketball jerseys and sweatpants. "I should just read Wittgenstein." Wittgenstein went to school with Hitler.
YT tqs ruined the Bay area, ruined computers (which were invented by Black women), and are aggressively trying to colonize the Global South to avoid paying their fare share of taxes that give the people they displaced a pittance to barely keep them alive[4], and they do it all while claiming to "love diversity"[5]. Check your privilege and read a book[6].
[1] https://x.com/loveofdoing/status/1663932491676229634 https://x.com/loveofdoing/status/1597661827261157376 https://x.com/loveofdoing/status/1604200459883122688 https://x.com/loveofdoing/status/1931899874405978315 [2] https://x.com/loveofdoing/status/1980413360341676190 https://x.com/loveofdoing/status/1834338074471367000 https://x.com/loveofdoing/status/1622352181344043008 https://x.com/loveofdoing/status/1717698840562659510 [3] https://x.com/loveofdoing/status/1964298487769501725 https://x.com/loveofdoing/status/1662287845367660545 [4] https://www.kqed.org/news/11985941/sf-program-isnt-just-free... [5] https://www.ycombinator.com/blog/yc-open-office-hours-for-bl... [6] https://www.marxists.org/subject/india/cpi-maoist/s01-basic-...
How did you determine the author is a PoC? Even now that you mention it I can't find anything in the repo that tells me anything about the author's demographic. That X profile does appear to be the author's, but I'm not sure how you made that connection since there isn't a link to it in the github repo, or the author's git profile page.
Are you suggesting that most people commenting on this, on a site where people often don't even read the linked content are doing more than skimming the github page and saying the first few things that come to mind by taking time to track down the author's posts on other sites to determine their demographic?
[flagged]
[flagged]
What does this have to do with the post?
It's spam.
Crafted by Rajat
Source Code