• wischi@programming.dev
    link
    fedilink
    arrow-up
    3
    ·
    2 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.