Custom Shape Mazes: Using Bitmap Masks for KDP Puzzle Books

2026-05-06 The Maze Generator Team
kdp maze-generator puzzle-books bitmap-masks custom-shapes

The single most underused feature on most maze generators is the bitmap mask. Almost every KDP publisher uploads a square or hexagonal maze, slaps a kid-friendly cover on it, and wonders why it sinks into the same generic pile as 10,000 other listings. Meanwhile, the publishers who do well in themed niches — bee books, cat books, Christmas activity books, alphabet workbooks — are quietly using one trick: their mazes aren’t rectangles, they’re shapes.

A bitmap mask lets you generate a maze that fills a specific silhouette: an elephant, a heart, a snowflake, a letter “A”. Inside the silhouette is a fully solvable maze; outside is white space. Same algorithm, same engine, completely different perceived value on a book cover. This guide explains how custom shape mazes work in The Maze Generator, how to use them effectively for KDP, and which themed niches they unlock.

What a Bitmap Mask Actually Is

A bitmap mask is a black-and-white PNG image that the maze engine uses as a stencil. Black pixels are “inside the maze” — corridors and walls get drawn here. White (or transparent) pixels are “outside the maze” — they stay blank.

When you pass a mask to the maze engine, it fits a grid over the image, marks every cell whose center sits on a black pixel as part of the maze, and runs the standard generation algorithm (recursive backtracker, Prim’s, or growing tree) over only those cells. The result is a maze that conforms to the silhouette of your mask image.

Crucially, this is not an overlay or a crop. The maze is generated inside the shape from the start, which means:

  • Every corridor stays inside the silhouette
  • Entry and exit points sit on the silhouette’s edge
  • The solution path follows the contour of the shape
  • The maze is guaranteed solvable end-to-end

This is the difference between a “bee-themed maze book” (rectangular maze, bee on the cover) and a “bee-shaped maze book” (every maze is the actual outline of a bee). The second category sells better because the value is visible at thumbnail size on Amazon.

The 17 Pre-Loaded Masks

The Maze Generator ships with 17 pre-loaded animal silhouettes you can select from a dropdown — no upload required. The current library:

  • Bear, Bird, Cow, Dog, Elephant, Fox, Goat, Hippo, Horse, Lion, Panther, Parrot, Pig, Rabbit, Raccoon, Sheep, Turkey

These cover the most common children’s-book animal niches. A “100 Animal Mazes for Kids” book using all 17 shapes (with multiple difficulty levels per shape) is a viable KDP product that takes about 30 minutes to generate using the batch tool on Pro tier.

But the pre-loaded library is intentionally narrow. The real publishing leverage comes from custom uploads.

Uploading Your Own Mask

Anonymous visitors, free-tier accounts, and paid Pro and Business users can all upload their own PNG silhouettes through the same mask picker on the maze demo page. Anonymous and free-tier users get 1 custom upload per day; Pro and Business unlock unlimited uploads. The engine treats your upload identically to a pre-loaded mask — same algorithms, same maze types, same export options.

File requirements

For a custom mask to render cleanly:

  • Format: PNG (other formats are rejected)
  • Color mode: Black silhouette on white or transparent background. Anti-aliasing is fine but pure black/white reads cleanest at small grid sizes.
  • Aspect ratio: Match (or close to) your maze grid aspect ratio. A wide silhouette in a tall grid wastes space; a tall silhouette in a wide grid wastes space.
  • Detail level: Avoid thin protrusions narrower than 3-4 grid cells. A bird’s beak that’s 1 cell thick at 20×20 will produce a single dead-end corridor at the tip — visually unsatisfying. Either thicken thin features in your source PNG or generate at a larger grid (40×40, 60×60) so the detail has room to breathe.

Practical workflow

The fastest way to produce a publisher-ready mask:

  1. Find or create a black silhouette in your image editor (Photoshop, Affinity, GIMP, even Canva for simple shapes)
  2. Crop tightly to the silhouette’s bounding box — no extra whitespace padding
  3. Export as PNG, ideally 800×800 to 1200×1200 pixels
  4. Upload through the mask picker, set your grid size to something between 20×20 and 60×60, and generate

Tier note: the free tier allows 1 custom upload per day for testing. Pro and Business tiers unlock unlimited uploads and the larger grid sizes (up to 99×99) you need for detailed silhouettes.

