Skip to content
BENIBIX Learn

Boolean Operations and Tracing

Level 3 · Drawing and editing

How to build new shapes by joining and cutting simple ones. What stroke and fill are, and how tracing turns a pixel picture into sharp shapes.

Course contentsLesson 8 of 12

After this lesson you can

  • Build an icon from two circles
  • Set a shape's stroke and fill
  • Trace a small logo into shapes

10 mincovers 3 glossary entries

Worth reading first: Pen Tool and Bézier Curves

How to make new shapes from simple ones

Boolean operations make one new shape out of two. There are four. Union joins them into one shape. Subtract cuts the top shape out of the bottom one. Intersect keeps only the part where they overlap. Exclude keeps everything except the overlap. Most icons are built this way, not drawn by hand.

Take a moon icon. Put one circle on top of another, a little to the side, and subtract. What is left is a crescent. A cloud is three circles and a rounded box joined with union. A shape built from clean circles is cleaner than one drawn freehand.

Every shape is then painted in two ways. The fill is the color inside it. The stroke is the line along its edge, with its own color and thickness. Either can be turned off. An open squiggle usually has only a stroke, because it has no inside to fill.

Stroke width needs care. A 2 pixel stroke looks right on a small icon and thin on a big one. When you scale a shape, some apps scale the stroke too and some do not. Check it after every resize, or the icons in a set stop matching.

Image tracing works the other way round. It turns a picture made of pixels into vector shapes. The app finds the edges and the areas of color, then draws paths around them. Illustrator calls it Image Trace, and Inkscape calls it Trace Bitmap.

Tracing is a rescue tool. It is useful when all you have is a small photo of an old logo. You choose how many colors to keep and how close to follow the edges. The result can then grow to any size without blur.

The common mistake is to trust the trace as it comes out. It often gives wobbly edges and hundreds of extra points. Treat it as a first draft. Clean up the paths by hand, or redraw the simple parts with the pen tool.

The same two circles give four shapes. It all depends on how you join them.

The four Boolean operations

OperationWhat it keepsGood for
UnionBoth shapes as oneA cloud from circles
SubtractThe bottom shape, minus the topA moon, or a hole in a ring
IntersectOnly the overlapA leaf from two circles
ExcludeBoth shapes, minus the overlapPatterns and cut-out effects

Worked example

A bakery logo comes back to life

A bakery only has a photo of its old logo, 200 pixels wide. Ana traces it with 3 colors.

She deletes over 400 stray points and redraws the round parts with circles. The new logo prints sharp on a sign 2 meters wide.

The words for this lesson3

Check yourself

Which way of joining two circles makes a crescent moon shape?

Finished this lesson?

Marking it complete also marks its 3 glossary entries learned, which updates your roadmap and your saved page. 0 are already marked.