Logicarium Documentation
A node-based logic gate editor and simulator
Welcome to the Logicarium documentation! Build digital logic circuits visually or through code.
New to Logicarium?
Start with the Quick Start guide to build your first circuit in under 60 seconds.
Getting Started
Installation
Download and set up Logicarium on your system
Quick Start
Build your first circuit in 60 seconds
Tutorial
Step-by-step guide to building circuits
UI Overview
Learn the interface and controls
Scripting
DSL Reference
Complete script syntax documentation
Custom Gates
Define reusable gates with define...end
Examples
Copy-paste ready circuit templates
Keybindings
Keyboard shortcuts reference
Libraries & Files
Gate Libraries
Save and load custom gate collections
File Formats
Technical reference for .bps and .bin files
Resources
Demos
Showcase circuits and examples
FAQ
Frequently asked questions
Troubleshooting
Common issues and solutions
Quick Reference
Built-in Gates
| Gate | Inputs | Outputs | Description |
|---|---|---|---|
AND | 2 | 1 | Output HIGH if both inputs HIGH |
NOT | 1 | 1 | Inverts the input |
In | 0 | 1 | Interactive input (switch/button) |
Out | 1 | 0 | Visual output (LED) |
Basic Syntax
// Define a node
Type name @ x, y [flags]
// Connect nodes
source.out -> target.in
// Define a custom gate
define GateName(in1, in2) -> (out1):
out1 = in1 AND in2
endFunctional Completeness
With just AND and NOT, you can build any digital circuit:
// OR gate using De Morgan's Law
define OR(a, b) -> (out):
na = NOT a
nb = NOT b
t = na AND nb
out = NOT t
end
// From here, build XOR, MUX, adders, even a CPU!