Puppetry of machines