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