u/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.org to memes@lemmy.world · 24 hours agoAliasingi.imgflip.comexternal-linkmessage-square8fedilinkarrow-up1170arrow-down18
arrow-up1162arrow-down1external-linkAliasingi.imgflip.comu/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.org to memes@lemmy.world · 24 hours agomessage-square8fedilink
minus-squarewischi@programming.devlinkfedilinkarrow-up4·19 hours agoYou 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.
minus-squareBrewchin@lemmy.worldlinkfedilinkEnglisharrow-up1·22 minutes agoThis is exactly what I came into the comments to say. 😄 I somehow remember the circle algorithm ahem years after learning and using it for anything I could…
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.
This is exactly what I came into the comments to say. 😄
I somehow remember the circle algorithm ahem years after learning and using it for anything I could…