Themed Niche Packs You Can Build Today

The pre-loaded animal library covers one slice of the market. Here are the themed packs a single publisher can produce by sourcing or creating their own silhouettes — each one targeting a documented Amazon KDP niche.

Holiday and seasonal packs

Seasonal puzzle books are one of the most reliable evergreen categories on KDP. The pattern: publish 60-90 days before the holiday, ride the seasonal search wave, and re-promote the title every year.

Holiday silhouettes that map cleanly to bitmap masks:

  • Christmas: tree, snowflake, ornament, gift box, gingerbread man, wreath, candy cane, stocking
  • Halloween: pumpkin, bat, ghost, spider, witch hat, haunted house
  • Easter: egg, bunny, basket, chick, cross, lamb
  • Thanksgiving: turkey (already pre-loaded), cornucopia, pilgrim hat, pumpkin
  • Valentine’s Day: heart, cupid, rose, chocolate box
  • St. Patrick’s Day: shamrock, leprechaun hat, pot of gold, horseshoe
  • Independence Day: star, flag, eagle, firework

A single “Christmas Mazes for Kids” book using 8 different Christmas-themed silhouettes across 50 puzzles — varied across age-appropriate difficulty — is a viable Q4 publishing project. The shape itself is the cover hook: the buyer sees mazes that look like Christmas, not just generic mazes with a wreath on the cover.

Alphabet and number packs

Letter-shaped mazes are a recognized worksheet category on Teachers Pay Teachers, Education.com, Superstar Worksheets, and dozens of homeschool blogs. They’re used by:

  • Kindergarten teachers introducing letter recognition
  • Homeschool parents teaching the alphabet alongside motor skills
  • Speech-language pathologists using letter-tracing variants
  • Activity-book publishers targeting “ABC Maze Book for Kids” search terms

A 26-letter alphabet maze book is one of the cleanest “complete pack” KDP concepts available — the structure writes itself (one letter per page, A through Z, ascending difficulty), and the listing keywords are obvious (“ABC mazes,” “alphabet activity book,” “letter recognition workbook”).

To produce this pack, you need 26 high-contrast block-letter PNGs sized roughly 800×800 with the letter as a thick black silhouette. Most font foundries license display fonts that work well for this; alternatively, a free-license sans-serif at 600pt rasterized to PNG produces the right output. Generate each letter at 30×30 to 50×50 grid using orthogonal type 1 for the youngest readers, hexagonal type 3 for older readers who want a bit more challenge.

A 0-9 number pack is the same idea, smaller scope, and pairs well with a counting-themed cover (“123 Maze Adventure,” “Number Mazes for Beginners”).

Sports and hobby packs

Sport-shape silhouettes target a niche but loyal market — relatives buying activity books for sports-obsessed kids:

  • Soccer ball, basketball, football, baseball
  • Hockey stick, tennis racket, golf club
  • Race car, dirt bike, skateboard

The publishing angle is “Soccer Mazes for Kids Who Love the Game” rather than competing in the generic kids’ maze space. Lower volume, lower competition, and the cover positioning is unambiguous.

Custom-license packs

For Business-tier publishers, custom silhouettes that match a personal IP — your own animal mascot, a region-specific landmark, a vehicle from a children’s-book series you write — turn The Maze Generator from a tool into a brand asset. The maze generation is unlimited; the only cost is the time to design 20-30 custom silhouettes once.

Choosing the Right Maze Type for a Mask

Not every maze type renders equally well inside a silhouette. Some practical guidance:

  • Orthogonal (types 1-2): The safest choice. Square cells fill any silhouette cleanly and look familiar to younger readers. Use this for alphabet packs, kids’ animal books, and senior-friendly titles.
  • Hexagonal (types 3-5): Excellent for organic shapes — animals, flowers, nature themes. The honeycomb pattern softens the silhouette edges. Use for bee, leaf, flower, and animal silhouettes targeting ages 7+.
  • Octagon-square (types 13-16): Premium-feeling for adult silhouettes — anatomical shapes, complex objects, decorative motifs. Best at 50×50 or larger to let the geometry show.
  • Voronoi cells (types 27-30): Avoid for masks because Voronoi cell boundaries don’t snap to mask edges, leaving ragged silhouettes that blur the shape readers are supposed to recognize. Use only when you want the maze to look intentionally chaotic.

