Cards & Introduction

Inspired by Frank Force and their pen-plotted business cards and Adam Fuhrer and me having wanted to build a pen plotter for a long time, I finally took it upon myself to build an attachment module for the Prusa MK4S 3D-Printer and write a couple of algorithms to generate designs for possible business cards of my own. You can see a selection of the designs in the images below.

A grid of 12 business cards. Their front-designs are shuffled randomly (page 1). A grid of 12 business cards. Their front-designs are shuffled randomly (page 2).

Doing so many different designs would be a lot of work if I were to reinvent the wheel every time, so, in order to create these variations, I built a small pipeline in Java that can easily create such line-drawings. I used these libraries and tools for this:

  • JTS Topology Suite is the main library used to create the geometry that is plotted. It handles operations like union, difference and intersection for occlusion, clipping of hatch lines to shapes and much more. The geometry is then turned into an SVG file, which can be processed further.
  • vpype is used as a cli tool to merge and sort the SVG paths, translate and crop them onto the printer bed, and write the G-code for the 3D printer acting as a pen plotter.
  • Java AWT (buffered image), JNoise and a few others to generate the content.
A grid of business cards, each with a randomly generated layout of tall city blocks. A pile of business cards on a wooden table, each filled with winding snake-like lines in gold, teal, blue or white ink, with "Yan Wittmann" written along the top edge.

Workflow

My usual workflow would be to generate a few dozen or hundreds of designs, and pick those variations that I like most. These would then get the "Yan Wittmann" label in the bottom right corner layered on top with some occlusion, and be combined into a grid that fits on my print area. Then, I use vpype to convert the individual color layers into separate gcode files for the printer.

A diagram of the workflow: a grid of generated isometric city SVGs, a smaller selection of them with the "YAN WITTMANN" label added, these combined into a print-ready grid, then split into separate color layers, and finally turned into one gcode file per pen.

And, of course, these gcode files then have to actually be printed. Depending on the complexity of the various designs, a page can take from 5 minutes up to 40 minutes, having to change the pen for every layer that is a different color.

The pen plotter attachment on the Prusa MK4S drawing a sheet of six isometric city business cards in shades of blue, each labeled "YAN WITTMANN". The pen plotter drawing six map designs, with streets in yellow, main roads in pink, rivers in blue hatching and forests in green crosshatching.

Lastly, the cards need a backside too! I made 6 different generators with different shapes like circles, lines or waves, and simply picked various colors for pens to draw them individually. After a few failed attempts, I realized I would not be able to align the backside of the paper with the front designs precisely, they were always off-center in my attempts. So, I simply plotted them on a separate piece of paper, cut them out a bit more generously than the front to be able to let the front drop on it nicely, glued them together with spray glue, and cut out their combination one more time. Finally, I used my corner cutter to rounden off the edges. This was a very similar process to the cards in the Rain World WAWA game I created, so check it out if you want more details.

A large pile of business card backsides on a wooden table, each showing "yanwittmann.de, Software Engineer" surrounded by generated patterns like concentric circles, rays, waves or polygon outlines in various colors.

Designs

I will say a few words to a couple of generators, keep in mind that there are many more that I either don't touch on here as I don't really have anything else to say for them, or because I didn't end up using them.

Blender

I used some tool to transform the edges of blender objects to an SVG, which I could then easily import into my pipeline. Here are some of the designs seen above.

A Blender viewport showing a voxelized, blocky Möbius strip with its outer edges highlighted in orange. A Blender viewport showing a chain of five tori of decreasing size arranged in a curve, next to a camera object. A Blender viewport showing a ring built from many separate floating rectangular blocks, with their edges highlighted in orange.

Geodata

I used open geodata from Baden-Württemberg to generate some maps of regions I have been to as well. I'm going to be honest, this UI was created by a LLM as this made it so much simpler to iterate through various combinations of layers, locations and zoom levels.

A user interface that allows for the configuration of map data to be rendered into an SVG. The selection shows Mannheim, Germany.

Ending

While it was pretty fun, it also took multiple weeks to get to this point. On average, every card took me 15 minutes, and I have made over 80 cards throughout this. Since these are pretty special, I will not hand them out to just anyone, these will be used for more special occasions. I already gave away a few of them, still ;-)

Click to see a few more images I could not fit elsewhere to end the post.

r