
The look and simplicity of a gumball machine is ubiquitous in design. It's no doubt you've grown up around them at stores, restaurants, or shopping malls. While globe-like machines tend to be the most iconic, we're going to focus on the box-like design that's often seen to house more than just gumballs. Fire upĀ Adobe Illustrator CC and let's get to it!
1.Ā Set up the Machine Base
Step 1
Create aĀ New Document. Mine has dimensions of 6.67" x 7.75", though anything in that ballpark should be ample space for your design. Let's start with the base of the gumball machine:
- Use the Rectangle Tool (M) to draw a rectangle that coversĀ 2/3 of the width of the artboard. Pull theĀ Live Corners inward slightly to round out the corners of the rectangle. If you're not usingĀ Illustrator CC, use theĀ Rounded Rectangle Tool with some trial and error to get the radius you want.
- With the Direct Selection Tool (A), move the anchor points of the lower left corner so the space between the two of them is elongated to the right.
- Move the path on the left side of the rounded rectangle so its angled inward, toward the right.
- Finally, bring the corner anchor points upward a bit so the curve kicks up at the end (see top left corner of the trapezoid).

Step 2
- Draw a vertical rectangle with theĀ Rectangle Tool overlapping half of the trapezoid.Ā
- Select both shapes and hitĀ Minus Front in theĀ Pathfinder panel.Ā Expand the shape underĀ Object.
- Copy (Control-C) andĀ Paste (Control-V) the newly cut shape andĀ Reflect it over aĀ Vertical Axis.Ā Align the two shapes andĀ Unite them inĀ Pathfinder.
- Change the FillĀ color to bright Red.

2.Ā Render the Base
Step 1
This gumball machine needs a bright and shiny (very shiny) base in which to hold coins and such (though in the case of this illustration, all gumballs are free as I have declined to draw a coin slot).
Three gradient shapes were drawn below with theĀ Pen Tool (P). The first and largest of the shapes covers the lower right side of the machine's base. Once drawn with theĀ Pen Tool, use theĀ Gradient Tool (G) in order to apply Linear Gradient that goes fromĀ Dark Red toĀ Red. Concentrate the darker color of the gradient in the lower right corner. Do so in theĀ Gradient panel.
Carefully draw two shapes on either side of the base shape to cast shadows on either side of the gumball machine.

Step 2
The third and final shadow shape on the red portion of the gumball base is curved around the lower left side of the machine's base and contains aĀ Linear gradient going from Dark Red atĀ 100% Opacity to Red atĀ 0% Opacity. Concentrate the darker color toward the bottom of the machine base.

Step 3
The majority of the gumball machine's shapes will have additional line art placed over them. Let's begin doing so now:
- Copy and Paste the trapezoid drawn inĀ Section 1, Step 2 and set the FillĀ color toĀ Null and the stroke color toĀ Black. In theĀ Stroke panel, set bothĀ Cap andĀ Corner toĀ Rounded and the stroke'sĀ Weight toĀ 2pt.
- With theĀ Pen Tool, draw a long, rectangular-like shape on the top of the machine base that curves up at the sides. This shape will hold the glass container that holds the gumballs. Draw a second shape underneath the first (selected below) that curves slightly in the middle.
- Finally, draw a curved rectangular shape at the bottom of the gumball machine. I found it easiest to trace the bottom edge and sides of the trapezoid before drawing the top curve of the shape. Adjust Ā any curves with theĀ Direct Selection Tool.

Step 4
Select all four shapes drawn in the previous shape, Group (Control-G) them together,Ā and set theĀ Blending Mode to Soft Light in theĀ Transparency panel.Ā Copy andĀ Paste the group, set theĀ Blending Mode toĀ Normal,Ā StrokeĀ color toĀ Null, andĀ FillĀ color toĀ Black. Place the new group underneath its counterpart in theĀ Layers panel.

3.Ā Render Shiny Black Metal
Step 1
Select the bottom black shape with theĀ Direct Selection Tool and apply aĀ Linear Gradient going fromĀ Black toĀ Dark Gray toĀ Black toĀ Dark Gray toĀ Black (see below). Draw two rectangles on the top black shapes withĀ LinearĀ Gradients going fromĀ Light Gray atĀ 0% Opacity toĀ 100% Opacity toĀ 0% Opacity.

