Skip to the tutorial
lil cactus

How to make pixel art

Beginner10 minutesUpdated

Quick answer

In Lil Cactus, start with a 16 × 16 px canvas and choose Pencil from the Brush toolbar group. Set Size to 1 px and Opacity to 100%, then draw at high zoom. For a one-pixel grid, choose More then Preferences…, open Guides & Grid, set spacing to 2 px and subdivisions to 2, then enable View then Show then Grid. Enlarge through Image then Image Size… with Nearest Neighbor, using a whole-number multiple such as 16 → 512 px.

A three-color pixel cactus enlarged from 16 by 16 to 512 by 512 pixels, comparing soft Bilinear edges with crisp Nearest Neighbor edges
The same drawing enlarged to 512 × 512: Bilinear (Before) blends the edges; Nearest Neighbor (After) keeps the pixel blocks distinct. Drag the handle to compare.
Time
10 minutes
Level
Beginner
You need
A small canvas and a mouse for placing pixels
Works with
New RGB images and PNG sprites
Open the sample in Lil CactusUse your own photo

Free, no sign-up. Your photo stays on your computer.

Pixel art is drawn a cell at a time on a small image. The cactus here uses three paint colors and a white background. Pencil makes hard-edged marks; enlarging with Nearest Neighbor copies those pixels without adding blended colors between them.

Draw and enlarge a pixel cactus in seven steps

  1. Open a 16 × 16 canvas and add a drawing layer

    Open the blank sample from this page. To start your own canvas instead, choose File then New…, set Width and Height to 16, and keep Units on Pixels. Background stays on White. Click Create.

    Choose Layer then New then New Layer. In Layers, double-click its name, type Cactus and press Enter. Leave Cactus selected above Background.

    New Document settings with Width 16, Height 16, Pixels and a White background
    Use a tiny canvas: these dimensions are image pixels, not the enlarged view.
    New Document footer with the Create button ringed
    Create the canvas after setting its dimensions.
    Layers showing Cactus selected above a white Background layer
    Draw on Cactus; Background supplies the white paper.
  2. Choose a green, then Pencil at 1 px

    Choose Window then Color. In its # field, on the row marked Foreground, replace the value with 4A8654.

    Right-click the toolbar button below Eyedropper, or press and hold it, then choose Pencil. Set Size to 1 px. Mode, how a stroke mixes with existing pixels, stays on Normal. Opacity controls how solid the mark is; keep it at 100%.

    Smooth steadies a stroke; keep it at 0 for placing these cells. Leave both pressure boxes off for uniform size and opacity. Keep Auto erase off so painting over a pixel keeps using the foreground color.

    Color panel with green 4A8654 in the ringed # field on the Foreground row
    Enter the green in the # field.
    Brush toolbar group with the group button and Pencil choice ringed, alongside neighboring tools
    Pencil shares the toolbar button with Brush; enlarged view.
    Pencil options with the Size control ringed and set to 1 px
    One-pixel Pencil marks fill individual source cells.
    Pencil options showing Mode Normal, Opacity 100 percent and Smooth 0 percent
    Keep Normal, 100% Opacity and 0% Smooth.
    Pencil Pressure size, Pressure opacity and Auto erase boxes all unchecked
    Keep these three boxes off for this drawing.
  3. Show a one-pixel grid

    Choose More then Preferences…, then Guides & Grid. Grid spacing (document px) sets the distance between major lines; set it to 2. Subdivisions per major cell divides that distance; set it to 2. Click Close.

    Choose View then Show then Grid, then View then Fit on Screen. The faint lines now divide individual pixels, with heavier lines every two pixels. The top-left white cell is column 1, row 1. Count columns from the left and rows from the top.

    More menu with Preferences ringed
    Open Preferences from More.
    Preferences sections with Guides and Grid ringed
    Choose Guides & Grid in Preferences.
    Guides and Grid settings with Grid spacing 2 and Subdivisions 2 ringed, plus the Close button
    2 px spacing divided into 2 makes a one-pixel grid.
    View menu and its Show submenu, with Grid ringed
    Turn on View › Show › Grid.
    The blank white 16 by 16 canvas at 3200 percent zoom with one-pixel grid cells
    The sample at 3200% zoom. Each small cell is one image pixel.
  4. Draw the trunk and arms

    Keep Cactus selected and the foreground green. Drag through the centers of the cells. Make a separate stroke for each line below:

    • Trunk: three vertical strokes in columns 8, 9 and 10, each from row 3 through row 10.
    • Left arm: horizontal strokes across columns 5–7 in rows 6 and 7. Add its upright tip in column 5, rows 4–5.
    • Right arm: horizontal strokes across columns 11–13 in rows 7 and 8. Add its upright tip in column 13, rows 5–6.
    One-pixel grid containing the green cactus trunk and two raised arms, before the pot and highlights
    The green silhouette, with each painted cell still visible in the grid.
  5. Add the pot and lighter pixels

    In the Color panel’s # field, enter B66B4B for the pot. Paint row 11 across columns 6–12, rows 12 and 13 across columns 7–11, then row 14 across columns 8–10.

    Change the # value to A0C78D. Add a light strip in column 8, rows 4–9. Add two lighter cells in column 5, rows 5–6, and one in column 11, row 7. Use the whole grid in step 3 to count their positions.

    Hide Cactus with its eye button to compare with the blank Background, then show it again.

    A closer grid view of the finished pixel cactus with green arms, lighter green marks and a terracotta pot
    The finished plant, cropped closer so you can read its individual cells.
    Layers panel with Cactus above Background and both eye buttons ringed
    Cactus holds the drawing. Background controls the white behind it.
  6. Save the small master, then enlarge

    Choose File then Save As then Lil Cactus Project… while the canvas is still 16 × 16. This keeps the two editable layers at the drawing’s original size.

    Choose Image then Image Size… Keep Units on Pixels, the chain button linked and Resample on. Resample changes the number of pixels. Set Width to 512; Height follows to 512. Choose Nearest Neighbor in the resampling menu and click Resize.

    This is a 32× enlargement: each original pixel becomes a 32 × 32 block.

    Image Size changing 16 by 16 to 512 by 512 with linked dimensions, Resample on and Nearest Neighbor selected
    Choose Nearest Neighbor before clicking Resize.
  7. Export the PNG, then return to drawing size

    Choose File then Export then PNG…, then click Export. The new file is 512 × 512 px. Choose Edit then Undo to return to the 16 × 16 drawing for your next edit.

    File then Save now updates the project.

