How Teespring Uses Canvas, SVG, and the DOM to Design T-Shirts
11–20 of 22 posts
Re: How Teespring Uses Canvas, SVG, and the DOM to Design T-Shirts
#12I have used http://fabricjs.com/ in another project (not related to printing). FabricJS is used/developed by printio.ru . Its a good open source alternative.
Re: How Teespring Uses Canvas, SVG, and the DOM to Design T-Shirts
#13Nice write up, Justin! I was one of the first engineers at a competitor of TeeSpring's, and we tackled the same problems. We used Fabric.js in our second iteration (first was jQuery).
Re: How Teespring Uses Canvas, SVG, and the DOM to Design T-Shirts
#14I have used http://fabricjs.com/ in another project (not related to printing). FabricJS is used/developed by printio.ru . Its a good open source alternative.
Re: How Teespring Uses Canvas, SVG, and the DOM to Design T-Shirts
#15Nice write up, Justin! I was one of the first engineers at a competitor of TeeSpring's, and we tackled the same problems. We used Fabric.js in our second iteration (first was jQuery).
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-...
Re: How Teespring Uses Canvas, SVG, and the DOM to Design T-Shirts
#16I have used http://fabricjs.com/ in another project (not related to printing). FabricJS is used/developed by printio.ru . Its a good open source alternative.
I'm using fabricjs for annotations as well and it's a great library. The biggest downfall of using canvas as a renderer as opposed to svg is that it doesn't look great if you provide zoom controls. Lovely crisp SVG paths rendered as pixels on a canvas :/
Re: How Teespring Uses Canvas, SVG, and the DOM to Design T-Shirts
#17Re: How Teespring Uses Canvas, SVG, and the DOM to Design T-Shirts
#18Nice write up, Justin! I was one of the first engineers at a competitor of TeeSpring's, and we tackled the same problems. We used Fabric.js in our second iteration (first was jQuery).
We used fabric.js as well to create custom laser printed/engraved products. As with you, our first iteration was just standard javascript with jQuery, but fabric.js made a lot of things much easier.
Re: How Teespring Uses Canvas, SVG, and the DOM to Design T-Shirts
#19Re: How Teespring Uses Canvas, SVG, and the DOM to Design T-Shirts
#20Earlier quoted context omitted.
We used fabric.js as well to create custom laser printed/engraved products. As with you, our first iteration was just standard javascript with jQuery, but fabric.js made a lot of things much easier.
Do you have a link to your site? I'm working on some similar stuff and would love to see what you've done.