claudecodex
Prompt 01 / 11
Structural mechanics · HTML / JS · Medium
Prompt — given verbatim to every systemsingle self-contained file · offline

Build an inspectable beam deflection studio with load cases, reactions, shear, moment, and deflection views.

Full prompt text
Build a complete single-page web app called "Beam Deflection Studio".

The app should calculate and visualize beam deflection for common beam cases.

Requirements:
- Support simply supported and cantilever beams.
- Support point load, uniformly distributed load, and combined loading.
- Include inputs for span length, elastic modulus, moment of inertia, and load magnitude.
- Draw the beam, supports, loads, shear force diagram, bending moment diagram, and deflected shape.
- Show maximum deflection and maximum bending moment.
- Display units clearly.
- Include warnings for unrealistic or missing input values.
- Include reset and example buttons.
- Use standard elementary beam formulas.
- Use only HTML, CSS, and JavaScript in a single self-contained file.
- Do not use external libraries.
- The result should run by opening index.html in a browser.
Side AAnthropic

Opus 4.8

Claude Code · max thinking
beam-deflection-studio-claude-opus-48.htmlOpen ↗
System
Claude Code
Settings
max thinking
Attempt
one · as generated
Notes
  • Studio-style visual hierarchy
  • Clear left-to-right workflow
  • Polished presentation layer
Side BOpenAI

Codex 5.5

Codex CLI · reasoning xhigh
beam-deflection-studio-codex-55-xh.htmlOpen ↗
System
Codex CLI
Settings
reasoning xhigh
Attempt
one · as generated
Notes
  • Dense engineering controls
  • Direct structural-output focus
  • Compact result workspace
01 / 11