# 8 Bit 1 Up Mushroom Cookie Cutter and Cup

## Introduction

As Christmas and Hannukah near (which I will now refer to as Christmakkah), I decided what better way to celebrate the holidays than making some little nerdy gifts that my partner in crime T.J. would enjoy. That naturally began with his love of cookies and Super Mario everything (but especially Odyessy of late). Odyessy has an amazing feature of switching between 3D animation and 8-bit play, calling upon a great sense of nostalgia for players. Thus, the idea for an 8-bit cookie cutter was born, the mushroom would “give him new life,” so to speak. The cup would come later, as he celebrated his 21st birthday over Thanksgiving, and seemed only appropriate that what gives should also take away.

Code:

/// bottom
cube ([30, 3, 5]);
///1 unit up both sides
translate([0,0,5])
cube ([5, 3, 5]);
translate([25,0,5])
cube ([5, 3, 5]);
///1 unit over both sides
translate([-4,0,10])
cube ([5, 3, 5]);
translate([29,0,10])
cube ([5, 3, 5]);
///2 units up both sides
translate([-8,0,15])
cube ([5, 3, 10]);
translate([33,0,15])
cube ([5, 3, 10]);
/// 1 over both sides
translate([-12,0,25])
cube ([5, 3, 5]);
translate([37,0,25])
cube ([5, 3, 5]);
///1 unit up both sides
translate([-16,0,30])
cube ([5, 3, 5]);
translate([41,0,30])
cube ([5, 3, 5]);
///Sides
translate([-16,0,35])
cube ([5, 3, 18]);
translate([41,0,35])
cube ([5, 3, 18]);
///2 units up both sides
translate([-12,0,50])
cube ([5, 3, 10]);
translate([37,0,50])
cube ([5, 3, 10]);
///1 unit over both sides
translate([-8,0,55])
cube ([5, 3, 5]);
translate([33,0,55])
cube ([5, 3, 5]);
///1 unit up both sides
translate([-8,0,60])
cube ([5, 3, 5]);
translate([33,0,60])
cube ([5, 3, 5]);
/// Top
translate([-5,0,65])
cube([40,3,5]);
///Design
///eyes
translate([5,0, 15])
cube([5,1,10]);
translate([20,0,15])
cube([5,1,10]);
///Top of eyes
translate([-10,0,25])
cube ([50, 1, 5]);
///Side block
translate([-10,0,23.5])
cube([15,1,10]);
translate([25,0,23.5])
cube([15,1,10]);
///In Block
translate([-5,0,38.5])
cube([5, 1, 10]);
translate([30,0,38.5])
cube([5,1,10]);
///midblock
translate([-7.5,0, 33.5])
cube([10,1,5]);
translate([27.5,0,33.5])
cube([10,1,5]);
///square
translate([-5,0,48.5])
cube ([10,1,10]);
translate([25,0,48.5])
cube([10,1,10]);
///Upperside block
translate([-7.5,0,48.5])
cube([5,1,10]);
translate([32,0,48.5])
cube([5,1,10]);
///Upper Center block
translate([0,0,53.5])
cube([30,1,7.5]);
///Top block
translate([10,0,55])
cube([10,1,10]);

I was working my way from the outside in, doing the outline first from the bottom up, then doing the same with the interior, making the inside shallower so it would just leave an impression of the design pressed into a cookie and not cut it like the outline would. I used boxes in Illustrator to help me “measure” and then rounded to the nearest multiple of 5 for simplicity’s sake (which makes my mushroom look more elongated, the way the more recent designs of the mushroom look in the Super Mario series). Every piece was made in pairs because the mushroom mirrors itself, so all the translations would, too. Some of the translations were easy to find with simple math, others required a little more guessing and testing to get it to be in a spot that looked most right to my eye. I didn’t use any parameters in making my code, which might have been useful in case someone wanted to change the depth of each cube to make it all the same, but for now, they’ll just have to go through my code manually.

## Level Up: 1 Up Cup

```///ADD CUP difference(){translate([13.75,50,-35])color("green") cylinder( 150,    50,    50); translate([13.75,50,-30])    cylinder (h = 160, r=45, center = false, \$fn=100); }