PROMPT-IN / INTERMEDIATE
The exact
build prompt.
Build a tool you could use the next time a clip looks stretched. Give your agent the whole brief, then compare its answer for the same 720 × 480 clip with the supplied calculator.
Complete brief / keep the acceptance checks
Create Frame Fit in a standalone HTML file with embedded CSS and JavaScript. Collect stored width and height plus the pixel width and height ratio, with positive integer inputs. Multiply width by the pixel ratio numerator and height by its denominator, reduce the resulting display ratio, and show the original reduced stored ratio beside it. Use two SVG test-chart rectangles with rings to visualize their shapes. Leave an unknown pixel ratio unresolved. Start at 720 by 480 and 8:9. State the full-frame assumption, and give a 4:3 check. Keep the interface usable by keyboard and in a narrow browser.
This is the brief for the supplied implementation. Save the version your tool produces and compare behavior using the first-run check.
