u/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.org to memes@lemmy.world · 7 months agoAliasingi.imgflip.comimagemessage-square11linkfedilinkarrow-up1219arrow-down18
arrow-up1211arrow-down1imageAliasingi.imgflip.comu/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.org to memes@lemmy.world · 7 months agomessage-square11linkfedilink
minus-squarewischi@programming.devlinkfedilinkarrow-up8·7 months 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·7 months 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…