JWST Gingerbread Cookies

To get into the holiday spirit and in anticipation of the long-awaited launch of the James Webb Space Telescope (JWST),1 I decided to bake some gingerbread cookies in the shape of JWST’s primary mirror, which is comprised of 18 gold-plated hexagonal segments. The cookies are 10 cm across, with hexagonal segments are 20 mm flat to flat, making them 1:66 scale replicas of the mirror.

Three gingerbread cookies in the shape of the JWST primary mirror with gold hexagonal segments stenciled on

In order to make the cookies, I designed and 3D printed a custom cookie cutter and a stencil for marking the individual mirror segments.

3D-printed cookie cutter and stencil for making JWST cookies

Following a recipe found online, I made gingerbread cookie dough, rolled it out between layers of plastic wrap, and began cutting out cookies.

Flat, uncooked gingerbread dough with three cookies cut out and cookie cutter next to the dough

After cooling the dough in the freezer to make it stiffer and easier to handle, the cookies were removed from the plastic wrap, transferred to a sheet pan lined with parchment paper, and baked.

Six cookies on a sheet pan baking in an oven

As cookie dough is not dimensionally stable when baking, I used the cookie cutter on the cookies again immediately after removing them from the oven to make a more precise shape, a technique that has heritage from the SierpiƄski carpet Linzer cookie I previously created.

Baked cookies on a sheet pan after they've been removed from the oven

The final step is to mark the 18 individual mirror segments. As with science and instrumentation, developing a suitable technique involved some experimentation. My original idea was to use the 3D-printed stencil to directly apply yellow glaze to the cookies, but this failed spectacularly, looking like blobs of yellow mustard that were not remotely hexagonal. Next, I 3D printed a razor-blade guide, made a thin sheet of glaze on a plate, and tried using a razor blade in combination with the guide to cut the sheet of glaze into appropriately-sized hexagons. This again was a disaster, since while I could cut the glaze just fine, it just crumbled when I tried to remove it from the surface it was on. I then switched from using glaze to using a cream-cheese frosting, 3D printed a hexagonal tube, and filled it with the frosting. I also filled the original stencil with frosting and placed both the frosting-filled stencil and frosting-filled tube in the freezer. The plan was to extrude the frozen frosting from the tube with a 3D-printed plunger and then cut it into thin hexagonal sheets with a razor blade. Unfortunately, my residential freezer is not cold enough, and the frosting did not freeze hard enough; I was unable to cut the frosting without deforming it, and the frosting did not come out of the stencil cleanly either.

Finally, I decided to just place the stencil on top of a cookie and sift powdered sugar over the stencil; the top surface of the cookie was first dipped in water to wet it to make the sugar stick better. This worked well, but the hexagonal segments did not match the color of the JWST mirror, being white instead of gold. While trying to find prior art for dissolving sugar in grain alcohol and aerosolizing the solution, I discovered that edible spray paint exists. It even comes in a metallic gold color! After securing the stencil on top of the cookie to prevent it from moving when sprayed, I applied three coats of gold color, allowing the spray to dry between coats.

Cookie with stencil placed on top and edible gold spray paint overspray

This worked pretty well, although I discovered that spraying the bottom of the cookies worked better than spraying the top because the bottom had a darker color that provided more contrast with the gold and because the bottom was more planar, resulting in less overspray underneath the stencil.

Eleven JWST cookies, some with edible gold paint stenciled on and some with powdered sugar stenciled on

In case you want to make your own cookies, the cookie cutter and stencil model files are available. Also included is the model file for the six-pointed star shown in the cookie photos.2


  1. The launch is scheduled for Christmas Day, as of writing.  

  2. As JWST has three supports holding its secondary mirror, bright point sources in its images will have six diffraction spikes, differing from the four in Hubble Space Telescope images.  

This entry was posted in and tagged , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *