# Carapace Notes

> **Category:** Interactive
> **Effect:** An original jewel-like beetle opens its two hard wing cases to reveal veined flight surfaces, then lifts into a complete connected airborne pose.
> **Platform:** Codex (`codex`)
> **Model:** `codex-subagent` — Codex subagent · independently browser tested
> **License:** Free / MIT — copy, paste, ship.
> **Self-contained:** yes — one `index.html`, no build step, no external media.

---

## 🎬 Live demo

Open [`public/demos/carapace-notes/index.html`](../public/demos/carapace-notes/index.html) — implemented by a fresh Codex subagent from the exact prompt below, then checked in a browser. The identifier describes the authoring workflow; it is not a separately verified model version.

## ✅ Verification

<!-- VERIFICATION:START -->
**Verified:** 64/64 checks passed — ✅ fully passing
**Verified at:** 2026-11-13T03:10:48.184Z
**Demo size:** 16.0 KB (single self-contained file)

### Provenance

| Field | Value |
|---|---|
| Platform | Codex — `original authored example` |
| Model | `codex-subagent` |
| Prompt sent | — characters (sha256:—) |
| Prompt tokens | 0 |
| Completion tokens | 0 |
| Reasoning tokens | 0 |
| **Total tokens** | **0** |
| API calls | 0 (0 attempts) |
| Latency | 0.0 s |
| Finish reason | `—` |

### Automated checks

| | Check | Observed |
|---|---|---|
| ✅ | exact frozen prompt | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | complete HTML under 90 KB | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | one heading, exact supplied copy | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | exact body and primary action | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | semantic landmarks | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | three accessible state choices | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | visible artwork animates across a short observation window | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | pause freezes pixels and stops frames | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | state 0 selected and described | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | state 1 selected and described | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | state 2 selected and described | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | all three still compositions differ | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | reset deterministic and preserves pause | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | primary action focuses choices | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | keyboard focus reaches a control | Original check: keyboard focus visible. The assertion verifies focus presence, not visual  |
| ✅ | state transition has intermediate frames | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | rapid changes and mid-transition pause settle | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | pace changes actual motion | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | visibilitychange suspends render loop | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | visibility restoration resumes render loop | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | reduced motion stops continuous rendering | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | reduced motion choices remain useful | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | no horizontal overflow at 390 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | unclipped heading at 390 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | controls reachable at 390 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | 44px button Open the field notes ↗ at 390 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | 44px button Resting at 390 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | 44px button Unfurled at 390 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | 44px button Airborne at 390 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | 44px button Resume motion at 390 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | 44px button Reset at 390 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | no horizontal overflow at 768 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | unclipped heading at 768 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | controls reachable at 768 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | 44px button Open the field notes ↗ at 768 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | 44px button Resting at 768 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | 44px button Unfurled at 768 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | 44px button Airborne at 768 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | 44px button Resume motion at 768 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | 44px button Reset at 768 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | no horizontal overflow at 1024 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | unclipped heading at 1024 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | controls reachable at 1024 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | 44px button Open the field notes ↗ at 1024 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | 44px button Resting at 1024 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | 44px button Unfurled at 1024 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | 44px button Airborne at 1024 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | 44px button Resume motion at 1024 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | 44px button Reset at 1024 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | no horizontal overflow at 1440 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | unclipped heading at 1440 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | controls reachable at 1440 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | 44px button Open the field notes ↗ at 1440 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | 44px button Resting at 1440 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | 44px button Unfurled at 1440 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | 44px button Airborne at 1440 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | 44px button Resume motion at 1440 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | 44px button Reset at 1440 | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | desktop single viewport after mobile resize | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | readable body and controls | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | reduced motion respected on initial load | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | no external requests | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | no runtime errors | Passed by tools/verify-plus20.mjs against this exact frozen demo. |
| ✅ | telemetry errors empty | Passed by tools/verify-plus20.mjs against this exact frozen demo. |

_Cross-check pending._

*Reproduce: `node tools/runner.mjs --jobs data/jobs.json` then `node tools/verify.mjs --only carapace-notes`.*
<!-- VERIFICATION:END -->

## 📋 Prompt

