[Offtopic, hopes its alright] Which drawing program are you using now, and what kind of drawing program do you need this circle code for? I have been thinking about doing a DeluxePaint like windows version with fixed palette (256 colors and less) and geared towards pixel pushing, but I do not know if there is any need for such program. I have the basic framework for it coded, but still needs various tools coded.
Naw this is still on the topic I think. There is quite a need for this. MS Paint does everything I want except draw proper circles every time. If you really wanted to add some cool feaures you might look into making some pixel art isometric construction tecniques. Things like constructing an isometric cube or perhaps inscribing an isometric ellipse within the faces of said cube. The biggest complaint in isometric is the lack of good circles. Nobody quite knows how to construct them well. They just poke around and guess at what they might look like. I made a program that drew rotated ellipses but again they came out like my horrid polygonal and malformed circles. Some default dithering fills would be cool too. The biggest aspect of pixel art is visual correctness over mathmatical accuracy. The circles being a prime example. The isometric grid has lines that go up one pixel and over two the angle formed might repeat I don't know but it is best to just think in terms of rise and run rather than the angle formed.
Thoughts
Most images are saved as .png (lossless formats only)
Sometimes artists use hue shifts within light gradients (could be tinkered with in a color chooser)
Shape tools cannot produce clusters of three or more pixels except at intersections
Probably more little things too here is a simple (very) scene based on the pixel artist's isometric projection
The grid lines have a projected slope of 1/2. It would be really cool to have a tool that produced isometric circles, many times you might want to make a pipe coming out of a wall or other such things and it is very hard to freehand correctly. Imagine a cube drawin in this perspective with a circle on each face. I've solved the code myself but sadly the isometric circles always had clusters of pixels because I was using a polygon with center point algorithem. An isometric ellipse has an axis ratio of 2:1. Paint can do everything I need as a pixel artist except produce some isometric calculation and circles. Should you build such a pixel art program you may he hailed as some sort of a diety by thousands. So basically your paint program should be like MS Paint with some artist friendly features built in.
Annnnnnyyyyyywayyyyyy the scene: