Case study · ICARO: web-based 2D fashion drawing
- releases since 2023
- 350+
- Idea mannequins imported as SVG
- 123
- installs: any OS, any device
- 0
Context
Audaces is a reference in software for the apparel industry. Audaces Idea, its 2D drawing and tech-sheet application, runs only on Windows. Isa, the company's web platform, needed drawing inside it, and the only possible bridge was exchanging files with the desktop.
Desktop solutions age quickly next to the web: nothing to install, cross-platform and multi-device by nature. The question from Audaces' incentivized innovation program was whether fashion technical drawing, demanding in geometry and precision, could run in a browser.
From prototype to product
The project started with research into open drawing libraries and a proof of concept. The choice was Paper.js to abstract geometry over the HTML5 canvas, Angular with TypeScript for the application and MetroUI for a ribbon interface Idea users recognize. The minimum prototype had lines, curves and splines, rectangles, mixed polygons of lines and curves, images, textures and patterns.
The validated MVP cleared the way for the product. In came the collapsible ribbon and full screen, dockers for strokes, colors, library and properties, guides and pages, PDF and SVG export. The Idea base was brought inside: 123 mannequins in front, back and profile views, adult, child and baby, each piece in the position it had on the original board; 34 trim shapes; 34 stitch types and 20 arrowheads with Idea's measurements; the CMYK and RGB palettes with more than a thousand colors each. The Fashion tab gained the dress-the-mannequin mode with layer priority, as on the desktop.
Real-time collaborative editing, with Yjs and Hocuspocus, lets several people work on the same drawing. Sign-in is through Audaces ID, the same as the company's other solutions.
Technical decisions
Geometry belongs to Paper.js: paths, Bézier curves, intersections and transforms over the HTML5 canvas, with the application's own layer of drawing, selection and editing tools on top. The interface is Angular with TypeScript, and the ribbon follows MetroUI, so that people coming from Idea recognize tabs, groups and shortcuts.
PDF and SVG export use jsPDF with svg2pdf, and text is drawn with fonts loaded through opentype.js, so the printed result matches the screen. Layer order uses fractional indexes, which allows reordering without renumbering everything, a requirement for collaboration: the document is a Yjs CRDT synchronized by a Hocuspocus server, so two people can work on the same drawing without conflicts and work carries on when the connection drops. Authentication is OpenID Connect with Audaces ID.
Every release ships with Jasmine and Karma tests, a changelog entry written for the user and a GitLab release. The base of mannequins, shapes, stitches and arrows was exported as SVG by Idea itself, with the original positions, so the content of the two tools is the same.
Outcome
More than 350 releases since 2023, each with its changelog. Fashion technical drawing runs in the browser, on any OS, with nothing to install and several people in the same document. For Isa, the file bridge is no longer the only one.
It is the typical modernization case the factory likes: not rewriting for its own sake, but taking to the web the part of the desktop that holds the rest of the product back.