m-a-t-t-i's comments

m-a-t-t-i | 2 months ago | on: An SVG is all you need

You can also point to font files with @font-face. I use a small custom font that's only 16 KB. Although, when opening the file locally, you have to first disable local file restrictions in safari's settings before it works...

  <defs>
  <style type="text/css">
  @font-face {
  font-family: 'A-font';
  src: url('A-font.woff') format('woff');
  font-weight: normal;
  font-style: normal; }
  </style>
  </defs>

m-a-t-t-i | 6 months ago | on: Lisp from Nothing, Second Edition

If you prefer hands-on learning, How to Design Programs is pretty good resource for the foundations, with lots of examples and exercises: https://htdp.org

But learning the basics of lisp is more like a side effect, the focus is on program design.

m-a-t-t-i | 7 months ago | on: Ask HN: What are you working on? (July 2025)

I needed my own CAD setup that can draw the detailed assembly instructions as 3D vector drawings. And that can also derive the assembly order from a graph based garment representation automatically. I'm almost finished with those, so after that I just need more large format laser cutters and customers.

m-a-t-t-i | 7 months ago | on: Ask HN: What are you working on? (July 2025)

Yeah, morphing is really the key idea here. You don't have to make all design decisions beforehand, but can wear something for a while and then make changes based on your needs & observations.

I haven't quite figured out how to apply this thinking to seam sealing though. The current garments that have taped / waterproof seams are locked into the taped configuration. For tents I have some geometrically water repellent structures (that guide the water away as long as it's coming from above), but for the soles of footwear, you might want something 100% sealed.

m-a-t-t-i | 9 months ago | on: Show HN: I made a 3D SVG Renderer that projects textures without rasterization

Interesting, I've been doing 3D SVG by storing the xyz-coordinates in a separate array and using inlined javascript to calculate & refresh the 2D coordinates of the SVG items themselves after rotation. But this means that the file only works in a browser. Maybe it could be possible to replace the javascript with native functions, so the same file would work everywhere.

m-a-t-t-i | 10 months ago | on: Nice things with SVG

It's pretty easy to store custom instructions in plain SVG files and interpret them in with your reader. For example I have a multi-purpose laser-cutter / plotter and I use opacity for laser power, stroke weight for movement speed, green channel for number of passes, blue channel for z-axis height and red channel for lowering the pen or turning of the laser etc.
page 1