The Apex LLM Capability Benchmark: 20 Single-File Interactive Applications
A comprehensive suite of 20 stress-test prompts designed to evaluate the limits of modern frontier Large Language Models (LLMs) across real-world software engineering, mathematical modeling, interactive UI/UX design, physics engines, and algorithmic efficiency. Each prompt demands a production-grade, fully functional, self-contained single-file HTML/JS/CSS application built without external dependencies or placeholders.
Prompt
Act as a Principal Automotive Software Engineer and WebGL/Canvas Graphics Architect. Build a complete, production-grade, interactive single-file web application: a "Real-Time Internal Combustion Engine & Drivetrain Telemetry Simulator". The output MUST be a single, self-contained HTML file containing all HTML, CSS (in <style>), and Vanilla JavaScript (in <script>). Do NOT use any external dependencies, frameworks, CSS files, or CDN libraries (No React, No Three.js, No Chart.js, No Tailwind). Use pure Vanilla JS, HTML5 Canvas 2D API, and Web Audio API. ### REQUIRED FEATURES & SYSTEM ARCHITECTURE: 1. Engine Physics: Simulate a 4-stroke internal combustion engine operating loop (Intake, Compression, Power, Exhaust). Calculate real-time RPM, Engine Torque (Nm), Horsepower (HP = Torque * RPM / 5252), Air-Fuel Ratio (AFR), Fuel Consumption Rate (L/h), Engine Temperature (°C), and Flywheel Inertia. 2. Transmission & Drivetrain: 6-speed manual transmission with dynamic gear ratios, Clutch engagement ratio (0% to 100%), Engine Braking, and realistic Engine Stall conditions if clutch is released at low RPM in high gear. 3. Dynamic Rev Limiter: Realistic ignition-cut / fuel-cut rev-limiter bounce when hitting redline (7,500 RPM). 4. Real-Time Visual Canvas (60 FPS Animation): - Dynamic 2D mechanical cutaway showing Crankshaft rotation, Connecting Rod, and Piston reciprocating motion perfectly synchronized to current Engine RPM. - Intake/Exhaust valve opening/closing timed to crank angle. - Spark plug ignition spark effect flashing during the power stroke. - Live Telemetry Dashboard: Analog/Digital Tachometer (RPM), Speedometer (km/h), Gear Indicator, Engine Temp Gauge, and live dynamic plotting of Torque/Power curves vs. current RPM operating point. 5. Synthesized Audio Engine (Web Audio API): Generate realistic dynamic engine noise completely synthesized in code using Web Audio API (Oscillators, Gain Nodes, Biquad Filters, and White Noise buffers). Engine pitch, frequency modulation, and exhaust rumble must dynamically scale based on real-time RPM and throttle load. Includes toggleable ignition sequence. 6. Controls: Throttle slider, Clutch pedal slider/key, Gear Shift buttons/shortcuts, and Ignition toggle. ### CODE QUALITY RULES: - Zero external libraries, zero placeholders, zero truncated code blocks. Everything must be written out completely and function on file open.
A system prompt was added to support web rendering
Response not available
Response not available