I'm not sure if my obsession to find the perfect antialiasing is becoming pathologic, but I must confess that I spend half this day with programming my own line drawing function. I'm not that mental yet to start completely from scratch, no, I found some solid groundwork in Hugo Elias' adaption of Xiaolin Wu's Algorithm.
What caused me to do this was that the lines that Processing draws with its own method simply didn't cut it when I needed them antialiased and almost transparent - the result always reminded me of a very refined version of potato print.
So in the end I managed to write a very ugly looking method that creates pretty pretty antialiased semi-transparent lines and is even faster than the native version. Something that I probably could have found in zillions of places as a free download - had I only searched a little bit longer.Posted at February 13, 2005 11:27 PM | Further reading