How Teespring Uses Canvas, SVG, and the DOM to Design T-Shirts
teespring.engineering
teespring.engineering
1. Dragging the pattern around (note the deforming):
https://preview.unmade.com/knitwear/jumpers/studio-moross/kn...
and
https://preview.unmade.com/knitwear/scarves/studio-moross/pa...
2. Modifying the pattern with some physics:
https://preview.unmade.com/knitwear/scarves/moniker/pied-de-...
Drop me a line at malonso [at] loopbit.com if you want :)
Eventually, we ditched the SVG and moved more things into 3D, which made for a better design in the end. For example, now we calculate 3D geometry for the font from its curves and get an actual real bounding box for it.
Anyway, it's interesting to read about how other people solved the same problem.
1: https://www.43layers.com/products/laser-cut-coasters/Custom-...
That said we played around with Snapsvg, and it is great if you're lucky like us and don't have to support IE6.