u/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.org to memes@lemmy.world · 7 months agoAliasingi.imgflip.comimagemessage-square11fedilinkarrow-up1226arrow-down18
arrow-up1218arrow-down1imageAliasingi.imgflip.comu/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.org to memes@lemmy.world · 7 months agomessage-square11fedilink
minus-squarewischi@programming.devlinkfedilinkarrow-up9·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…