Skip to content

Extend showcase with advanced circuit demos #30

@mfiumara

Description

@mfiumara

Summary

Expand the live showcase with visually impressive circuit demonstrations beyond the current RC filter. The goal is demos that make you go "wow, that's nice."

Desired demos

Non-linear circuits

  • MOSFET circuits — e.g., CMOS inverter transfer curve (.dc sweep), common-source amplifier transient response
  • Diode circuits — half-wave/full-wave rectifier, clipping circuits
  • BJT amplifier — common-emitter with biasing, show gain and phase shift

Operational amplifier circuits

  • Inverting/non-inverting amplifier — show gain with .step on feedback resistor
  • Active filters — Sallen-Key low-pass/band-pass with Bode plots
  • Integrator/differentiator — show square wave in, triangle/spike out

Filter impulse responses

  • RC/RLC step response — overdamped, critically damped, underdamped ringing
  • LC tank circuit — show resonance with decaying oscillation
  • Bandpass filter — impulse response showing the ringing envelope
  • Notch filter — show the rejection of a specific frequency

Parametric sweeps (.step)

  • Sweep component values to show family-of-curves on all the above where it makes sense
  • e.g., sweep damping resistor in RLC to show transition from underdamped → overdamped

Notes

  • All simulations run client-side in the browser via @spice-ts/core
  • Use streaming (simulateStepStream) for progressive rendering where possible
  • Current showcase infrastructure supports transient + AC + .step — new demos just need netlists and signal selection
  • Some circuits (opamps) may require subcircuit definitions or behavioral models

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions