Preview of Impossible MachinesOpen impossiblemachines.xyz

impossiblemachines.xyz

Impossible Machines

An interactive prototype exploring declarative programming for the physical world. Users demonstrate a desired effect, and the system generates a mechanism via a constraint solver.

Visit project

Show me a random project

First shared
Oct 22, 2026
HN activity
8222

Show HN@bhaprayanOct 22, 2026

Show HN: Impossible Machines: declaratively program the physical world

Hey all — Sharing a thought experiment I put together. The premise: what might declarative programming feel like for the physical world? We’re already familiar with this paradigm in software land (eg SQL etc where we declare what we want and the execution engine figures out how). I didn’t have access to an actuator so I mocked up the concept in software. The way it works is you demonstrate the effect and the system figures out how to achieve it. So say you want to ring a bell and you have a crank. The system will find a way to connect the two. If you add obstacles it figures out how to work around them (runs a constraint solver runs behind the scenes). I think what’s interesting about this is being able to think about the problem at a higher level of abstraction, with the system figuring out a way to achieve the intended effect. Anyways, curious to read reactions, feedback, and interesting ideas on how to extend this!

Community

Hacker News discussion

Loading the thread…