The "Jacquard machine" used punch cards to "program" intricate weaving patterns.

This Jacquard driven loom, circa 1850, is considered an early predecessor of the first computers.
https://arstechnica.com/science/2019...old-for-43750/

This Jacquard driven loom, circa 1850, is considered an early predecessor of the first computers.
https://arstechnica.com/science/2019...old-for-43750/