puqeko / circuits

Fast circuit diagram input, using only the keyboard.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Circuits

Idea for a way to quickly input circuit diagrams with only a keyboard. Made with Processing.

2017-04-22 at 11 02 53 pm

Controls

  • You start in selection mode. Use the arrow keys to move the square cursor.
  • Space to enter drawing mode.
  • Select a component type with the following keys
    • Resistor r
    • Capacitor c
    • Inductor l
    • Battery Cell b
    • Open Circuit o
    • Voltage source v
    • Dependant voltage source ShiftV
    • Current source i
    • Dependant current source ShiftI
    • Bipolar Junction Transistor t
    • Feild Effect Transistor f
    • Ground g
    • Wire ; (Default)
  • Use the arrow keys to set the ending position for the current component, then Space to place it.
  • Some components will enter label mode to enter a value or variable name. Use the arrow keys or enter key to continue to draw mode.
  • Exit drawing mode with ESC or Enter to go back to selection mode. Certain components, such as an open circuit, will exit to selection mode automatically.

Use u for undo, and ShiftR to redo.

Press p for a black and white screen shot, and ShiftP for a screen shot with transparency.

Press a key multiple times for similar components, e.g. press b twice for a two-cell battery, or t twice to change between a PNP and NPN transistor.

You may use the wasd keys instead of the arrows, however you will not be able to exit label mode with these keys.

To do

  • Toggle the terminal a multi terminal device starts on
  • Auto move selection to terminal point
  • Add floating notes
  • Crop exported image so that circuit sits in screen center
  • Make inductor symbol more fancy
  • Try implementing super sampling for better image quality

About

Fast circuit diagram input, using only the keyboard.


Languages

Language:Processing 100.0%