• wischi@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    28 days ago

    You should use the Bresenhams Line Algorithm for aliased lines instead of just marking all pixels the underlying line touches because that leads to thickness inconsistencies.