||This article needs additional citations for verification. (November 2009)|
A formicarium is usually an enclosed by a transparent box made of glass or plastic. The first commercially-sold formicarium was introduced around 1929 and patented in 1931 by Frank Austin, an inventor and professor at the Thayer School of Engineering at Dartmouth College. Austin included painted or wooden scenes of palaces, farms, and other settings above the ground level, for a whimsical look.
Formicariums and ant farms are usually made thin enough so the tunnels and cavities made by the ants can be seen and their behavior can be studied. They can be filled with soil, loam, sand, vermiculite, other mineral fragments, or sawdust. Newer formicariums may be filled with semi-transparent gel (pictured above), which provides nutrition, moisture and a medium for the ants to nest but does not supply a source of protein which is essential for the queen and larvae.
Other types of formicariums are those made with plaster, ytong (autoclaved aerated concrete or AAC), or simply with no medium. Plaster nests can be made by placing modeling clay on a glass panel in the form of tunnels and chambers. The plaster is poured onto the mold and when it has dried the clay is removed and the remaining structure can be used for housing ants. The ants in this type of formicarium are very easily seen. Mediumless formicariums can be in any container, with the ants staying in moist test tubes or other small containers. This also allows for better visibility, but can be less interesting because no digging takes place.
Whether ants dig or not (e.g. tree ants) a formicarium can be designed so that it is free-standing, and not enclosed or lidded like a vivarium. A free-standing design does not require high walls and a lid, but rather relies on barriers to secure the ants within their habitat; barriers include those listed below, and may include a moat of vegetable oil.
Often, containing ants inside a formicarium can be a challenge. Several substances are used to repel the ants, including vegetable oil, petroleum jelly, or PTFE. They are applied to the side of the formicarium to prevent escape. These substances are generally too slippery or sticky for the ants to walk on. Despite this, some species of ants can build bridges of debris or dirt on the substance to escape, while others demonstrate that some individuals can walk on the substance without impedance. A formicarium owner may well make use of two or more security measures.
Another way of preventing the ants from escaping is to place the entire formicarium in a shallow container of water, creating a moat.
For the first 3 days, a formicarium owner has to let the ants get used to their new environment. This can be done by putting a black towel over the formicarium. However, some formicarium owners shake their formicarium every few days so the tunnels cave in. This practice allows owners to reset the formicarium and observe their ants dig tunnels all over again. This practice, however, is done at the owner's (and his/her ants) risk, as it may compromise the safety of the ants.
Popular culture 
The fact that the term "ant farm" is covered by a trademark received notoriety when Scott Adams, the creator of the Dilbert comic strip, used the phrase in one of his comic strips. Upon using the term "ant farm", Adams subsequently received threatening letters from Uncle Milton industries' attorneys, demanding a retraction for the unauthorized use of the phrase "ant farm" in his comic strip.
In reaction to the legal threat, Adams satirized the incident in a later comic strip. In that strip, Dilbert asked for a substitute for the trademarked phrase "ant farm", looking for another word for "a habitat for worthless and disgusting little creatures." To which the character Dogbert replied "Law school." 
A Disney Channel TV Series is called A.N.T. Farm.
How to make an ant Formicarium/Farm 
Check out the video. https://www.youtube.com/watch?v=HQEar1JLR5E
See also 
- Stacy Cowley (March 07, 2007). "'Dilbert' Creator, Open-Source Maverick Address EclipseCon". CRN.
- Scott Adams, "Dilbert," United Feature Syndicate, Inc., December 30, 1995