Step 2
Let's focus on the top of the machine base.Ā Copy andĀ Paste the two black shapes and apply the same black and dark gray gradient from the previous step. Reduce theirĀ Opacity toĀ 46% in theĀ Transparency panel.

Step 3
This step calls for five rectangles in total drawn with the Rectangle Tool. Two on each black shape (see below) that goes from Light GrayĀ atĀ 0% OpacityĀ toĀ 100% OpacityĀ toĀ 0% Opacity. Note how the gradients are at their lightest and brightest along the same space on either side of the design.
Draw one thin, horizontal rectangle at the top of the second black shape (last image below) that contains aĀ Linear Gradient that goes fromĀ Gray atĀ 0%Ā Opacity toĀ WhiteĀ atĀ 100% Opacity toĀ Gray (0%) toĀ White (100%) toĀ Gray (0%).
Group together the shapes drawn in this step and place them underneath the stroked lines fromĀ Section 2, Step 3.

Step 4
Draw two more thin horizontal rectangle underneath the one drawn last in the previous step and place them as seen below. For the gradient highlight on the red base (final image below), use theĀ Light GrayĀ atĀ 0% OpacityĀ toĀ 100% OpacityĀ toĀ 0% Opacity gradient with itsĀ overallĀ Opacity reduced toĀ 40%, or so, in theĀ TransparencyĀ panel.

Step 5
For the bottom of the gumball machine base, apply the same gradients from the previous three steps resulting inĀ four additional gradient rectangles (see the progression below).

Step 6
The final step to rendering the gumball machine base are a few shiny highlights onto the red portion of the design. Draw two vertical rectangles (thin ones) on the left side of the machine base. Apply Linear Gradients to each going from White at 100% Opacity to 0% Opacity at a 90° angle. Reduce the Opacity of the second gradient shape to 40% in the Transparency panel.
Draw two additional rectangles, side by side, to complete the highlights on the base. Both shapes have aĀ Linear Gradient going fromĀ White atĀ 0% Opacity toĀ 100% Opacity toĀ 0% Opacity.

Step 7
This isn't so much of a step as it is a progress point of what we've accomplished in this section. Compare the two designs to your own. Perhaps you've got just enough shiny gradient rectangle shapes, or wish to add more.Ā Group everything together when your gumball machine base is complete.

4.Ā The Glass Container
Step 1
Draw aĀ Rounded Rectangle and place it behind the machine base group in theĀ Layers panel. Set the Fill color to White.
Using theĀ Pen Tool, draw two shadow shapes that follow the side edges of the white box and angle inward at the bottom. Set theĀ Linear Gradient toĀ black atĀ 100%Ā Opacity toĀ 0% Opacity and aĀ 90° angle.Ā
CopyĀ andĀ Paste the white box, set the Fill color to Null and the Stroke color to Black. In theĀ Stroke panel, set theĀ weight toĀ 2ptĀ andĀ Cap andĀ Corner toĀ Rounded. Set theĀ Blending Mode toĀ Soft Light in theĀ TransparencyĀ panel.

Step 2
For the top of the glass container, we'll need to create two base shapes and then render them.
- Use theĀ Pen Tool to draw a rectangle whose sides are angled inwards. Set the fill color toĀ Black. Alternatively, you can use theĀ Rectangle Tool and angle the anchor points to match the image below.
- For the front piece, use theĀ Pen ToolĀ to start at the lower left corner of the black rectangle with a straight line down and a slightly curved corner to the right.
- I find it easiest to hold downĀ Shift in order to draw a straight horizontal line to the right.
- End the shape in the center of the glass case. The right corners of the shape are both 90° angles. Close the shape at the origin anchor point on the left side.
- Copy,Ā Paste and reflect the pasted shape over aĀ Vertical Axis.Ā Align the shapes together andĀ Unite them in theĀ Pathfinder panel.

