2026-10-17 10:49:38 +00:00
< script setup lang = "ts" >
const ed = useEditor ( )
const SHORTCUTS : [ string , string ] [ ] = [
R saves like a game: one save per project on every device, Load game in the menu, a pause menu, and a lean side panel
- Sync: when two devices changed the same project, the newer save wins
everywhere and the other becomes a savegame of it (new endpoint to keep
a savegame without replacing the save), never an "(other device)" copy.
A first visit keeps its starter unsaved until something changes, and
the main menu waits for the account's saves before anything starts.
- Main menu: Load game lists every save. In the editor, Esc with nothing
selected (or the project button) opens a pause menu: Resume, Save,
Save as copy, Load, Settings, How to play, Main menu. The projects
dialog is gone.
- Selection tab: name and transistors on top, one icon row (open,
duplicate, unlink, delete, more = the right-click menu), only the
settings that matter for the part; pins, component tools, keys, cable
and panel options fold away and remember it. X/Y fields removed.
The Circuit tab folds its component settings, transistor breakdown
and tools the same way.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 16:36:17 +00:00
[ 'Esc (nothing selected)' , 'Pause menu: save, save as copy, load, settings, main menu' ] ,
A settings for every part, overlap-free wiring with crossing styles, accounts with sync
- Clicking anything opens its settings: swap parts in place (wires stay on
matching pins), clock frequency per clock, keyboard keys for switches and
buttons, lamp/display colours, note sizes, component names on the canvas,
position, unlink all wires, unpack a component, make an independent copy.
- Wires of different signals never share a line: auto routes pick free
columns or detours, remaining clashes go on separate lanes. Crossings drawn
as bow, triangle, bridge, gap or plain.
- Accounts (email + scrypt password, httpOnly session) with two-way project
sync and conflict copies; per-account limits; cross-site writes refused.
- Compatibility suite: a project and both browser-storage layouts from
release a241adc must load and compute identically.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-20 11:09:37 +00:00
[ 'Click switch' , 'Flip an input between 0 and 1 (give it a keyboard key in its settings)' ] ,
R Panels: This and Pins on the left, the selection on the right
The left panel is about the circuit you are in: This (challenge and
Check on top, problems, name, statistics, truth table, as a component,
transistors, tools) and Pins. The selection gets its own panel on the
right, there only while something is selected, with its settings and
actions such as making a component out of it. The bars follow the
canvas width and drop labels when it gets narrow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:38:17 +00:00
[ 'Click anything' , 'A panel on the right shows its settings and what you can do with it: swap the part, clock speed, colours, keys, position' ] ,
A right panel in tabs, Pins list, bulk editing, transistor breakdown, Settings dialog
- Right panel tabs: Selection, Circuit, Pins, Test. Display and sound
preferences move to a Settings dialog (gear in the top bar).
- Pins tab: every input and output in pin order with live values; rename in
place (Enter goes to the next), number a whole side from a pattern, flag
duplicate names, centre the canvas on a part.
- Several selected parts: narrow by type, swap all, rename all from a
pattern, set switches to 0/1 or flip, shared colour/frequency/size, align
and spread.
- Transistors on every part (NAND 4, switches and lamps 0), NAND 4T in the
palette, and a per-part breakdown of the circuit. Test: the count equals
4 x the gates the simulator builds, for every example and wide gate.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 07:29:55 +00:00
[ 'Select several' , 'Change them all at once: swap, rename D0, D1, …, switch all to 0 or 1, line up' ] ,
R Panels: This and Pins on the left, the selection on the right
The left panel is about the circuit you are in: This (challenge and
Check on top, problems, name, statistics, truth table, as a component,
transistors, tools) and Pins. The selection gets its own panel on the
right, there only while something is selected, with its settings and
actions such as making a component out of it. The bars follow the
canvas width and drop labels when it gets narrow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:38:17 +00:00
[ 'Pins (panel on the left)' , 'Every input and output in one list: rename them one after another with Enter' ] ,
A input panels, automatic names, one-by-one wiring, tidy routing, truth table export
- Input panel part: rows of switches, buttons and clocks. "Attach input
panel" docks one to a component with a row per free input; it moves
with the component and follows its pins.
- Copies and new pins continue name series (D0 -> D1, A -> B); unnamed
switches, lamps and pins take the name of the component pin they are
wired to.
- Connecting: target pins are ringed, dropping on a part uses its next
free pin, click-then-click works, and "Connect one by one" (W) wires a
selection's pins in turn.
- Tidy wiring option and "Tidy all wires": sorted, evenly spaced columns
per gap, one trunk per signal, fewer crossings.
- Truth table full screen, CSV download, copy as Markdown, current row
highlighted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 17:17:25 +00:00
[ 'Drag from a pin' , 'Draw a wire to another pin; dropping it on a part uses that part’ s next free pin' ] ,
[ 'Click a pin, then another' , 'The same without holding the mouse button' ] ,
2026-10-23 11:11:19 +00:00
[ 'Shift + click (or let go) on a pin while wiring' , 'Connects it and keeps wiring from the same signal: click more pins, Esc stops' ] ,
A input panels, automatic names, one-by-one wiring, tidy routing, truth table export
- Input panel part: rows of switches, buttons and clocks. "Attach input
panel" docks one to a component with a row per free input; it moves
with the component and follows its pins.
- Copies and new pins continue name series (D0 -> D1, A -> B); unnamed
switches, lamps and pins take the name of the component pin they are
wired to.
- Connecting: target pins are ringed, dropping on a part uses its next
free pin, click-then-click works, and "Connect one by one" (W) wires a
selection's pins in turn.
- Tidy wiring option and "Tidy all wires": sorted, evenly spaced columns
per gap, one trunk per signal, fewer crossings.
- Truth table full screen, CSV download, copy as Markdown, current row
highlighted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 17:17:25 +00:00
[ 'Select parts, then W' , 'Connect one by one: click where each of their pins goes, in order (Shift+W: their inputs)' ] ,
A component faces, project library with share links, fine-grained wire editing
- Lamps and hex displays inside a component show on its box with their
labels, lit by that instance's state; Counter 4 example shows its count.
- Several projects per browser; share links at /p/<id> that the creator's
edits save to automatically, others get their own copy. Export, open a
file as project, or add a file's components to the open project.
- Wires: drag any segment or corner, Alt+drag for a new bend, Ctrl+drag to
branch, double-click selects the whole signal, multi-select, arrow keys,
colour tags.
- Share-link API (POST/GET/PUT /api/p) on Nitro fs storage in data/, mounted
as a volume on edgerealm.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-17 11:21:49 +00:00
[ 'Drag a wire segment' , 'Move that segment; drag a corner square to move a bend' ] ,
[ 'Alt + drag a wire' , 'Pull a new bend out of it' ] ,
[ 'Ctrl + drag a wire' , 'Start a new wire from the same signal' ] ,
[ 'Double-click a wire' , 'Select the whole signal' ] ,
[ 'Shift + click' , 'Add parts or wires to the selection' ] ,
[ 'Arrow keys' , 'Move the selection one step (Shift: four)' ] ,
2026-10-26 17:21:34 +00:00
[ 'Drag several parts' , 'Wires between them keep their shape; a wire to a part that stays keeps its bends while they stay clear of parts and other wires' ] ,
2026-10-17 10:49:38 +00:00
[ 'Double-click a component' , 'Open it and see inside' ] ,
2026-10-21 09:08:32 +00:00
[ 'Drag on empty space' , 'Select parts; across wires (no parts in the box) it selects every wire it crosses' ] ,
[ 'Drag right to left' , 'Select everything the box touches, parts and wires (green box)' ] ,
A right-click menu for parts, wires and the canvas, "Wire them all to" as cards, plugged latches in plain greys
- Right click (or the menu key) shows what can be done with what is under the pointer: one part (open, rename, change to, inputs, colour, speed, panels, unpack, plug and unplug, cable colour), several parts (wire them all to with live preview, connect one by one, switches, change all, arrange, keep only, make a component), wires (bundle, colour, whole signal, straighten, remove cable) or empty canvas (paste here, add a part here, select all, fit, tidy, undo); right drag still moves the view
- "Wire them all to": a card per part, each fit a strip of its pins, and which wire goes where for the fit pointed at
- Plugged cable ends no longer look selected: grey connector, steel clips
- Icons named in menus are bundled for the browser too
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 10:33:30 +00:00
[ 'Right click (or the menu key)' , 'Everything you can do with what is under the pointer or selected; on empty space: paste, add a part here' ] ,
2026-10-17 10:49:38 +00:00
[ 'Right or middle drag, Space + drag' , 'Move the view' ] ,
[ 'Mouse wheel' , 'Zoom' ] ,
2026-10-20 17:29:16 +00:00
[ 'N, I, O, L, B, C, H, T, P, X' , 'Place NAND, input, output, lamp, button, clock, hex display, note, input panel, pixel' ] ,
R Top bar like the parts bar, no left panel
The parts panel on the left is gone: pinned parts sit at the start of the
bottom bar, components open from the pencil in its Components list (or a
double-click), examples load from there too. The side panel moved to the
left. The top bar floats across the whole width: menu with the project,
Main and the way into the open component instead of the circuit
selector, Challenges in a drop-down, clock, search, undo, settings,
share and account. / and the bar's search open quick add.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:17:41 +00:00
[ 'Bar at the bottom' , 'Point at a kind of part to see them all; click to place, drag onto the canvas, pin the ones you use most to the bar itself (right-click a pinned part to unpin it)' ] ,
2026-10-26 22:04:32 +00:00
[ 'Mouse back / forward buttons, Alt + ← →' , 'Back and forward through the circuits you went into and out of, like pages in the browser (the browser\'s own buttons do the same)' ] ,
[ 'Main (top bar)' , 'Back to the main circuit; the names after it lead back to each component you entered (on a narrow bar the ones in between fold into …)' ] ,
A memory that stays: circuits keep their bits across visits and saves; Power off and on
What latches, flip-flops, registers and RAM built from NANDs hold is no
longer lost when you go into a component and come back, reload the page or
open the project on another computer. Leaving a circuit puts its bits in
the project, and opening it starts from them.
Only the gates on feedback loops can hold a bit, so only those that are 1
are kept, plus the clocks that are high: each node id once, each gate as
the path levels it shares with the gate before plus the rest. 1,024
flip-flops take about 30 KB. Restoring runs the gates in the order signals
flow, so the gates in front of a latch are right before it reads them;
gates that no longer exist after an edit are ignored.
The bits go with every save, file, share link and account upload. Between
saves (a clock running, a button pressed) they are put in this browser's
copy every 30 seconds and when the page is left, without counting as a
change: no sync, savegame or undo step of their own, and never over a save
made in another tab. Projects without them start from all zeros as before.
"Power off and on" in the menu on the circuit's name, or with Space,
starts the open circuit again from all zeros.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:09:18 +00:00
[ 'Power off and on (circuit name in the top bar, or Space)' , 'Latches, flip-flops and memory keep their bits when you go into a component and back, and in the saved project; this starts the circuit again from all zeros' ] ,
R bars and panels fit small windows, Main always in reach; A Space search opens components
The top and bottom bars keep their steady centred width on wide windows,
but never get narrower than 760px as far as the panels leave room, and
move off the centre rather than under a panel. On a narrow bar the words
go first, the names between Main and the open component fold into "…"
(a menu back to each), and sound, settings and help, then undo, redo and
share, then challenges and search move into a "⋯" menu. Main keeps its
house at every width; before, the rule that hid its label hid the icons
too, and on a squeezed bar the crumbs, Main with them, were cut off.
From 821 to 1100px the selection's panel floats over the canvas edge
between the bars instead of narrowing the canvas. The zoom buttons sit
above the parts bar where it reaches them. The challenges drop-down, the
flyouts and the search box stay on screen.
In the Space search, Shift+Enter (or Ctrl+Enter, or the pencil on a
component's line) opens the component to edit it instead of placing it,
and typing a name lists "Open <name>" for every circuit of the project,
also those that cannot be placed here; the one you are in shows as where
you are. A circuit on the way here is reached by going back along it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:10:54 +00:00
[ '⋯ (top bar, small window)' , 'Sound, settings, help and whatever else no longer fits in the bar' ] ,
R Panels: This and Pins on the left, the selection on the right
The left panel is about the circuit you are in: This (challenge and
Check on top, problems, name, statistics, truth table, as a component,
transistors, tools) and Pins. The selection gets its own panel on the
right, there only while something is selected, with its settings and
actions such as making a component out of it. The bars follow the
canvas width and drop labels when it gets narrow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:38:17 +00:00
[ '[' , 'Hide or show the panel on the left (This and Pins)' ] ,
BF library: no solutions inside, nothing into a campaign, marks only from the entry, a small listing, updates clear what they replace
A component with a challenge or puzzle solution anywhere inside stays
private, not only a challenge circuit itself, so wrapping a solution in a
part of its own no longer publishes it.
A campaign takes nothing from the library: Add and "Get version" are off
there, with a line saying why. A library part could be duplicated,
published again or taken apart into a solution, so a check on placing was
not enough.
Library marks come only from the entry being added. The server drops the
marks a publisher sends, and whether an entry is yours depends only on the
key this browser keeps for that project and component, so a part claiming
to be someone's entry can't be published over it.
The listing keeps pin counts and the first 16 pin names a side, short, and
a group of 40 characters at most, so it stays small whatever is sent.
"Get version" clears away what came along with the old version once
nothing else uses it, and the new parts take its names. Adding never
reuses another entry's component, so updating one entry leaves the others
as they were.
Wire corner points that aren't number pairs are dropped when a project,
link or library entry is read, so a circuit can always be drawn.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:44:13 +00:00
[ 'Library (bottom bar: Components, or Space)' , 'Components everyone published: search, add one to this project (what it uses comes along; not in a campaign) and place it. Publish your own, or a new version, from the menu on the circuit’ s name' ] ,
R a Figma-like workspace: a floating bottom bar of part kinds with flyouts, pinned parts on the left
- Bottom bar over the canvas: Logic, Inputs, Outputs, Wiring, Notes,
Connectors, Components (and search). Pointing at one opens its parts
above it: click to place, drag onto the canvas, pin to the left.
Connectors offer Out/In, edit and new type; components come grouped
with their transistor counts.
- Left panel: pinned parts first (NAND, AND, OR, NOT, XOR, input,
output, lamp, clock to start with; kept per browser, components by
name so they follow you into every project), then the circuits list.
The long list of built-in parts and the connector list moved to the
bar.
- Slimmer top bar and side panels; notices sit above the bar.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:04:43 +00:00
[ 'Connectors (bottom bar)' , 'Make a cable type of your own (HDMI, RJ45): its lines; place its Out and In ports; one cable joins them' ] ,
A ports on top of the box, split into lines to wire by hand
On a component's box every connector port now sits at the very top of its
side, above the single pins, in auto and hand-drawn boxes alike. A port
can be split on one placed component (its settings or right click: Split
… into lines): right below the socket the box then gets a pin per line,
named after the line, so lines can be wired by hand without an adapter.
Lines going into the component are inputs, lines coming out outputs, each
facing out of its side; a bar in the type's colour ties them to the
socket. A cable still plugs into the socket at the same time. Dropping a
single wire on a socket (or clicking one while connecting) splits the
port and takes the first free line that runs that way. Join … lines
takes the line pins and their wires away again, as one undo step.
A line wired by hand joins the same net the cable's line reaches inside;
a wire and a cable on one line both drive it, and the check says so.
Line pins are left out of the open-input warning, docked panels and
bubbles; docked panels no longer get a row for a port's socket either.
Saved as an optional list on the placed component (splitPorts); without
it a box only has its ports moved to the top.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:08:27 +00:00
[ 'Split into lines (right-click a component)' , 'A pin per line below a port\'s socket, to wire lines by hand; dropping a wire on the socket does the same. Join lines takes them away' ] ,
2026-10-21 09:51:45 +00:00
[ 'Select wires, Ctrl+G' , 'Bundle them into one cable; an end whose wires all meet one part plugs straight into it' ] ,
2026-10-26 21:45:47 +00:00
[ 'Select a component, cable button beside its pins' , 'A plug on S0– S3 (or any group); drag the cable out of its pin and let go where it goes, or on the next part\'s pins' ] ,
[ 'Round buttons beside the selection' , 'Split a port into wires (or join them), pull a cable out of a plug, plug in or out, split a cable into wires, bundle selected wires' ] ,
2026-10-21 12:21:40 +00:00
[ 'Drag a part from the list onto pins' , 'It lands on them and connects (green rings show where); Alt just places it' ] ,
2026-10-23 13:34:36 +00:00
[ 'Drag a part onto the pins it is wired to' , 'When its pins line up with theirs one for one, it latches on (green rings): pins touching, no wires, and it moves with that part. Right-click: Latch onto / Unlatch' ] ,
2026-10-21 09:51:45 +00:00
[ 'Drag a plugged cable end away' , 'Pull it out; drop its pins on a part\'s pins to plug it in again' ] ,
2026-10-21 10:16:26 +00:00
[ 'Drag a part onto a pin' , 'Connects there when dropped (a green ring shows where); hold Alt to just place it' ] ,
A Loxone-style working aids: named signals, inverted inputs, a project check, values on cables, search, printable sheets; wire ends move by dragging
- Send signal / Use signal: name a signal (CLK, RESET) once and use it anywhere in the circuit without a wire; selecting one lights up all of them, a use with no sender shows dashed
- Inverted inputs: Alt + click an input (or the menu/settings) puts a bubble on it; it reads the signal inverted through one NAND, counted in every transistor total
- Check (Circuit tab): open inputs, parts that drive nothing, duplicate pin names, unsent or doubly sent signals, loops that never settle; click one to show it. Open inputs get an orange marker on the canvas. Components no other circuit uses are listed with a delete
- Cables show the number they carry (= 13 · 0x0D); hovering a wire tells where it runs and its value
- Ctrl+F finds parts, signals, panel rows, notes and components in every circuit, with where each component is used
- Ctrl+P prints the circuit as a sheet with a title block on white paper (or save as PDF); also as an SVG file
- + and − under a selected gate change its number of inputs; swaps keep bubbles in place
- Drag a wire by its end to move that end to another pin; drop a dragged wire on another wire to tap its signal or feed what it fed
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 11:26:59 +00:00
[ 'Drag a wire by its end' , 'Moves that end to another pin (grab it near the pin, or by the small circle)' ] ,
[ 'Drop a wire on a wire' , 'From an input: it taps that wire\'s signal. From an output: it feeds what that wire fed' ] ,
[ 'Alt + click an input pin' , 'Inverts it (a bubble); counted honestly as one NAND' ] ,
[ 'Send signal / Use signal' , 'Name a signal (CLK, RESET) once and use it anywhere in the circuit without a wire' ] ,
[ 'Ctrl+F' , 'Find a part, signal or component in every circuit, and where a component is used' ] ,
2026-10-23 10:43:08 +00:00
[ 'Space (tap)' , 'Search at the mouse: recent parts and actions like a new component; type a few letters, arrows to choose, Enter to take it' ] ,
R bars and panels fit small windows, Main always in reach; A Space search opens components
The top and bottom bars keep their steady centred width on wide windows,
but never get narrower than 760px as far as the panels leave room, and
move off the centre rather than under a panel. On a narrow bar the words
go first, the names between Main and the open component fold into "…"
(a menu back to each), and sound, settings and help, then undo, redo and
share, then challenges and search move into a "⋯" menu. Main keeps its
house at every width; before, the rule that hid its label hid the icons
too, and on a squeezed bar the crumbs, Main with them, were cut off.
From 821 to 1100px the selection's panel floats over the canvas edge
between the bars instead of narrowing the canvas. The zoom buttons sit
above the parts bar where it reaches them. The challenges drop-down, the
flyouts and the search box stay on screen.
In the Space search, Shift+Enter (or Ctrl+Enter, or the pencil on a
component's line) opens the component to edit it instead of placing it,
and typing a name lists "Open <name>" for every circuit of the project,
also those that cannot be placed here; the one you are in shows as where
you are. A circuit on the way here is reached by going back along it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:10:54 +00:00
[ 'Shift+Enter in the search' , 'Open the chosen component to edit it instead of placing it (or click its pencil); typing any circuit\'s name also offers "Open …"' ] ,
2026-10-23 10:43:08 +00:00
[ '/, Shift+A or Ctrl+K' , 'The same search box' ] ,
A Loxone-style working aids: named signals, inverted inputs, a project check, values on cables, search, printable sheets; wire ends move by dragging
- Send signal / Use signal: name a signal (CLK, RESET) once and use it anywhere in the circuit without a wire; selecting one lights up all of them, a use with no sender shows dashed
- Inverted inputs: Alt + click an input (or the menu/settings) puts a bubble on it; it reads the signal inverted through one NAND, counted in every transistor total
- Check (Circuit tab): open inputs, parts that drive nothing, duplicate pin names, unsent or doubly sent signals, loops that never settle; click one to show it. Open inputs get an orange marker on the canvas. Components no other circuit uses are listed with a delete
- Cables show the number they carry (= 13 · 0x0D); hovering a wire tells where it runs and its value
- Ctrl+F finds parts, signals, panel rows, notes and components in every circuit, with where each component is used
- Ctrl+P prints the circuit as a sheet with a title block on white paper (or save as PDF); also as an SVG file
- + and − under a selected gate change its number of inputs; swaps keep bubbles in place
- Drag a wire by its end to move that end to another pin; drop a dragged wire on another wire to tap its signal or feed what it fed
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 11:26:59 +00:00
[ 'Ctrl+P' , 'Print the circuit as a sheet with a title block, or save it as PDF' ] ,
2026-10-21 12:38:59 +00:00
[ 'Select switches or buttons, Combine' , 'One input panel (all rows can become buttons); lamps or output pins combine into an output panel' ] ,
[ 'Select panels, Merge' , 'One panel with all their rows; inside a component input panel rows are inputs, output panel rows outputs' ] ,
R Panels: This and Pins on the left, the selection on the right
The left panel is about the circuit you are in: This (challenge and
Check on top, problems, name, statistics, truth table, as a component,
transistors, tools) and Pins. The selection gets its own panel on the
right, there only while something is selected, with its settings and
actions such as making a component out of it. The bars follow the
canvas width and drop labels when it gets narrow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:38:17 +00:00
[ 'Design the box (This, As a component)' , 'Move lamps, displays and the name on a component\'s box, draw lines, boxes, circles and text' ] ,
2026-10-21 10:16:26 +00:00
[ 'Select several lamps, pins or switches' , 'Green boxes show free pins in a row they fit; point along one, click to wire them all' ] ,
2026-10-17 10:49:38 +00:00
[ 'Shift + click on canvas' , 'Keep placing the same part' ] ,
A input panels, automatic names, one-by-one wiring, tidy routing, truth table export
- Input panel part: rows of switches, buttons and clocks. "Attach input
panel" docks one to a component with a row per free input; it moves
with the component and follows its pins.
- Copies and new pins continue name series (D0 -> D1, A -> B); unnamed
switches, lamps and pins take the name of the component pin they are
wired to.
- Connecting: target pins are ringed, dropping on a part uses its next
free pin, click-then-click works, and "Connect one by one" (W) wires a
selection's pins in turn.
- Tidy wiring option and "Tidy all wires": sorted, evenly spaced columns
per gap, one trunk per signal, fewer crossings.
- Truth table full screen, CSV download, copy as Markdown, current row
highlighted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 17:17:25 +00:00
[ 'Ctrl+C, Ctrl+V, Ctrl+D' , 'Copy, paste, duplicate; names continue their series (D0 → D1)' ] ,
2026-10-17 10:49:38 +00:00
[ 'Delete' , 'Remove the selection' ] ,
[ 'Ctrl+Z, Ctrl+Shift+Z' , 'Undo, redo' ] ,
R Top bar like the parts bar, no left panel
The parts panel on the left is gone: pinned parts sit at the start of the
bottom bar, components open from the pencil in its Components list (or a
double-click), examples load from there too. The side panel moved to the
left. The top bar floats across the whole width: menu with the project,
Main and the way into the open component instead of the circuit
selector, Challenges in a drop-down, clock, search, undo, settings,
share and account. / and the bar's search open quick add.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:17:41 +00:00
[ 'Logo (top left), Esc' , 'Pause menu: save, load, settings, back to the main menu. Your work is saved' ] ,
2026-10-23 12:57:16 +00:00
[ 'Tidy this circuit / every circuit' , 'In the Circuit panel (Tools) or with Space: hand-placed bends go, every wire is laid out anew around the parts. Ctrl+Z undoes it' ] ,
2026-10-17 10:49:38 +00:00
[ 'F' , 'Fit the circuit to the screen' ] ,
[ 'Enter' , 'Open the selected component' ] ,
]
function close ( ) {
ed . showHelp . value = false
try {
localStorage . setItem ( 'logigate:help-seen' , '1' )
} catch { }
}
< / script >
< template >
< div class = "modal-backdrop" @click.self ="close" >
< div class = "modal" role = "dialog" aria -labelledby = " help -title " >
< div class = "flex items-start justify-between gap-4" >
< h2 id = "help-title" > From one NAND gate to a computer < / h2 >
< button class = "tb-btn" title = "Close" @click ="close" > < Icon name = "lucide:x" class = "size-4" / > < / button >
< / div >
< ol class = "steps" >
< li >
< strong > NAND is the only gate . < / strong > Its output is 0 only when both inputs are 1. Everything else ( NOT , AND , OR , adders , memory ) can be built from it .
< / li >
< li >
< strong > Every circuit is a component . < / strong > Inputs and outputs you place inside a circuit become its pins . Place it in another circuit and it shows up as one block ; double - click to look inside .
< / li >
< li >
< strong > It runs while you draw . < / strong > Green wires carry a 1 , grey wires a 0. Flip switches , press buttons , or start the clock in the top bar .
< / li >
< li >
R Top bar like the parts bar, no left panel
The parts panel on the left is gone: pinned parts sit at the start of the
bottom bar, components open from the pencil in its Components list (or a
double-click), examples load from there too. The side panel moved to the
left. The top bar floats across the whole width: menu with the project,
Main and the way into the open component instead of the circuit
selector, Challenges in a drop-down, clock, search, undo, settings,
share and account. / and the bar's search open quick add.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:17:41 +00:00
< strong > Try the challenges < / strong > ( top bar ) , or open the examples ( NOT up to a 4 - bit counter ) to see how each step is made of the previous one .
2026-10-17 10:49:38 +00:00
< / li >
< li >
R Panels: This and Pins on the left, the selection on the right
The left panel is about the circuit you are in: This (challenge and
Check on top, problems, name, statistics, truth table, as a component,
transistors, tools) and Pins. The selection gets its own panel on the
right, there only while something is selected, with its settings and
actions such as making a component out of it. The bars follow the
canvas width and drop labels when it gets narrow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:38:17 +00:00
< strong > Select parts and press "Make component" < / strong > in the panel on the right to turn a piece of your drawing into a reusable block .
2026-10-17 10:49:38 +00:00
< / li >
< / ol >
< h3 > Controls < / h3 >
< dl class = "shortcuts" >
< template v-for ="[k, v] in SHORTCUTS" :key ="k" >
< dt > { { k } } < / dt >
< dd > { { v } } < / dd >
< / template >
< / dl >
A settings for every part, overlap-free wiring with crossing styles, accounts with sync
- Clicking anything opens its settings: swap parts in place (wires stay on
matching pins), clock frequency per clock, keyboard keys for switches and
buttons, lamp/display colours, note sizes, component names on the canvas,
position, unlink all wires, unpack a component, make an independent copy.
- Wires of different signals never share a line: auto routes pick free
columns or detours, remaining clashes go on separate lanes. Crossings drawn
as bow, triangle, bridge, gap or plain.
- Accounts (email + scrypt password, httpOnly session) with two-way project
sync and conflict copies; per-account limits; cross-site writes refused.
- Compatibility suite: a project and both browser-storage layouts from
release a241adc must load and compute identically.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-20 11:09:37 +00:00
< p class = "hint" > Your work is saved in this browser . Sign in ( top right ) to have it on every computer ; use Share to get a link or export a file . < / p >
2026-10-17 10:49:38 +00:00
< button class = "btn btn-primary mt-4" @click ="close" > Start building < / button >
< / div >
< / div >
< / template >