Marching ants

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 slowly walk 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 effect resembles the chaser lights of a marquee, and this term can be considered a synonym. Popular graphics programs, such as 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 aren't 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 the "Hamm's" beer sign. The beer sign was composed 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


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Ants Marching — Single infobox Name = Ants Marching Artist = Dave Matthews Band from Album = Under the Table and Dreaming Released = 1995 Format = CD single Recorded = Bearsville Studios, Bearsville, NY Genre = Rock Length = 4:31 (6:08 on R2T) Label = Bama Rags… …   Wikipedia

  • The Ants Go Marching One By One — is a popular children s song of unknown authorship, sung to the tune of the American Civil War song When Johnny Comes Marching Home . Another commonly sung children s song is The Animals go in Two by Two (based around the Noah s Ark story) sung… …   Wikipedia

  • When Johnny Comes Marching Home — Couverture de la partition, 1863. When Johnny Comes Marching Home (ou When Johnny Comes Marching Home Again) est une chanson populaire de la Guerre de Sécession qui exprime le désir des personnes à voir leurs amis et leurs familles revenir de la… …   Wikipédia en Français

  • Iowa State University Cyclone Marching Band — CollegeMarchingBandInfoBox bandname=Iowa State University Cyclone Football Varsity Marching Band logo= nickname=The Pride of Iowa State school=Iowa State University location=Ames, Iowa conference=Big 12 Conference founded=1881 director=Matthew O …   Wikipedia

  • When Johnny Comes Marching Home — Infobox Standard title=When Johnny Comes Marching Home comment= image size= caption=Cover, sheet music, 1863 writer=Louis Lambert composer= lyricist= published= written= 1863 language=English form= original artist= recorded by= performed by= When …   Wikipedia

  • Pup on a Picnic — Infobox Hollywood cartoon cartoon name = Pup on a Picnic series = Tom and Jerry caption = Title card of Pup on a Picnic . director = William Hanna Joseph Barbera story artist = William Hanna Joseph Barbera animator = Ray Patterson Kenneth Muse Ed …   Wikipedia

  • antbird — /ant berrd /, n. any of numerous passerine birds of the family Formicariidae, of the New World tropics, many species of which follow army ant swarms to feed on insects disturbed by the ants. [ANT + BIRD] * * * ▪ bird family Sy Montgomery… …   Universalium

  • Bill Atkinson — (born 1951) is an American computer engineer and photographer. Atkinson worked at Apple Computer from 1978 to 1990. He received his undergraduate degree from the University of California, San Diego, where Apple Macintosh developer Jef Raskin was… …   Wikipedia

  • Destino — For the 1996 novel, see Un destino ridicolo. Destino Directed by Dominique Monféry Produced by Baker Bloodworth Roy E. Disney …   Wikipedia

  • Marquee — may refer to: A large tent, open sided and installed outdoors for temporary functions Marquee , a song by Superchunk from their 1997 album Indoor Living Marquee Cinemas, a movie theater chain in the United States The Marquee Club, commonly called …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”