velxio/frontend/src/components
David Montero cbcf6ba81e feat(sim): P4 runtime burnout for resistors + electrolytic capacitors
Generalizes the LED's burnout to passive parts via a centralized monitor that
watches the live electrical solve. When a part is stressed past its rating for
a sustained moment it's marked "destroyed": the canvas renders it charred with a
smoke badge and a fault is logged to the output console. Clears on Reset.

Follows the Fritzing-simulator precedent (smoke-on-component) wrapped in a
first-order thermal delay so a brief inrush spike doesn't destroy a part — only
sustained overload (or a catastrophic >=3x overload, instant) does.

- runtimeBurnout.ts: pure stress (resistor power, cap voltage / reverse) + a
  thermal-delay burn decision, plus a monitor subscribed to the electrical +
  simulator stores. Resistor burns past 2x rated (the verifier already warns at
  1x for intentional teaching over-power); a cap bursts over its voltage rating
  or on reverse polarity.
- useSimulatorStore: burntComponents set + mark/clear actions; cleared on
  Reset / restartParts.
- DynamicComponent + SimulatorCanvas.css: charred filter + smoke badge.

Tests: thermal-delay decision (instant / sustained / spike / cooldown) + stress
computation (resistor power, cap over-voltage, reverse, unwired -> null).
2026-06-18 04:35:56 +02:00
..
analog-ui
components-instruments
customChips fix(chipbus): Galaksija boots + displays + types live in the browser 2026-06-05 15:47:30 -03:00
editor fix(editor): keep Circuit check findings when a Run auto-compiles 2026-06-17 22:52:40 +02:00
examples feat(examples): add a Retro category to the gallery sidebar 2026-06-04 22:08:43 +02:00
layout feat(editor): follow-up GitHub star prompt for past dismissers 2026-06-15 22:15:14 +02:00
raspberry-pi Raspberri pi 4 y 5 2026-06-15 11:57:10 -03:00
simulator feat(sim): P4 runtime burnout for resistors + electrolytic capacitors 2026-06-18 04:35:56 +02:00
ui
velxio-components feat(motors): fix stepper rotation + add A4988 driver (real Fritzing SVG) 2026-05-31 16:28:34 -03:00
ComponentPickerModal.css
ComponentPickerModal.tsx feat(boards): add 6 STM32 boards (F4 Discovery, Olimex H405, Netduino 2/+2, Pill variants) 2026-05-31 03:19:26 -03:00
DynamicComponent.tsx feat(sim): P4 runtime burnout for resistors + electrolytic capacitors 2026-06-18 04:35:56 +02:00