Antialiasing

AliasedCircle

Because even high-resolution computer monitors have a relatively small number of pixels, when graphics or text display distinguish between individual pixels. The result is that purportedly smooth curves are often rendered with jagged edges. This "jagged-edge" effect is called aliasing, and removing it is thus called antialiasing. For example, consider the approximation to a circle illustrated above, which is magnified three times. As can be seen, the sides of the circle are not smooth, but jagged and ugly.

AntialiasedCircle

The simplest, and most common, way to antialias an image is to render the graphic at a higher resolution, and then decrease its size to the original with a scaling filter. This emulates a higher-resolution display by using more than two colors in the graphic (there will be shades of gray on the edges as well). The additional colors smooth the edges to a great extent. A close-up of an antialiased edge is illustrated as well.

AntialiasedCircles

The graphics above show a comparison of figures at varying levels of anti-aliasing. The annuli were rendered at 1, 2, 4, and 8 times the resolution of the original, respectively. Note that this method of antialiasing causes an exponential increase in computational time (e.g., the last figure took 64 times as long to render as the first).

AntialiasedCubes

Antialiasing of three-dimensional graphics can also be performed in exactly the same fashion, as shown above. The figure above compares the magnified edges of the cubic structure.

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.