This example page shows a circuit simulation using constraints. Drag parts from the pane on the right into the white area. Click and drag from the connector ends to connect the parts. You can edit the ohms and volts directly in the parts, and the simulation will update. This simulation uses an older syntax in its implementation, because it is written in plain JS files instead of the ObjectEditor. The constraints are written inside functions that are passed to bbb.always. The implementation is here
Circuits
X

Menu
100 ohms
16 volts
0
V
0
A
Clear
help