Commit Graph

17 Commits

Author SHA1 Message Date
Fabian @ Blax Software 7ce8ffb9bc A wire a selection where it fits: green boxes over free pins in a row, and parts dropped onto a pin connect
- Select several lamps, output pins, switches or gates: every run of free pins they fit on (nearest parts first) shows as a green box; pointing along it picks the pins (S0+S1, S1+S2, ...) with a preview, a click wires them all top to bottom
- "Wire them all to" lists those fits, nearest first; the old pick-any-part stays under "Any part"
- Dragging a part so a free pin lands on (or a square from) a pin it can join shows a green ring and connects on drop; Alt places it without connecting
- A cable end only plugs in by itself when all its wires sit on the part; a name a part covers is hidden

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 12:16:26 +02:00
Fabian @ Blax Software 81a33b9b4b R slim cable ends: free ends are just their wires running into the ribbon, names only where nothing else shows them
- A free bundle or split has no box any more: each wire bends straight into its own lane of the cable, lit and coloured like the wire; a dashed outline shows on hover to grab it
- A wire's name shows next to a free end only when the part at the other end doesn't show it already (a switch or lamp of that name, a component pin)
- Names no longer widen a cable end, so its pins never move

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 11:59:17 +02:00
Fabian @ Blax Software 1741631ab0 A cable ends plug straight into parts and show their wire names, custom input panels with keys, colours and spacing
- A bundle or split whose wires all meet one part sits on its pins with a latch, moves with the part, and comes loose when dragged away; Ctrl+G plugs both ends in when it can
- Cable ends take the spacing of the pins they plug into, or a spacing you set
- Each wire of a cable carries a name (S0..S3, Cout), shown on free cable ends and as dimmed names on what they feed
- Bundles get "Attach input panel"; panel rows get a keyboard key, an on colour, space above and up/down order

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 11:51:45 +02:00
Fabian @ Blax Software 4fddb8cd34 A one-click cable bundling with smarter placement, BF unlink keeps the cable
- "Bundle into cable" (Ctrl+G) places both ends itself again: right after
  the sources on their middle row, right before the targets on theirs, so
  the wires keep their flow; backwards wires get a backwards cable, and an
  end steps aside when a part is in the way. "Place the ends yourself…"
  (Ctrl+Shift+G) keeps the two-click placement.
- "Unlink all" on a bundle or split removes only the wires going in or out;
  the cable between them stays.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 11:21:35 +02:00
Fabian @ Blax Software cf24578248 A box selection picks up the wires and cables it crosses
A box that touches no parts selects every wire it crosses, so dragging
across the wires between parts marks them for bundling. Right to left
(green box) selects everything touched, parts and wires; left to right over
parts keeps selecting only wires fully inside, so Delete stays safe.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 11:08:32 +02:00
Fabian @ Blax Software 29c32026d7 A cables you place yourself, drawn as coloured ribbons
- Select wires (or a box of parts and wires), "Bundle into cable…" or
  Ctrl+G, then click where the cable starts and where it ends, with a
  preview; "place it for me" keeps the automatic placement.
- Up to 16 wires, a cable is a ribbon: one thin line per wire inside the
  sleeve, in that wire's colour, lit on its own.
