A weaver fell in love with a princess he had glimpsed from afar. He was a craftsman - clever with his hands, good with mechanisms - and he had no path to a princess.
He built a mechanical contraption: a wooden bird, large enough to ride, with wings that flapped when pedaled from inside, capable of lifting and carrying one person through the air.
On a festival night when the princess went to the roof to worship the gods, the weaver flew his contraption to her roof. He appeared as if from the sky, dressed in royal clothes. He told her he was Vishnu himself, come to earth to marry her.
She believed him. They met in secret many nights.
Eventually the king discovered that someone was secretly meeting his daughter. He had the palace guarded. When the weaver came again and was discovered, the king prepared to have him executed.
The weaver thought quickly. He said: "Great King, I am a celestial being. I came in this form to test your daughter's virtue. She is pure and worthy of the gods. I am returning to heaven now."
He jumped in his wooden bird and flew away.
The king, unable to know what to believe, left the matter to the gods. The princess kept her secret.