Marching Ants
An example of a rectangle using marching ants

The marching ants effect is an animation technique often found in selection tools of computer graphics programs. It helps the user to distinguish the selection border from the image background by animating the border. The border is a dotted or dashed line where the dashes seem to move slowly sideways and up and down. This creates an illusion of ants marching in line as the black and white parts of the line start to move. Some prefer the term marquee selection, as the effect resembles the chaser lights of a marquee, and this term can be considered a synonym. Popular graphics programs, such as the GIMP and Adobe Photoshop, implement their selection tools using the marching ants effect. The technique was first widely used by the MacPaint program developed by Bill Atkinson.

Eight 8x8 pixel patterns (displayed in larger swatches) that can be used to produce marching ants

The easiest way to achieve this animation is by drawing the selection using a pen pattern that contains diagonal lines. If the selection outline is only one pixel thick, the slices out of the pattern will then look like a dashed line, and the animation can easily be achieved by simply shifting the pattern one pixel sideways and redrawing the outline. The method has the disadvantage of not looking like marching ants with selection borders that are not parallel to the coordinate axes.

Origin of this idea

With the selection problem in mind, Bill Atkinson went to his favorite pub in Los Gatos. Something on the wall caught his attention. It was an electric Hamm's Beer sign. The beer sign consisted of an illuminated scene of a kind of animated waterfall. Water seemed to flow down the waterfall into the lake. Bill figured that this effect could solve his problem because it is easily recognizable.

He implemented the idea and showed it to Rod Perkins from the Lisa team, who told Bill the effect reminded him of "marching ants".[1]

References

  1. ^ MacPaint Evolution at folklore.org

External links


  This article uses material from the Wikipedia page available here. It is released under the Creative Commons Attribution-Share-Alike License 3.0.

Marching_ants
 



 

Connect with defaultLogic
What We've Done
Led Digital Marketing Efforts of Top 500 e-Retailers.
Worked with Top Brands at Leading Agencies.
Successfully Managed Over $50 million in Digital Ad Spend.
Developed Strategies and Processes that Enabled Brands to Grow During an Economic Downturn.
Taught Advanced Internet Marketing Strategies at the graduate level.


Manage research, learning and skills at defaultlogic.com. Create an account using LinkedIn to manage and organize your omni-channel knowledge. defaultlogic.com is like a shopping cart for information -- helping you to save, discuss and share.


  Contact Us