DePauwREU2013 / scales

2 stars 0 forks source link

Add Anti-Aliasing #24

Open mfansler opened 11 years ago

mfansler commented 11 years ago

Now that the stroke has been updated to be scale friendly, aliasing on strokes has become much more obvious.

A simple addition to ScalesPanel.scala could add anti-aliasing:

g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                     RenderingHints.VALUE_ANTIALIAS_ON)

That's pretty straight forward, and I can think of any objections off the top of my head. The only question I have is whether or not it should also be added to Freeze?

I have yet to experiment with it. It could potentially clear up the issue with the iterated fractals tending toward disappearing once the iterations start to go beneath the size of a pixel.