Why Nearest Neighbor keeps the palette

Image Size opens with Bilinear selected. At this enlargement it mixes colors along the edges. Nearest Neighbor preserves the drawing’s three paint colors and white background.

Enlarged detail of the cactus edge with uniformly colored square blocks from Nearest Neighbor
Nearest Neighbor: solid pixel blocks, shown enlarged.
The same cactus edge enlarged with Bilinear, with intermediate colors blending across the blocks
Bilinear: colors blend at the edges of the same drawing.

What to make next

Pixel art: questions and answers

Is drawing pixel art the same as pixelating a photo?

No. In Lil Cactus, this method places individual colored cells to draw a sprite. Filter › Pixelate › Pixelate… instead groups the pixels of an existing image into larger blocks.

Can pixel art have a transparent background?

Yes. In Lil Cactus, hide Background with its eye button, shown in step 5, then choose File › Export › PNG… The Cactus layer remains visible without the white paper.

Should I save pixel art as PNG or JPEG?

Use PNG in Lil Cactus to preserve the palette and support transparency. JPEG can introduce extra colors around sharp edges and cannot keep transparency.

Why can’t I see the one-pixel grid?

In Lil Cactus, the minor grid lines in this recipe appear at 800% zoom or higher. View › Extras must be on as well as View › Show › Grid. Grid spacing follows this browser’s preferences, so another browser may show a different grid. The grid is an editor overlay and does not appear in an exported PNG.

Can I undo one Pencil stroke?

Yes. In Lil Cactus, Edit › Undo removes the last Pencil drag or click as one history step. Edit › Redo restores it.

Can I enlarge pixel art by a fractional scale?

Yes, but whole-number multiples give uniform blocks in Lil Cactus. A fractional enlargement can make some original pixels wider than others, even with Nearest Neighbor.