Neat! This was so fun to learn about, thank you for sharing. Xiaolin Wu did not live in vain after all, because of nerds like us
:)
anti aliasing is overrated, i like my pixels nice and crispy
I can see that. Speaking as someone who used to do the majority of my graphics programming in good old mode 0x13 (320x200x8bpp, indexed) I know the appeal well enough. Mayhaps it’s just my inner Signal Engineer always hankering for proper band limiting.
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…
My favorite is the 4th from the right.
That has character!I don’t get it.
Is the point that the lines are diagonal, rather than vertical or horizontal?
Is it that a proper tool would have anti-aliased them?
Is it that the rightmost lines have been scaled up so have fatter pixels than the others (anisotropically in one case I think)?
Neither. It’s about using screen pixels to make vertical/horizontal lines, using aliasing as feature.
Why would you want to make horizontal or vertical lines in this way except to make a diagonal one?
Why are the last two lines scaled?




