velxio/frontend/src
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
..
__pro_stub__ refactor(examples): move Pico W WiFi examples to the pro overlay seam 2026-06-15 15:54:44 +02:00
__tests__ feat(sim): P4 runtime burnout for resistors + electrolytic capacitors 2026-06-18 04:35:56 +02:00
assets
…
components feat(sim): P4 runtime burnout for resistors + electrolytic capacitors 2026-06-18 04:35:56 +02:00
data refactor(examples): move Pico W WiFi examples to the pro overlay seam 2026-06-15 15:54:44 +02:00
desktop
…
hooks
…
i18n feat(editor): follow-up GitHub star prompt for past dismissers 2026-06-15 22:15:14 +02:00
lib revert(sim): drop the WiFi run-gate seam (WiFi becomes freemium) 2026-06-15 20:04:42 +02:00
pages feat(editor): follow-up GitHub star prompt for past dismissers 2026-06-15 22:15:14 +02:00
services feat(P2.2c): show per-user custom libs in the Library Manager + autocomplete 2026-06-07 19:58:13 +02:00
simulation feat(sim): P4 runtime burnout for resistors + electrolytic capacitors 2026-06-18 04:35:56 +02:00
store feat(sim): P4 runtime burnout for resistors + electrolytic capacitors 2026-06-18 04:35:56 +02:00
tokens
…
types feat(library-manifest): per-board manifests + autocomplete 2026-06-07 06:07:48 +02:00
utils seo: emit trailing-slash canonical + sitemap URLs 2026-06-15 06:10:32 +02:00
velxio-elements
…
App.css
…
App.tsx feat(seo): add /v3 release landing page + refresh About for 3.0 2026-06-15 08:52:09 +02:00
entry-server.tsx feat(seo): add /v3 release landing page + refresh About for 3.0 2026-06-15 08:52:09 +02:00
index.css
…
main.tsx
…
seoRoutes.ts feat(seo): add /v3 release landing page + refresh About for 3.0 2026-06-15 08:52:09 +02:00
vite-env.d.ts
…