Inspiration
Developing blockchain based art (NFTs) using software seemed intriguing to the team, but we wanted to find a unique and impactful use case.
What it does
Ohm's Plumbing transforms the standard SPICE circuit schematic file type into a uniquely generated, animated piece of plumbing art. The art style leverages the age-old comparison drawn between pipework and Ohm's law to produce a piece that is not only interesting to look at, but one that useful in understanding electronics.
How we built it
Using Python, we developed a SPICE file parser, a unique generation algorithm for placing the circuitry in 2D space, a "pipe" (wire) routing algorithm, and a graphic rendering application using OpenCV.
Challenges we ran into
Routing wires efficiently from each component in 2D space was definitely the biggest challenge. The algorithm has a lot of conditionals to ensure no routes are crossed as well as maintaining the rotation of pipes to show seamless flow.
Accomplishments that we're proud of
Being able to successfully map some basic test examples of RC circuits as well as a more complex example. Uploading our generated Ohm's Plumbing art to OpenSea as NFTs!
What we learned
We need sleep to function!
What's next for Ohm's Plumbing
Further refining the routing algorithm to fail less. As well as adding the ability to use more circuit components.
Log in or sign up for Devpost to join the conversation.