Step 3
The process to render the top of the glass case is pretty much the same as what was done inĀ Section 3 of this tutorial.Ā
- Set theĀ Fill color of the front piece to aĀ Linear Gradient that goes fromĀ Black toĀ Dark Gray toĀ Black toĀ Dark Gray toĀ Black.Ā
- Copy andĀ Paste both shapes and set theĀ FillĀ color toĀ Null and theĀ Stroke color toĀ Black,Ā WeightĀ toĀ 2pt,Ā Cap toĀ Rounded,Ā Corner toĀ Rounded, and theĀ Blending Mode toĀ Soft Light.
- Draw a thin, horizontal rectangle along the top edge of the front shape. Set theĀ Gradient toĀ White atĀ 0%Ā toĀ 100% toĀ 0% Opacity in theĀ Gradient panel.
- Draw two rectangles over theĀ Dark Gray portions of the front shape with the sameĀ White toĀ White gradient done in the previous step.
- Draw two small, thin rectangles near the top edge with the same gradient again in order to really make the highlights pop.Ā GroupĀ together all of the gumball machine lid components.

Step 4
Draw a thin, horizontal rectangle near the bottom of the "glass" container in the design. Set the Fill color to black and the Opacity to 23% in the Transparency panel. Group together the shadow gradient shapes.Ā

Step 5
Any designs inside the machine that aren't the gumballs themselves are optional, as your glass case might obscure this construct entirely. If it will be shown, however, follow the steps below.
- Draw a long, vertical rectangle in the center of the glass case with aĀ Linear Gradient that goes fromĀ Dark Gray toĀ Medium Gray toĀ Dark Gray.
- Beneath this shape, draw two identicalĀ Dark Gray ellipses using theĀ Ellipse Tool (L).
- Draw aĀ rectangle between them so their edges are flush with the rectangle's sides.
- EitherĀ Unite the three shapes in theĀ Pathfinder panel, or use theĀ Shape Builder Tool (Shift-M) toĀ Merge the shapes.
- Place the new flattened cylinder shape beneath the long rectangle pole in theĀ Layers panel.

Step 6
In order to render the cylinder, follow the steps below:
- Apple aĀ Linear Gradient that goes fromĀ Dark Gray toĀ Medium Gray toĀ Dark Gray.
- Draw aĀ Light Gray ellipse and align it to the top of the cylinder.
- Apply aĀ Light Gray toĀ Medium GrayĀ Linear Gradient to the ellipse.
- Copy andĀ Paste the cylinder and the ellipse, set the Fill color toĀ Null andĀ theĀ Stroke color toĀ Black.Ā In theĀ Stroke panel, set theĀ Cap andĀ corner toĀ Rounded, and theĀ Weight toĀ 2pt.Ā GroupĀ together the cylinder components and place them beneath the vertical rectangle in theĀ Layers panel.

Step 7
Once again, this isn't so much of a step as it is a progress shot of where we are so far. I added two transparent ellipses beneath the base of the glass case.

5.Ā Create the Gumballs
Step 1
We'll start with the bright red "gumball" at the top of the machine. This will be the basic method for every gumball color in the design.
- Draw aĀ Red circle with theĀ Ellipse Tool.
- Copy andĀ Paste the circle twice and overlap the two copied shapes as seen below.
- Hit Minus Front in theĀ Pathfinder panel.
- Align it to the bottom right of the red circle. Apply aĀ Linear Gradient that goes fromĀ Dark red toĀ Red with the darker color concentrated at the bottom right.

Step 2
- Paste the circle again over the red circle. Set theĀ Fill color toĀ Null and theĀ Stroke color toĀ Black. In theĀ Stroke panel, set theĀ Weight toĀ 0.5pt.
- Paste a circle again. This time theĀ StrokeĀ Weight will beĀ 2pts and theĀ Blending Mode will beĀ Soft Light.
- Draw a smaller circle in the center of the red gumball with aĀ Linear Gradient that goes fromĀ RedĀ atĀ 100% toĀ 0%Ā Opacity.
- Draw two small white circles in the upper left of the gumball.Ā Group the gumball components together. Place the gumball at the top of the machine.

