The ant-man test; Body measurement to torture/test your freesewing patterns with

Downloads in past


0.3.04 years ago4 years agoMinified + gzip package size for @freesewing/antman in KB


Freesewing logo

a library for made-to-measure sewing patterns

Ant-man test
The ant-man test; Body measurement to torture/test your freesewing patterns with.


When designing patterns for freesewing, you should refrain from using absolute values.
That 6cm ease you add might be fine for all scenarios you tested, but then somebody comes around who is twice your size, or who is making clothes for a doll, and things will go off the rails.
That's why we put our patterns through the ant-man test. We sample the pattern for 2 models:
- A model with measurements of avarage person (the man) - A model with measurements 1/10th of an average person (the ant)
A well-designed pattern will scale a factor 10 down and hold its shape.
If a pattern makes assumptions about size, this test will show that.


npm install --save @freesewing/antmantest


In node.js:
import models from @freesewing/antmantest

Then sample your pattern with these:

In the browser, this will register as freesewing.antmantest:
<script type="text/javascript" src="https://unpkg.com/freesewing"></script>
<script type="text/javascript" src="https://unpkg.com/@freesewing/antmantest"></script>
<script type="text/javascript" src="https://unpkg.com/@freesewing/pattern-brian"></script>

var pattern = freesewing.patterns.brian;


To build this, run:
npm run build

License: MIT

See the license file for details.