Crop to square, shrink to a pixel grid, reduce to a palette, clean up stray pixels, and export the level with its buckets.
| Color | Pixels | Share | Buckets | Last bucket | Adjust |
|---|
Click a swatch to choose a replacement color, or use Pick to take one from the source or shrunk image. Either one locks that color. Buckets = pixels ÷ ammo, rounded up; the last bucket holds the remainder. Per column assumes 5 columns.
pixels is one row per line of the grid, each value an index into palette. buckets lists the ammo in each bucket, per color. imageSeed comes from the image itself; seedIncrement is how many steps past it the first winnable deal was found, and seed is their sum.