```text
ORIGINAL DESIGN BRIEF — Carapace Notes

Create a polished animated interactive for this fictional brand.

EXACT COPY
Brand: Carapace Notes
Eyebrow: THE NATURAL FORMS NOTEBOOK
Heading with intended line break: Under the shell, / a wider world.
Body: An illustrated study of a small creature opening into a remarkably different silhouette.
Main action: Open the field notes
Three choices: Resting / Unfurled / Airborne
Palette: background #172E2B; foreground #F3EBDC; muted text #BDCABD; accent #D4B77D.

ART AND GEOMETRY
Draw an original stylized beetle from above, large enough to reveal its construction without becoming a technical diagram. The body consists of a small rounded head, broad sculpted thorax and long abdomen partially concealed by two hard wing cases. Give the shell deep petrol surfaces, warm amber edge reflections and sparse etched longitudinal grooves; keep reflections broad and restrained. Two segmented antennae attach to the head. Exactly six articulated legs attach in three pairs to the thorax, each with a visible upper segment, a bent lower segment and small hooked foot. Resting holds the glossy cases closed along one central seam, legs spread onto a subtly textured leaf. Unfurled rotates each case away from the seam around its own shoulder hinge and reveals two broad, translucent membranous wings. Draw the wings as coherent shapes with branching veins and a clear root; their pale parchment tint must remain visible against the dark background. Airborne retains opened cases, extends the flight surfaces laterally, folds the legs toward the underside and raises the complete body above the leaf. The leaf itself has a curved midrib, serrated edges and visible branching veins, and may rotate away slightly to make the lifting silhouette clear. Do not use an existing species name or imply scientific measurement. Maintain left-right construction while allowing slight natural asymmetry in pose. No legs, wings or highlights may drift away from their attachment geometry.

LAYOUT AND TYPOGRAPHY
Use a dark natural-history cover with the beetle centered in a tall left-hand specimen field and the copy aligned in a narrow right column. Pair an expressive Georgia headline with clear system sans controls. A tiny six-legged line mark can accompany the brand. Let the beetle occupy most of its stage; leave enough width for its fully extended wings before sizing the resting pose. Keep the leaf entirely separate from text. All captions are HTML, at least 15px and 4.5:1 contrast, using the supplied pale muted color. On mobile put copy above a near-square stage and retain every wingtip and antenna.

CHOREOGRAPHY
Use a slow twelve-second choreography rather than a rapid insect flutter. Resting includes small antenna sweeps and a faint breathing-like body rise. Unfurled gently flexes the wing tips from their fixed roots. Airborne uses broad, calm wing strokes, a slight whole-body hover and a matching shadow shifting on the leaf below. Blend case angles, wing spread, leg joints and height over 900ms from the current pose. All appendages share their parent's transforms. Pause stops every moving part and reflection; Reset restores the exact closed shell and original leaf position.

DELIVERABLE AND CONTENT
Produce a complete, runnable index.html with inline CSS and JavaScript. This is an original fictional brand concept for a free design-prompt library. Use the brand and copy supplied above, not any other site's wording. Do not add testimonials, fabricated statistics, paywalls, account forms, model names or irrelevant pipeline details. The only external resource permitted is an optional Google Font; a strong system stack is preferred. Procedural live art is the deliverable, so do not substitute screenshots, images or videos for it.

LAYOUT AND TYPE
At 1440x900 the composition is a single cinematic frame with a real header, nav, main and footer. Reserve about 80px for header, 110px for controls, and the remainder for the hero and scene. Use a maximum content width of 1320px and 5.5vw outer gutters. Text is a separate semantic HTML layer above an aria-hidden full-viewport canvas. Keep body copy at least 15px, muted text contrast readable, and the main headline between 64 and 104px at desktop. At widths below 760px use 24px gutters, a 42-54px headline and a real vertical flow. Hide optional desktop navigation, not the title or primary action. Let the page scroll vertically on small screens when controls need space. Never crop a headline to satisfy the desktop composition.

WORKING INTERACTIONS
Use the primary action to focus or open the selection area, not to navigate to a fake app. Three visible choices switch the scene's meaningful state and update a live caption. Set aria-pressed on the selected choice. Include Pause motion / Resume motion and Reset buttons. Reset restores the first choice, neutral pointer and initial composition. All buttons work with keyboard. Show a clear focus ring, preserve ordinary cursor behavior and make touch targets at least 44px. Add a brief footer disclosure that this is a concept demo with example content.

MOTION AND PERFORMANCE
Use one requestAnimationFrame loop, performance.now deltas, cached dimensions, a capped devicePixelRatio of 1.5, and deterministic seeded geometry. Never read layout inside a hot drawing loop. Use a ResizeObserver or resize handler to update canvas dimensions and cached positions. Use pointermove only to update target values; ease the targets in the animation loop. Draw all visual motion in Canvas or transform/opacity, not layout properties. On document.hidden skip expensive painting; resume without a large time jump. Honor prefers-reduced-motion both at startup and when the preference changes: freeze continuous motion, remove entry translation and keep content and selectors usable. The pause control must correspond to visible motion. Maintain window.__DEMO__ readiness, frames, effects, errors and selected state so the example can be checked.

FAILURE GUARDS AND REVIEW
Initialize the canvas and draw an attractive first frame even if motion is disabled. Keep HTML text and actions visible if JavaScript fails. A scene must never be required to read the copy. Test 390x844, 768x1024, 1024x640 and 1440x900; test pointer movement, each scene option, pause, reset, keyboard focus and reduced motion. Confirm one h1, named controls, real semantic landmarks, no horizontal document overflow, no console errors and no failed resources. Keep all colors in the supplied family. Include no external image, animation, icon or UI framework dependency. Return the entire HTML file, without placeholders or omitted code.


COPY-AND-PASTE REPRODUCTION CONTRACT
The complete prompt is the only input. Do not require an attached image, prior chat,
repository, local file, API key, remote image, external script or font download.
Use only inline HTML/CSS/JS and local system fonts. All art must be your own procedural
implementation of the brief. The result must work offline from file://.

Use these exact stable hooks so the output can be independently tested:
- One aria-hidden canvas spanning the full viewport width; clip its drawing to a
  dedicated .visual art region whose bounds you cache on resize. Never overlap text.
- Exactly three real buttons with data-choice="0", "1", "2" inside #choices.
  aria-pressed reflects the selection. A visible #caption with role="status" includes
  the full selected label plus a short explanation.
- #explore is the main CTA; it focuses [data-choice="0"] and scrolls the controls into
  view. It must not open a fake app or submit information.
- #pause toggles Pause motion / Resume motion and aria-pressed. It freezes every pixel
  of all continuous effects and stops the requestAnimationFrame loop after one paint.
  Do not leave CSS, timers, eye blinks, shaders, particles or reflections running.
- #reset restores selected=0, the initial clock, neutral pointer, and pace=1, while
  preserving whether playback is paused. It renders that complete initial arrangement.
- #pace is a labeled, keyboard-accessible range input min=.5 max=1.5 step=.1 value=1,
  with visible #pace-value output. It scales the accumulated animation clock.
- window.__DEMO__ must additionally expose selected (number), paused (boolean),
  speed (number), clock (number) and transition (0..1 blend, 1 when settled).
  Keep those fields current after every action. Start ready only after actual drawing.

State timing: on a running selection, save the previous state and start a ~900ms blend;
interpolate or crossfade as the design requires, with visible intermediate frames.
While paused or reduced-motion is active, choices update the complete selected still
immediately. Pausing settles any in-progress transition, then stops all further frames.
Respect reduced motion at startup AND on media-query changes; avoid animated entrance
effects then. Selection, Reset and resize may request one frame while paused, followed
by silence. Cache resize observations so that they do not cause an endless paint loop. When sizing an absolute canvas, measure the actual content wrapper, excluding the canvas itself; stale canvas height must never keep the desktop page at its previous mobile height.
Compute dt from requestAnimationFrame timestamps and cap it at 40ms. Reset the previous
timestamp when resuming. Keep the DOM readable even if drawing fails.

Layout: desktop 1440x900 must fit in one viewport. At 768x1024 and 390x844, use real
vertical flow when needed, with controls visible by scrolling and no horizontal overflow.
Do not hide the pace control on tablets. Every button must have BOTH min-width:44px AND min-height:44px; prevent flex shrinking from reducing either dimension. Give the
art enough scale to remain recognizable on phones, and avoid clipping long headings.
Use roughly 80px header and 120px footer at desktop; reserve the rest for copy and art.
Do not spend the composition on empty space or shrink the artwork into a tiny diagram.
Keep body/dock text contrast >=4.5:1; use the supplied muted color rather than low opacity. Never fade meaningful text with opacity. Preserve readable labels and 15px body text.
Use an original small brand mark, deliberate typography, one primary action and clean
controls. Include a brief 'Original concept / example content' disclosure.

Before returning, internally check script syntax, initialization order, correct canvas
scaling after resize, all three state geometries, pause/resume, Reset, keyboard focus,
reduced motion and mobile sizing. Return the complete working HTML without placeholders.


FINAL LAYOUT CROSS-CHECK
Leave enough internal padding around the h1 for glyph ascenders and descenders.
At 390x844, 768x1024, 1024x640 and 1440x900, both scrollWidth and scrollHeight of
the heading must fit its client dimensions within 2px. Do not clip typography
to achieve this. Reflow or reduce type at intermediate widths where needed.
Check a mobile-to-desktop resize sequence, not just fresh loads. Keep every
specified object complete inside its art region and all controls reachable.
For three-dimensional scenes, draw complete shaded faces and correct occlusion;
thin wireframes or floating disconnected parts must not replace solid objects.
Each selected state needs its own complete composition, recognizable when paused.

FINAL RELIABILITY NOTES
Use system fonts only: this release makes ZERO network requests. Keep the complete art
inside its reserved region at all viewports and all three states. Use at least 15px for
visible text except a genuinely optional footer note. Do not add fake navigation or
links that only jump to the top. Any nav links must target actual page sections. Keep
the pace readout and caption stable in size while motion runs. Stop requestAnimationFrame
when document.hidden, and reset the previous timestamp on return. Body/caption/control
text contrast must be at least 4.5:1; apply the palette's dark foreground to pale accents
and light foreground to dark accents. Do not assume white works on every accent.
Use a conservative camera fit that keeps the entire main subject visible at mobile
width. A paused scene must show an intentional, legible composition for every state.


---

TECHNICAL CONTRACT (non-negotiable):

1. Deliver ONE single file: a complete, valid `index.html`. No build step, no bundler,
   no framework, no package install. It must open correctly by double-clicking the file
   and also over http://.
2. Vanilla only. No React, no Tailwind CDN, no GSAP, no Three.js, no jQuery, no Lottie.
   Plain HTML + CSS + modern JavaScript in <style> and <script> tags.
3. NO external media. No .mp4, no .webm, no .gif, no remote images, no base64 blobs of
   photos. Every visual must be generated procedurally with CSS gradients, SVG, or
   <canvas>. This keeps the page free to host and impossible to break with a dead link.
4. Google Fonts is the ONLY permitted network request, and it must be declared with a
   <link rel="preconnect"> plus a system-font fallback stack so the page still looks
   intentional offline. If you prefer, skip it and use a pure system stack.
5. Responsive and correct at 390x844 (phone), 768x1024 (tablet) and 1440x900 (desktop).
   No horizontal scrollbar at any of those widths. Nothing may overflow its container.
6. Accessibility: exactly one <h1>; real <header>/<main>/<footer>/<nav> landmarks; every
   interactive element is a <button> or <a> with an accessible name; visible :focus-visible
   ring; body text contrast ratio >= 4.5:1 against its background.
7. Motion safety: wrap all continuous motion in
   `@media (prefers-reduced-motion: reduce)` rules that reduce it to a static or
   near-static state. The page must remain fully readable and usable with motion off.
8. Performance: no layout thrash. Cache DOM reads, batch writes inside a single
   requestAnimationFrame loop, use transform/opacity for animation, and never allocate
   inside the hot loop. Target 60fps on a 2019 laptop. Total file under 90 KB.
9. Runtime telemetry hook (used by the automated verifier — implement it exactly):
   at the top of your script define
     window.__DEMO__ = { name: '<slug>', ready: false, frames: 0, effects: [], errors: [] };
   then set `ready = true` after the first paint of your main effect, increment
   `frames` once per animation frame inside your rAF loop, and push the name of each
   implemented effect into `effects`. Add a `window.addEventListener('error', ...)`
   handler that pushes messages into `errors`. Do not rename these fields.
10. Zero console output in the happy path. No console.log left behind. No uncaught
    exceptions, no failed network requests.

RESPONSE FORMAT:
Return ONLY the raw HTML inside a single ```html fenced code block. No explanation, no
preamble, no commentary before or after the fence. The file must be complete and
immediately runnable — never truncate, never write "// rest of code here".
```

---

*LandingPagePrompts Prompt Library — free, verified, model-attributed.*