- The sleeve starts neutral (no longer takes the first wire's colour) and
  has its own colour in the cable and bundle/split settings. Wide cables
  are clickable across their width; the width mark sits above the ribbon.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 10:39:54 +02:00
Fabian @ Blax Software f1b72b3e3c BF pin names editable again, A dense Pins list with toggles and panel groups, wire many at once, folding side panels, full zoom-out
- Pins list rows used the class "pin", which the canvas styles as
  unclickable: renaming and focusing pins did nothing. Renamed the class.
- One line per entry; click the value to flip a switch, hold for a button;
  panel rows framed under their panel.
- Drag one wire from a selected part to another part: all selected parts
  connect to its next pins in order; "Wire them all to" in the bulk panel.
- Both side panels fold to an icon strip ([ and ]), remembered per browser.
- Zoom out until the whole circuit fits (further for bigger circuits); grid
  dots hide when they would be too dense.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 10:09:43 +02:00
Fabian @ Blax Software 74b257ce6e 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 09:29:55 +02:00
Fabian @ Blax Software acb9620b2b A dimmed names from the connected pin on switches, lamps and outputs
Parts without a hand-typed name show the name of the component pin they
are wired to, dimmed and in italics, live as the wiring changes;
automatic names are dimmed too. Typed names show as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 20:15:38 +02:00
Fabian @ Blax Software 5663685505 A compact tidy wiring, pass-through lamps and outputs, gates with up to 16 inputs
- Tidy wiring orders all wires entering one column together and lays
  them out as one compact staircase a grid step apart, sliding only
  within that gap to avoid running along other signals. Separate
  bundles into the same part no longer cross each other.
- Lamps and output pins get a pin on the right that carries the same
  signal on; labels move above when it is wired.
- AND, OR, XOR, NAND and NOR (built in, examples or your own, detected
  from the truth table) take 2 to 16 inputs. The wide version is a
  balanced tree of the two-input gate, so transistors count honestly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 20:09:23 +02:00
Fabian @ Blax Software 2edb458372 A campaign with unlocks, synthesised sound, puzzles and the puzzle of the week
- Campaign projects start with NAND only; challenges open along a
  dependency chain, each solution becomes a usable part, and basic parts
  unlock on the way. Locked parts and challenges say what opens them.
- Sound effects made with Web Audio: place, connect, switches, buttons,
  delete, clock ticks (opt-in), solve, fail, unlock, record. Mute and
  volume in the top bar and Display settings.
- Publish any circuit as a puzzle link; only its behaviour is shared.
  The server re-runs the checks on submitted solutions, counts their
  transistors and keeps each player's best; the board shows a histogram
  and your place. A generated puzzle of the week for everyone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 19:54:57 +02:00
Fabian @ Blax Software 9754ecc0b4 A transistor counts and records, cables, pixels and screens
- Every component shows its transistors (CMOS, 4 per NAND, at every
  depth) in the palette, its settings and the stats. Challenges keep
  the fewest transistors of a passing solution and announce new records.
- Cables: bundle and split parts carry 2 to 32 wires as one thick cable
  with a width mark; "Bundle into cable" builds one from selected wires,
  "Remove cable" takes it apart. Cable ends only join cable ends.
- Pixel part; pixels inside a component show on its box as one screen
  without gaps. New examples: Screen 4x4 and Demo: Screen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 19:29:16 +02:00
Fabian @ Blax Software 861b161c8b 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 19:17:25 +02:00
Fabian @ Blax Software 08b086a71e A crash-safe storage, savegames and daily backups
- Writes go to a flushed temporary file and are renamed into place; the last
  intact version stays as .bak and reads fall back to it, so a power cut
  never leaves a damaged save. Same file format as before.
- Savegames per account project (newest 30, one per day for 90 days), kept
  before restores and deletions; deleted projects restorable for 30 days.
  Projects dialog: savegames per project and "Recently deleted".
- Daily gzip backup of data/ into backups/ (14 newest + monthly), restore
  script scripts/restore-backup.mjs.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-20 13:20:55 +02:00
Fabian @ Blax Software 5e17826ba5 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 13:09:37 +02:00
Fabian @ Blax Software a241adc94e 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 13:21:49 +02:00
Fabian @ Blax Software 03a4d55834 A logigate: NAND-only logic editor and simulator with components, challenges and examples
Draw circuits from NAND gates, package them as components and reuse them.
Event-driven simulation runs live while drawing. IEC/ANSI symbols, truth
tables, 17 challenges, example library up to a 4-bit counter. Deploys to
edgerealm like autismus-spektrum (logicate.blax.at).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-17 12:49:38 +02:00