Tutorial Engine Integration

This experiment adapts the Slang Tutorial Engine for real-time video processing. It utilizes importExternalTexture for zero-copy HLS stream ingestion.

Workflow: Slang kernels are compiled to WGSL (currently using the pre-compiled hack) and executed via a WebGPU compute/fragment pipeline.

Modes:
• 0: Raw Passthrough
• 1: Left Eye (Top)
• 2: Right Eye (Bottom)
• 3: Side-by-Side Remapping

).forEach((btn, idx) => { btn.classList.toggle('active', idx === mode); }); reqRender(); }; });