oneshotlm
Compare all models on this prompt →

Windows 95 desktop · gpt-5-mini

Recreate a Windows 95 style desktop in a single page with draggable and closable windows, a Start button and taskbar, desktop icons, and a working clock.

⛨ sandboxed Open in new tab ↗
transcript · 4 messages
user

Recreate a Windows 95 style desktop in a single page with draggable and closable windows, a Start button and taskbar, desktop icons, and a working clock.

assistant
thinking
**Planning window management features**

I'm thinking about implementing a minimize button that hides the window and toggles a minimized state. Each window will correspond to a taskbar button, allowing the user to click the taskbar to toggle minimize or restore.

I need to keep track of the windows array and their z-index. For desktop icons, I could create a structure that includes an icon character, maybe using emojis or pixel art, and double-clicking the icon should open the associated window.

I’ll also set up a clock that updates every second, and a Start button that opens the menu positioned above the taskbar. After that, the taskbar will contain the Start button, window buttons, and a notification area with the clock. Closing a window will remove its taskbar button, but I’d like to allow reopening through the Start menu items. Finally, I plan to implement some sample windows like "My Computer," "Notepad," "About," and "Control Panel."**Creating pixel icons in HTML**

I'm thinking about using icons for the application. Since I can't use external images, I can create pixel-like icons using CSS, like small squares with borders and shapes inside. It's important to ensure everything remains in a single file.

I'll also need to handle edge cases, like distinguishing between double-click and single-click events for icons, especially on touch devices, which may need a separate approach.

Now, I’ll write the code for the index.html using the developer tool, ensuring to keep the content self-contained and adding minimal comments to guide understanding. Let's get started on that!
write index.html (15332 bytes)
toolResult

Successfully wrote 15332 bytes to index.html

assistant

I've created a self-contained single-page Windows 95-style desktop app at index.html in the current directory. It includes: - Draggable, resizable, and closable windows - Start button and Start menu - Taskbar with task buttons that minimize/restore windows - Desktop icons (double-click to open) - Working clock that updates every second - Simple Notepad, My Computer, Control Panel, and About windows Open or serve index.html in a browser to run the demo. If you'd like additional features (right-click menus, file explorer navigation, window snapping, keyboard shortcuts, theme toggles), tell me which and I'll add them.

TAKE IT TO CODE

A single self-contained HTML file — copy it and open in any browser, or reuse the prompt with your own pi-agent run.

RUN

modelgpt-5-mini
vendorOpenAI
harnesspi-agent
generated2026-07-22

EVALUATION

3/5 partial

Win95 desktop with taskbar, Start button, clock, and open My Computer/Notepad windows; no visible response to any input tested.

Vision grade · anthropic/claude-sonnet-5

MEASUREMENTS

Raw readings from the capture, not a verdict — the grade above is the only judgement. Percentages are how much of the screen changed; the measure under-reports sparse motion on a dark background.

idle motion0.0%
on click0.0%
on drag0.0%
on wheel0.0%
on enter + space0.0%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread52.2 / 255
console errors0
js errors none

METRICS

runtime80.9s
tokens in6.2k
tokens out5.7k
cached1.0k
cost / run$0.0131