Przejdź do treści
Biblioteka skilli
Projektowanie i UX · Budowanie i kod

pixel-dithering

/pixel-dithering

Dopracowuje istniejący pixel art w Aseprite: dithering, krzywe antyaliasingu, palety oraz tekstury materiałów, np. metalu, kamienia czy drewna.

Licencja
MIT
Ostatnia zmiana repozytorium
07.11.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 07.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Dopracowuje istniejący pixel art w Aseprite: dithering, krzywe antyaliasingu, palety oraz tekstury materiałów, np. metalu, kamienia czy drewna.

Oryginalny opis (EN)

Use when refining or polishing existing pixel art in Aseprite with the aseprite MCP tools - dithering (ordered/Bayer, patterns, gradients), anti-aliasing curves, hue-shifted shading, colour ramps, limited or retro palettes, contrast and readability, or material textures like metal, stone, wood, fabric and glass.

Jak działa

  1. Dithering
  2. Anti-aliasing (AA)
  3. Shading with colour
  4. Materials
Sekcje z nagłówków SKILL.md, w oryginale · 58 linii, 523 słów
Podgląd SKILL.md
---
name: pixel-dithering
description: Use when refining or polishing existing pixel art in Aseprite with the aseprite MCP tools - dithering (ordered/Bayer, patterns, gradients), anti-aliasing curves, hue-shifted shading, colour ramps, limited or retro palettes, contrast and readability, or material textures like metal, stone, wood, fabric and glass.
---

# Dithering, anti-aliasing and colour

## Dithering

Dithering mixes two colours with a pixel pattern to fake a third colour or a gradient.

**When to use it:**
- **Big, flat areas** at 48 px and up, such as skies, large shadows and backgrounds.
- **Tight palettes** of 4–16 colours that need more tones.
- **Textures:** stone, sand, fabric.

**When not to:**
- **Sprites under 32 px.** It reads as noise.
- **Characters' faces, or anything that moves.** It shimmers between frames.
- **Places a third palette colour would do better.** Prefer a ramp step over dithering.

**Tools:**

| Need | Tool |
|---|---|
| Gradient between two colours | `apply_dither_gradient(..., color_start, color_end, horizontal)`. This is ordered Bayer 4×4. |
| Even texture or mix | `apply_dither_pattern(..., color_a, color_b, density)`. Density 0.5 is a checkerboard; 0.25 and 0.75 are sparse dots. |
| Hand-placed pattern | `draw_rows` with the pattern spelled out. See the [pattern reference](patterns.md). |

**Rules:**
- **Dither only between neighbouring ramp colours.** Two distant colours look like a grid, not a blend.
- **Keep the transition band narrow,** 2–6 px. The solid areas carry the form.
- **Never dither across an outline or a silhouette edge.**

## Anti-aliasing (AA)

AA puts intermediate colours where a curve or diagonal steps, to soften the jaggies.

- **Use it only on internal lines and large curves, at 32 px and up.** Leave the outer silhouette against a transparent background hard. AA'd edges show halos on other backgrounds.
- **Place one AA pixel** in the inside corner of each step, coloured between the line and the fill. For long steps use 2 px: a lighter one and a darker one.
- **Check the result** with `view_sprite` (region zoom). AA that makes a line look thicker is wrong, so remove it.

## Shading with colour

- **Build every material's ramp** with `generate_color_ramp(base, steps=3-5, hue_shift_degrees=15-30)`. The shadows lean toward blue or purple, and the highlights toward yellow or orange.
- **Push contrast between materials** with lightness, not only hue. A quick check: `adjust_hsl(saturation_shift=-1)` on a copy shows whether the art reads in greyscale.
- **For mood shifts** (night, poison, a hit flash), use `adjust_hsl` on a layer, or `replace_color` / `remap_colors_in_cel_range` across frames.
- **Fitting a retro palette:** apply it with `apply_palette_preset`, then `quantize_to_palette`. Fix the spots that went muddy by hand, using colours from the same ramp.

## Materials

| Material | How it reads |
|---|---|
| Metal | High contrast. A hard, sharp highlight next to a deep shadow. Reflected light on the shadow edge. |
| Stone | Low contrast. Clustered texture, sparse dither or 2–3 px clumps, chipped edges. |
| Wood | Grain lines along the plank, in a darker step. Knots are small ellipses. |
| Fabric | Soft gradients, folds as curved darker bands, vertical-line texture for weave. |
| Glass / water | Mostly the background showing through. Bright specular dots, edge highlights, a little tint. |
| Skin | A 3–4 step warm ramp with reddish shadows. No dithering. |

After any polish pass, call `get_color_stats` to keep the palette tight, and `lint_sprite` to catch stray pixels.
Pliki w paczce (2)
  • SKILL.md 4 KB
  • patterns.md 2 KB

Wersje

W bazie nie ma innych skilli o nazwie pixel-dithering.

Migawka bazy z 13.11.2026 · wersja paczki aead206f63fb (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 95gamedev-2d-art-pixel-art-fundamentals
    Opisuje podstawy pixel artu: wybór rozdzielczości, zasady antyaliasingu, dithering, filozofię konturów, zasady subpikseli i typowe błędy, jak pillow shading.
  • 90aseprite
    Rysuje i edytuje pixel art, sprity, animacje klatkami, warstwy i palety w lokalnym Aseprite.
  • 100pixel-art
    Rysuje nieruchomy sprite, scenę, ikonę lub kafelek pixel art w Aseprite przez narzędzia MCP: rozmiar, paleta, cieniowanie i kontur.
  • 95spriteware
    Rysuje, edytuje, sprawdza i eksportuje pixel art w Aseprite przez narzędzia MCP, łącznie z paletami i gotowymi PNG do gier.
  • 81setup-pixel
    Sprawdza projekt gry 2D i proponuje adapter MCP do automatyzacji grafiki pixel art w Aseprite albo alternatywy.
  • 90sprite-export
    Eksportuje pixel art z Aseprite do PNG, GIF, arkuszy sprite'ów i atlasów dla Unity, Godota, Phasera i mediów społecznościowych.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.