Function diffuse_atkinson

Source
pub fn diffuse_atkinson(
    data: &mut [u8],
    width: i32,
    height: i32,
    x: i32,
    y: i32,
    depth: i32,
    error: i32,
) -> Result<()>
Expand description

Atkinson’s Method

Col0Col1Col2Col3
curr1/81/8
1/81/81/8
1/8