In Japan, complex animal and human automata were built between the 17th to 19th centuries, with many described in the 18th century "Karakuri zui" ("Illustrated Machinery", 1796). One such automaton was the karakuri ningyō, a mechanized puppet. Different variations of the karakuri existed: the "Butai karakuri", which were used in theatre, the "Zashiki karakuri", which were small and used in homes, and the "Dashi karakuri" which were used in religious festivals, where the puppets were used to perform reenactments of traditional myths and legends.