[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Antialiased circle



Maybe someone could translate from Java?
http://www.databasesandlife.com/anti-aliased-polygon-filling-algorithm/



On Wed, Jan 18, 2012 at 5:42 AM, Christopher Night
<cosmologicon@xxxxxxxxx> wrote:
> On Tue, Jan 17, 2012 at 8:42 PM, Lenard Lindstrom <len-l@xxxxxxxxx> wrote:
>>
>> If someone can provide an algorithm that everyone is happy with then I
>> will look at adding
>> filled anti-aliased circles to Pygame. Personally, I am tired of searching
>> the web for such
>> an algorithm myself.
>
>
> I haven't really thought about this, but I suspect what you really want is
> an algorithm for a filled anti-aliased polygon. The filled AA circle can
> probably be defined in terms of a filled AA polygon. But I don't have an
> algorithm for the filled AA polygon handy either....
>
> -Christopher



-- 
www.fladd.de - fladd.de: Homepage of Florian Krause
blog.fladd.de - fladd's Blog: Blog of Florian Krause
intermezzo.fladd.de - Intermezzo: Music by Florian Krause and Giacomo Novembre