Shockingly enough, there have been numerous books published on the subject. Although there are no confirmed cultural origins, the first known depiction was in a Book of Hours currently held at Koninlijke Bibliotheek in The Hague.
Previous thread on the subject here.