epic prompt of the day:
single file index.html w javascript, SPARKLAB — tinkercad-style arduino learning sandbox w cycle-accurate avr8js emulation visual breadboard wiring schematic toggle and integrated c editor, three panel layout (component palette left / workspace center / code console right) w resizable splitters and breadboard↔schematic view toggle, — BOARDS arduino uno r3 (atmega328p 16mhz)/nano/mega2560/leonardo/esp32 w accurate pin mapping (d0-d13 a0-a5 pwm~3/5/6/9/10/11 i2c-sda/scl spi-mosi/miso/sck/ss uart-rx/tx 3v3/5v/gnd/vin) and per-board memory specs (flash/sram/eeprom shown live), — COMPONENT LIBRARY 80 parts across passives (resistor w 4-band color picker and e12/e24 values / ceramic electrolytic tantalum capacitors uF-pF / inductors / diodes 1n4148 1n4007 zener / leds red green blue yellow white rgb-common-anode/cathode w forward voltage and mcd / potentiometers 1k-1m / trimpots / photoresistor / thermistor 10k-ntc) actives (npn pnp bjt 2n2222 2n3904 / n p mosfet / 7805 lm317 regulators / op-amps lm358 tl072) sensors (hc-sr04 ultrasonic / dht11 dht22 / bmp280 / mpu6050 6-axis imu / ds18b20 / tmp36 / mq-2 gas / pir motion / hall effect / soil moisture / tcs3200 color) displays (16x2 20x4 lcd w hd44780 / ssd1306 oled 128x64 i2c / st7735 tft / 7-segment common-anode cathode / 8x8 matrix / ws2812 neopixel strip ring matrix) actuators (sg90 mg996r servo / 28byj-48 stepper / dc motor w l298n h-bridge / vibration motor / piezo buzzer active passive / relay 5v / solenoid) interface (tactile push button / slide switch / dip switch / rotary encoder / membrane keypad 4x4 / joystick analog 2-axis / ir receiver remote), — BREADBOARD ENGINE 830-tie-point full-size w accurate power rail topology (split center channel / bus strips top bottom paired / terminal strips abcde-fghij 5-row continuity) plus half-size 400-pt and mini 170-pt variants w correct internal continuity highlighting on hover, — WIRING SYSTEM click-drag colored jumpers (red black yellow green blue white per convention) w bezier routing snap-to-pin auto-color-by-role (red=vcc black=gnd yellow=signal) wire-bundle grouping right-click-delete and shift-drag for diagonal, — SCHEMATIC VIEW one-click swap from breadboard to ieee symbols (resistor-zigzag rectangle iec / cap parallel-bars polarized / led triangle arrows / transistor-circle / op-amp triangle / ground-symbol earth chassis) w ratsnest auto-layout and netlist generation, — MCU EMULATION embedded avr8js running atmega328p at 16mhz cycle-accurate w full peripheral support (gpio / timer0 1 2 w pwm / adc 10-bit 0-1023 / uart / i2c twi / spi / eeprom 1kb / sram 2kb / external pin-change interrupts) and esp32 via tinyemu fallback for wifi/bluetooth projects, — CODE EDITOR monaco w arduino c language mode syntax highlight (keywords pinMode digitalWrite analogRead Serial delay millis / preprocessor
#include #define / types byte int long float String) bracket matching auto-indent multi-cursor minimap and 12 themes (default arduino / monokai / dracula / one-dark / solarized-light dark / github / nord / tomorrow / vs-dark / high-contrast / sepia), — AUTOCOMPLETE INTELLISENSE full arduino core api w inline docs on hover library autocomplete for Wire/SPI/Servo/LiquidCrystal/Adafruit_GFX/Adafruit_SSD1306/DHT/NeoPixel function signatures parameter hints and error squiggles, — COMPILER PIPELINE in-browser arduino preprocessor (ino→cpp w auto-prototype-insertion
#include-injection setup/loop-detection) feeding wasm-compiled avr-gcc emitting .hex w build log panel (preprocessing/compiling/linking/size-report flash sram usage bars), — SIMULATION LOOP play/pause/step-instruction/step-cycle/reset/speed-slider (0.1x-100x realtime) w live pin-state visualization (high=red low=blue floating=gray pwm=animated-fill) current-flow animation on wires when running and breakpoint support on c source lines, — INSTRUMENTS PANEL virtual multimeter (dc-voltage / ac-voltage / current ma a / resistance / continuity-beep / diode-test) probe-tip click-to-measure / 4-channel oscilloscope w timebase 1us-1s div voltage 10mv-10v div trigger edge level cursors measurements (vpp/freq/duty/rise-time) / 8-channel logic analyzer w protocol decoders (uart i2c spi 1-wire) / function generator (sine square triangle sawtooth noise 1hz-10mhz amplitude offset) / dc bench psu adjustable 0-30v w current limiting, — SERIAL MONITOR baud-rate selector (300-2m) line-ending dropdown (none/nl/cr/both) autoscroll timestamp toggle send-input-field w history rx-tx-byte-counter and plotter mode (graph comma-separated values vs time w up to 8 traces auto-scaling), — PHYSICS ELECTRICAL real-time spice-lite solver for analog nodes (kirchhoff voltage current laws / ohms-law / rc-time-constants / led forward-voltage drops / transistor saturation cutoff regions) w short-circuit detection smoke spark animation on over-current component-burn-out states (resistor-burn / led-pop / cap-explode) and realistic propagation delays, — LESSON SYSTEM 30 built-in lessons progressing blink→button-debounce→pwm-fade→serial-echo→analog-read-potentiometer→servo-sweep→ultrasonic-distance→lcd-hello-world→i2c-oled→neopixel-rainbow→dht-weather-station→7segment-counter→keypad-lock→ir-remote→motor-control→stepper-positioning→interrupt-counter→eeprom-save→state-machine-traffic-light→capstone-robot-arm w step-by-step instructions hint-reveal expected-output check and circuit-completion validator, — REFERENCE PANEL ohms-law-calculator / led-resistor-calculator (vsupply vf if→r) / voltage-divider / rc-time-constant / 555-timer-frequency / wire-gauge-ampacity / resistor-color-band-decoder bidirectional / arduino pinout svg per board / ascii-table / common baud rates / iso color codes, — AI TUTOR via anthropic streaming sidebar chat w context awareness of current circuit code (sends netlist sketch as context) capable of explain-this-component / debug-my-circuit / why-isnt-this-working / suggest-next-step / generate-code-from-description / write-comments-for-this-sketch buttons plus inline code-action lightbulbs, — PROJECT MANAGER autosave to localstorage w named slots export-as-.ino .json-circuit import-from-tinkercad-json gallery of 20 starter projects (blink / knight-rider / piano / theremin / temp-logger / pong-on-oled / line-follower-robot / smart-light / digital-dice / morse-encoder) and shareable url w base64-encoded state, — KEYBINDS ctrl-r run/stop / ctrl-shift-r reset / f10 step / ctrl-s save / ctrl-d duplicate-component / del delete / r rotate-90 / b breadboard-view / s schematic-view / m multimeter / o oscilloscope / l logic-analyzer / / focus-search-palette, — UI/UX FRAMEWORK responsive flex grid layout w collapsible panels light dark high-contrast themes accessibility mode (screen-reader pin-labels colorblind-safe wire palette deuteranopia protanopia tritanopia adjustments keyboard-only navigation focus-rings) settings panel (theme / autosave-interval 5s-5m / simulation-speed-default / grid-snap-on-off / wire-bend-radius / show-current-flow / sound-effects-volume / units metric-imperial) onboarding-tour first-launch and tooltip-on-hover everywhere, all assets procedurally generated or embedded as base64 data-uris for single-file delivery, 100% csrf/xss/sqli hardened w localstorage encrypted via crypto.subtle aes-gcm and api keys never persisted clientside