Triangle, pentagon, and Cairo types work mathematically but visually clash with most recognizable silhouettes. Stick with orthogonal or hexagonal for 90% of mask projects.

Production: From Mask to KDP-Ready Book

Once you have a pack of silhouettes, the production pipeline on The Maze Generator looks like this:

  1. Single-puzzle test: Upload one mask, generate a maze at your target grid size, verify the silhouette is recognizable and the corridors are properly sized. Iterate on grid size if the maze looks too sparse or too busy.
  2. Difficulty progression: For a 50-puzzle book, vary the grid size across the book — start at 20×20 for the first 10 puzzles, scale to 30×30 in the middle, finish at 50×50 for the hardest. The same silhouette at three grid sizes feels like three difficulty levels.
  3. Batch generation (Pro tier): Use the batch ZIP endpoint to generate up to 25 puzzles at once. For a single themed silhouette across multiple difficulties, this turns a 50-puzzle book into two batch runs.
  4. Book compilation (Business tier): The book endpoint compiles a full PDF with cover, instructions, puzzle pages, and solution pages — all in KDP-correct trim sizes (5×8, 6×9, 8.5×11, etc.) at 300 DPI with proper bleed margins. Upload directly to KDP without further processing.
  5. Solution pages: Always include the solved version of each maze at the back of the book. The book compilation feature handles this automatically; if you’re producing pages individually, generate each maze twice — once clean, once with the -P solution path overlay — and lay them out manually.

Common Mistakes to Avoid

A few pitfalls that show up consistently in custom-mask publishing projects:

Detail too fine for the grid. A silhouette with a thin tail or beak rendered at 20×20 produces visually unsatisfying single-cell protrusions. Either simplify the silhouette or scale up to 40×40 or larger.

Aspect ratio mismatch. Uploading a 1200×400 horizontal silhouette into a square 30×30 grid stretches the silhouette and wastes vertical space. Match grid aspect to silhouette aspect — a wide silhouette wants a wide grid (e.g., 40×15).

Solution path overlay disabled in production. Always test with the solution overlay first to confirm the maze is solvable end-to-end through the shape. Only ship the clean version to readers.

Mask color wrong way around. The engine treats black as “inside the maze.” If your silhouette is white-on-black (inverted), the maze will fill the background instead of the shape. Check by rendering once before committing to a batch.

Same silhouette, identical maze. The maze engine uses a seed to randomize generation. Without a unique seed per puzzle, you can accidentally produce the same maze twice. The Maze Generator randomizes seeds by default, but if you’re scripting batch generation, double-check the seed parameter is varying.

When Bitmap Masks Don’t Help

Custom shapes aren’t the right answer for every KDP maze book. They’re overkill — and sometimes counterproductive — for:

  • Senior and dementia-care titles: The cognitive load of an irregular shape is the wrong direction for this audience. Stick to clean rectangular orthogonal mazes.
  • Travel-and-go activity books: Speed of solving matters more than visual interest. Square mazes solve faster.
  • High-volume “100 mazes for adults” titles: The market expects standard rectangular grids; shaped mazes feel gimmicky in this niche.
  • Educational test-prep workbooks: Standardized formats win here. Curriculum buyers want familiarity, not novelty.

The custom-mask edge is for niches where visual differentiation matters — themed kids’ books, holiday seasonal titles, alphabet workbooks, branded activity content. For everything else, the standard 30 maze types are still the right tool.

Next Steps

If you’ve never used a custom mask before, start with one of the 17 pre-loaded animals to see the workflow end-to-end. Pick “Bear” or “Elephant,” set the grid to 30×30, choose orthogonal type 1, and hit generate. That output is the same fidelity you’ll get from a custom upload.

Once you’re comfortable with the picker, source or create one custom silhouette in a niche you want to test — a Christmas tree for a Q4 publishing project, a block letter “A” as the start of an alphabet pack, or a pumpkin for a Halloween title. Generate at three difficulty levels, lay them out as a 6-page sample, and you have a real product proof-of-concept in under an hour.

The bitmap mask feature is included on every paid tier. Compare tiers on the pricing page — Pro covers everything you need for custom-shape publishing, including unlimited uploads, all 30 maze types, batch generation, and KDP-ready PDF export. Or try the demo and generate your first shaped maze in the next two minutes.


Share this article: Twitter Facebook LinkedIn Pinterest