patterns — dither

generator verdict no votes yet
source — color/gen_e.g03_dither
def g03_dither(rng):
    """Ordered 8x8 Bayer dither between adjacent ramp steps."""
    steps = rng.randint(4, 6)
    c = Canvas(rng.choice([40, 50]), _pal(rng), steps, "dither", "mosaic")
    c.ground_from(Field(rng, rng.choice(["linear", "mesh"]),
                        warp=rng.uniform(0.1, 0.35), steps=steps), dither=True)
    return c
dither-mosaic-50-3949
dither-mosaic-50-3949
dither-mosaic-40-3640
dither-mosaic-40-3640
dither-mosaic-50-16fb
dither-mosaic-50-16fb
dither-mosaic-40-d291
dither-mosaic-40-d291
dither-mosaic-50-5fa4
dither-mosaic-50-5fa4
dither-mosaic-50-859d
dither-mosaic-50-859d

generator