u/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.org to memes@lemmy.world · 23 hours agoAliasingi.imgflip.comimagemessage-square8linkfedilinkarrow-up1172arrow-down18
arrow-up1164arrow-down1imageAliasingi.imgflip.comu/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.org to memes@lemmy.world · 23 hours agomessage-square8linkfedilink
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·14 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…