Step 3
In order to create multiple colors, I found it easiest toĀ Copy andĀ Paste multiple gumballs and change theĀ Red andĀ Dark Red of the original gumball by going toĀ Edit > Edit Colors> Recolor Artwork. This allows you to change two colors in each gumball without having to bother with each individual gradient.

Step 4
I decided on seven colors in total for my gumballs. How many colors you choose is entirely up to you.Ā Copy andĀ Paste the gumballs around the glass case in order to fill it up. Make sure there are a few levels of gumballs piled within it in order to add depth. Once satisfied with placement,Ā Group the gumballs together.
Use theĀ Pen Tool in order to draw highlight shapes across the glass case with aĀ Linear Gradient that goes fromĀ Cream orĀ White atĀ 0% toĀ 100%.

6.Ā Draw the Candy Tray
Step 1
The stylized tray and coin mechanism are fairly simple in design.
- Draw a rounded rectangle in Dark Gray.
- Apply the sameĀ Gray andĀ BlackĀ Linear Gradient as used inĀ Section 3 of this tutorial.
- Draw a smaller, more severely rounded rectangle inĀ Black in the upper half of the first rounded rectangle.

Step 2
- Draw a rectangle over the smaller rounded rectangle.
- Use theĀ Shape Builder Tool to select the lower half of the rounded rectangle.Ā Delete the rest of the overlapping rectangle.
- Apply aĀ Linear Gradient going fromĀ Black toĀ Gray toĀ Black toĀ Gray toĀ Black again.
- Copy andĀ Paste all three shapes and change theĀ Fill color toĀ Null,Ā Stroke to 2pt Weight, Black, and Rounded Corners and Caps. Set the Blend Mode to Soft Light in the Transparency panel.

Step 3
- Draw a thin, horizontal rectangle with a Linear Gradient that goes from White at 0% to 100% to 0% to 100% to 0% Opacity.
- Repeat on the tray itself.
- Draw a thin vertical rectangle with aĀ Linear Gradient that goes fromĀ White atĀ 0%Ā toĀ 100% toĀ 0%.
- Draw a smallĀ Gray rectangle set atĀ 50%Ā Opacity in theĀ Transparency panel.
- Use theĀ Pen Tool to draw a curving shape on the bottom of the gumball tray. Set theĀ FillĀ color toĀ Black andĀ Opacity toĀ 50%.

Step 4
For the turning mechanism, you'll be repeating the same rendering steps as used throughout this section.
- Draw a rounded rectangle whose width matches the gumball tray.
- Apply the same shiny metallic blackĀ Linear Gradient used previously. Copy andĀ Paste the rounded rectangle, set theĀ Fill color toĀ NullĀ andĀ Stroke toĀ Black, 2pt Weight, Rounded Corners and Caps, and Blend Mode to Soft Light.
- Draw a small black rounded rectangle in the center of the other shape.
- Draw a second, even smaller rounded rectangle with the shiny metallic black gradient applied.
- Draw thin rectangles with highlight gradients along the top edge of the turning mechanism.
- I've drawn five highlight gradient shapes in total, mostly on the top and left side of each shape, similar to what has been done on the other metallic black components of the gumball machine design.

7.Ā Finish the Design
Step 1
Group together your gumball machine components.Ā I chose a bright, mustard yellow for my background color. Draw a large rectangle over the artboard and place it behind the gumball machine in order to create the background.
Draw a smaller rounded rectangle of the same color and place it above the white rectangle drawn inĀ Section 4, Step 1 in order to make the glass case look transparent.

Step 2
Copy andĀ Paste the gumball machine without the inner components,Ā Expand all shapes underĀ Object, andĀ Unite them in theĀ Pathfinder panel. Set theĀ Fill color toĀ Null andĀ Stroke toĀ 2-4ptĀ Weight,Ā Cap toĀ Rounded,Ā Corner toĀ Rounded, andĀ Blending Mode to Soft Light.Ā Align it with the gumball machine.

Great Work, You're Done!
It was a long process, but your gumball machine is ready for business! What colors did you use? Imagine a whole fleet of candy-colored vending machines. Show us your version of this design in the comments below!
