Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Marching ants
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{for|the Dave Matthews Band song|Ants Marching}} {{one source|date=October 2015}} [[Image:Marching ants sample anim.gif|frame|An example of a rectangle using marching ants]] The '''marching ants''' effect is an animation technique often found in [[selection (image editing)|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 (structure)|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]]. [[Image:Marching ants patterns.png|frame|Eight pixel patterns 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 == With the selection problem in mind, Bill Atkinson went to his favorite [[pub]] in [[Los Gatos, California|Los Gatos]], California. 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 [[Apple Lisa|Lisa]] team, who told Bill the effect reminded him of "marching ants".<ref> [https://www.folklore.org/StoryView.py?project=Macintosh&story=MacPaint_Evolution.txt MacPaint Evolution] at folklore.org</ref> == References == <references/> == External links == * [https://web.archive.org/web/20160419062035/https://banu.com/blog/24/fun-with-marching-ants/ Fun with marching ants] describes another scheme for generating the marching ants pattern {{DEFAULTSORT:Marching Ants}} [[Category:Graphical user interface elements]] [[Category:History of computing]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:For
(
edit
)
Template:One source
(
edit
)