Find the word definition

Wiktionary
marching ants

n. (context computing graphical user interface English) An animated dotted line indicating which portion of an image is currently selected.

Wikipedia
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.

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 aren't parallel to the coordinate axes.

Usage examples of "marching ants".

Damp, fetid, unhealthy, it was a kingdom of lizards, snakes, and insects, many of which, even the marching ants, seemed to conspire to drive out the people.

Already they are scaling the bank at many points, thick as marching ants.

They would see a flight of birds circle more than once and predict a storm, or draw a finger through a line of marching ants, count how long it took for the ants to rejoin their line, and predict how many days of fair weather lay ahead, and never mind that it did not work out that way.

Jorval slowed, then stopped the scout, and gradually zoomed in on the marching ants.