Papercraft 3D Landing Page is a single-page app launch site staged as a cut-paper diorama. The first screen is a hillside town at golden hour, built from layered paper sheets in terracotta, sage and sunshine yellow, with the headline and sign-up button set over the sky. On load a flat sheet of stationery folds itself, crease by crease, into a paper plane, tucks a small envelope under its band and waits. From there the scroll bar is the flight: the plane crosses a range of hills at dusk, slips under a bridge at night, circles a market square at sunrise, rides an updraft over a cove and lands at a lighthouse mailbox exactly one day after it left. Each of the five stops is a page section: how it works, stamps and stationery, pricing, sample letters and sign-up, all drawn as paper objects such as folded note cards, a perforated stamp sheet and unfolded handwritten notes.
It suits indie makers and small teams launching a consumer app, a subscription or any product with a journey to tell, and designers who want a 3D showpiece that still reads as a normal landing page. The default content is a slow-mail pen-pal app; the same world works for a delivery club, a travel product or a course once the copy is swapped.
The paper look comes from one small shader: fibre grain, crisp creases, warm bounce light and hard cut-paper shadows, with no bitmap images at all. Motion is tied to scroll and named in the prompt, with durations and easing for every fold and landing. Phones get a lighter scene with the same story, and visitors without WebGL or with reduced motion get illustrated stops instead. To adapt it, change the six variables, rewrite the content file and keep the five-colour palette.
The live demo was built from exactly this text — nothing added.
# Papercraft 3D Landing Page
Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.
## Brief
A one-page landing site for [BRAND], [PRODUCT]. The whole page is a folded-paper world rendered in WebGL behind the HTML: a full-viewport canvas shows a cut-paper diorama, and the page sections scroll over it as paper objects. The first screen is [TOWN], a paper hillside town at golden hour, already colourful in the very first frame. On load a flat sheet of stationery folds itself into a paper plane and takes [CARGO] on board; scrolling then flies the plane along one continuous path through five stops (layered hills, a river, a market square, a coast, a lighthouse), and each stop is one section: how it works, stamps and stationery, pricing, letters from members, sign-up. The scroll journey is also one full day: the sky runs from golden hour through night and sunrise back to golden hour, so the visitor watches a letter take exactly a day to arrive. Build it so that any single frame, paused anywhere, looks like a finished poster.
- Audience: [AUDIENCE]. They are deciding in a few seconds whether this is a toy or a product, so the scene must charm them and the sections must still answer the plain questions: what is it, how does it work, what does it cost, how do I start.
- Goal: Get the visitor to the sign-up form at the lighthouse and have them press [PRIMARY_CTA]. The same button sits in the hero and the header and scrolls to that form.
- Tone: Warm, unhurried and specific. Short sentences, plain words, a little dry humour about waiting. Never cute for the sake of it and never techy: no mention of 3D, shaders or how the page was made.
## Stack
- Framework: Vite 5 + vanilla TypeScript
- Styling: Vanilla CSS, custom properties
- Libraries: three 0.187 (WebGL renderer, custom ShaderMaterial, BufferGeometryUtils from three/addons) (MIT), gsap 3.15 with its ScrollTrigger plugin (Standard no-charge GSAP license (free, commercial use allowed)), lucide (icons) (ISC), @fontsource-variable/fraunces (OFL-1.1), @fontsource-variable/figtree (OFL-1.1), @fontsource-variable/caveat (OFL-1.1), vite 5.4 and typescript 5.6 (dev only) (MIT / Apache-2.0)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
- package.json scripts: dev = vite, build = vite build, preview = vite preview. vite.config.ts sets base to './', build.sourcemap to false and build.target to es2020.
- Files: index.html (markup for every section plus the inline hero poster SVG), src/main.ts, src/content.ts (every word of copy, the stop names, prices, stamps and letters, built from the variables), src/styles.css, src/scene/ (stage.ts, paperMaterial.ts, shaders/paper.vert.glsl and paper.frag.glsl imported with ?raw, shapes.ts, plane.ts, path.ts, sky.ts, stops/town.ts, hills.ts, river.ts, square.ts, cove.ts, light.ts), src/ui/ (header.ts, panels.ts, stamps.ts, pricing.ts, signup.ts, sound.ts, posters.ts).
- Fonts: import '@fontsource-variable/fraunces/full.css' and '@fontsource-variable/fraunces/full-italic.css' (these include the opsz, SOFT and WONK axes), '@fontsource-variable/figtree' and '@fontsource-variable/caveat' in main.ts. CSS family names are 'Fraunces Variable', 'Figtree Variable' and 'Caveat Variable'.
- Put the five core colours and six supporting shades in :root as CSS custom properties and export the same hex values from src/scene/palette.ts; the scene and the HTML read from these two places only.
- Renderer: new WebGLRenderer({ antialias: true, alpha: false, powerPreference: 'high-performance' }), outputColorSpace SRGBColorSpace, toneMapping NoToneMapping, no shadow maps, no post-processing. The paper fragment shader ends with the colorspace_fragment include so a sheet in full light renders within 4% of its hex value.
- Register ScrollTrigger once with gsap.registerPlugin and call ScrollTrigger.config({ ignoreMobileResize: true }). Scrolling is native: no smooth-scroll library, no pinning, no wheel or touch handlers that prevent default.
- All scattered details (tree positions, star positions, stamp tilts, grain offsets) come from one seeded pseudo-random generator (mulberry32, seed 6401) so every build and every reload looks identical.
- All landscape silhouettes are defined once in src/scene/shapes.ts as arrays of 2D points. The 3D layers turn them into THREE.Shape and ShapeGeometry; src/ui/posters.ts turns the same arrays into inline SVG for the static fallback. Flat sheets of one layer in one stop are merged into a single geometry with vertex colours so each layer is one draw call.
- Icons: import only the icons listed under Assets from the lucide package and render them as inline SVG with stroke-width 1.75; if the installed version's createIcons API differs, copy those icons' SVG markup from the package instead.
- Write ASSETS.md at the project root listing the three font packages, lucide, three and gsap with source URL, author and license, and stating that every image, stamp, poster and sound is drawn or synthesized in code.
## Variables
- [BRAND] — Brand name (default: "Dayfold"). Invented product name; shown in the header wordmark, the hero and the footer.
- [PRODUCT] — What it is (default: "a slow-mail pen-pal app where every letter takes one day to arrive"). One clause that completes the sentence '[BRAND] is ...'.
- [AUDIENCE] — Who it is for (default: "people who miss finding a real letter in the mailbox"). Completes 'For ...' in the hero eyebrow.
- [CARGO] — What the paper plane carries (default: "a letter"). The thing that travels from the first screen to the last stop. It is drawn as a small terracotta paper parcel on the plane's back.
- [TOWN] — Name of the paper town (default: "Larkhollow"). Invented place name for the hero town. Never a real place.
- [PRIMARY_CTA] — Main button label (default: "Claim your mailbox"). 2 to 4 words; used in the header, the hero and the sign-up form.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/papercraft-3d-landing-page in the footer (default: yes; delete this line to remove it)
The copy under Pages & Sections is written for the default values. If your values differ, rewrite every headline, paragraph, label and image for them — same length, tone and structure. Layout, colors, type and motion stay as described.
Keep all copy, image paths and links in one content file (for example `src/content.ts`), keyed by section, so the content can be swapped later without touching components.Pro template
Unlock the full prompt and the source code
The live demo and DESIGN.md stay free.
The design system on its own — colors, type, spacing and motion. Apply this look to a project you already have.
---
name: "Papercraft 3D Landing Page"
colors:
paper_white: "#F6F1E7"
terracotta: "#D9653B"
sage: "#8FA98A"
ink_navy: "#1F2A44"
sunshine: "#F2C14E"
terracotta_deep: "#B24E2A"
sage_deep: "#6F8C6B"
navy_deep: "#141C30"
navy_lift: "#2C3B5E"
sunshine_pale: "#F8DC8F"
paper_shade: "#E4DCCB"
typography:
display_hero_headline_section_headings_prices_the_wordmark_fraunces_variable_with_font_variation_settings_opsz_144_soft_100_wonk_1_so_the_letters_look_cut_from_soft_paper_hero_h1_weight_700_clamp_44px_6_2vw_96px_line_height_0_95_letter_spacing_0_02em_section_h2_weight_650_clamp_32px_3_6vw_52px_line_height_1_02_italic_is_used_for_one_emphasised_word_per_heading_fallback_stack_georgia_serif: { family: "Fraunces Variable", weights: [500, 650, 700] }
text_body_copy_17px_1_55_16px_on_phones_labels_and_buttons_15px_weight_650_small_caps_labels_12px_weight_700_with_0_12em_letter_spacing_in_uppercase_fallback_stack_system_ui_sans_serif: { family: "Figtree Variable", weights: [400, 500, 650, 700] }
handwriting_the_sample_letters_24px_1_35_stamp_names_the_clock_chip_in_the_header_and_margin_notes_never_used_for_body_copy_or_anything_under_18px: { family: "Caveat Variable", weights: [500, 700] }
spacing: "8px base unit. Content columns are 560px wide on desktop (pricing: min(920px, 64vw)), set 6vw in from the left or right viewport edge so the other side of the scene stays open for the plane. Cards have 28px padding (20px on phones) and 20px gaps. Every stop section is an empty flight gap (70vh on desktop, 50vh on phones) followed by its content panel (min-height 100vh, content vertically centred on desktop, natural height on phones with 16px side gutters). The header strip is 60px tall (52px on phones)."
radius: "Paper has corners: 2px on cards, notes, inputs and buttons. One 22px folded corner (a clip-path dog-ear showing terracotta deep or sage on the turned-up side) on the top-right of each card and the primary button. Stamps have perforated edges made with a radial-gradient mask. Full circles only for the clock chip, the sound toggle and postmarks. Shadows are hard offsets, never blurred: 6px 8px 0 rgba(31,42,68,0.18) on cards, 3px 4px 0 on buttons and stamps."
---
# Papercraft 3D Landing Page — Design System
Apply this design system to an existing project. It describes the look and feel only; for the full site, use prompt.md.
## Colors
- **Paper white** `#F6F1E7` — The sheet colour: house walls, the sun and moon discs, clouds, the plane's outer face, and every HTML card, note and header strip. It is never used as an empty page or hero background.
- **Terracotta** `#D9653B` — Roofs, the far ridge at golden hour, awning stripes, the bridge, lighthouse bands, the cargo envelope, folded card corners and the squiggle under the headline. As text only at 24px or larger on paper white.
- **Sage** `#8FA98A` — Hills, trees, reeds, the sunrise sky, ruled lines on stationery, secondary tags and quiet borders.
- **Ink navy** `#1F2A44` — All body text and headings, doors, night sky, water, hard drop shadows (at 18% opacity) and focus rings.
- **Sunshine** `#F2C14E` — The golden-hour sky, lit windows, the lighthouse lamp, pennants, the primary button fill (with ink navy text) and the featured pricing ribbon.
- **Terracotta deep** `#B24E2A` — Supporting shade: shadow side of roofs and the bridge, the inside of folded corners.
- **Sage deep** `#6F8C6B` — Supporting shade: back hills, cone trees, foreground grass.
- **Navy deep** `#141C30` — Supporting shade: the top of the night sky and the nearest foreground frame at night.
- **Navy lift** `#2C3B5E` — Supporting shade: second water band, night horizon.
- **Sunshine pale** `#F8DC8F` — Supporting shade: halo rings around the sun, underside of clouds, the midday horizon.
- **Paper shade** `#E4DCCB` — Supporting shade: 1px edges of paper cards, the shaded half of an unfolding note, perforation shadows.
## Typography
- **Display: hero headline, section headings, prices, the wordmark. Fraunces Variable with font-variation-settings 'opsz' 144, 'SOFT' 100, 'WONK' 1, so the letters look cut from soft paper. Hero h1 weight 700, clamp(44px, 6.2vw, 96px), line-height 0.95, letter-spacing -0.02em; section h2 weight 650, clamp(32px, 3.6vw, 52px), line-height 1.02; italic is used for one emphasised word per heading. Fallback stack: Georgia, serif.** — Fraunces Variable (OFL), weights 500/650/700. Self-host the font files.
- **Text: body copy 17px/1.55 (16px on phones), labels and buttons 15px weight 650, small caps labels 12px weight 700 with 0.12em letter-spacing in uppercase. Fallback stack: system-ui, sans-serif.** — Figtree Variable (OFL), weights 400/500/650/700. Self-host the font files.
- **Handwriting: the sample letters (24px/1.35), stamp names, the clock chip in the header and margin notes. Never used for body copy or anything under 18px.** — Caveat Variable (OFL), weights 500/700. Self-host the font files.
## Spacing & shape
- Spacing: 8px base unit. Content columns are 560px wide on desktop (pricing: min(920px, 64vw)), set 6vw in from the left or right viewport edge so the other side of the scene stays open for the plane. Cards have 28px padding (20px on phones) and 20px gaps. Every stop section is an empty flight gap (70vh on desktop, 50vh on phones) followed by its content panel (min-height 100vh, content vertically centred on desktop, natural height on phones with 16px side gutters). The header strip is 60px tall (52px on phones).
- Radius: Paper has corners: 2px on cards, notes, inputs and buttons. One 22px folded corner (a clip-path dog-ear showing terracotta deep or sage on the turned-up side) on the top-right of each card and the primary button. Stamps have perforated edges made with a radial-gradient mask. Full circles only for the clock chip, the sound toggle and postmarks. Shadows are hard offsets, never blurred: 6px 8px 0 rgba(31,42,68,0.18) on cards, 3px 4px 0 on buttons and stamps.
## Motion
- First paint: the hero poster is part of the HTML, so the town is on screen with the first paint. The WebGL canvas cross-fades in over it in 400ms (linear opacity) as soon as its first frame is drawn, which must happen within 2 seconds of navigation start; only the town stop is built before that frame, the other five stops are built afterwards in idle slices, one per slice. There is no loader, spinner, progress bar or start button anywhere.
- The fold starts 400ms after the first WebGL frame and runs 2.4s as one GSAP timeline of six beats: lift 300ms power2.out; left corner 320ms power2.inOut; right corner 320ms power2.inOut, starting 120ms after the left one; both shoulders together 420ms power2.inOut; tuck the cargo 280ms power1.out; close the spine 380ms power3.inOut; drop the wings 360ms back.out(1.6). Then a 700ms power3.out launch glides the plane back to its flight lane. Each beat is a hinge rotation about a visible crease. It plays once per page load. Any scroll, wheel, touch or key press during it raises the timeline's timeScale to 5 so it finishes in under half a second.
- Scroll-driven flight: each of the five legs is a ScrollTrigger scrubbed with scrub 0.8 (0.8s catch-up), mapping scroll to the path parameter through power2.inOut so the plane leaves each stop slowly, flies fastest mid-leg and slows into the next stop. Scrolling up flies the same path backwards.
- Camera and plane follow with frame-rate-independent damping, value += (target - value) * (1 - exp(-6 * dt)). The plane banks into turns: roll is proportional to path curvature, clamped to 28 degrees; pitch follows the path tangent.
- Section stops: when a leg reaches 92% the plane flares (pitch up 8 degrees, then level) over 600ms power2.out and the stop's paper objects arrive: each card unfolds from rotateX(-88deg) about its top edge to flat in 620ms cubic-bezier(0.22, 1, 0.36, 1) with a 90ms stagger, under a 900px perspective. Leaving, cards fade and rise 12px in 240ms ease-in. These are triggered, not scrubbed, and reverse when scrolling back.
- Hover while parked at a stop: the plane bobs 0.12 units up and down on a 2.4s sine.inOut yoyo and rolls 2.5 degrees on a 3.1s one, so it reads as waiting, plus a drift of 8% of the next leg tied to scroll so it never freezes while the visitor reads.
- Wind: bunting, flags, reeds, chimney smoke and the pinwheel lean and sway toward the direction of travel, 2 degrees about their base on 3.2 to 4.8s sine loops. The wind is what carries the plane, so it always points along the route. Waves slide 0.3 units sideways on a 4s sine loop. Nothing else in the scene moves on its own: no floating particles, no spinning props.
- Cursor parallax (fine pointers only): the camera shifts up to 0.5 units horizontally and 0.3 vertically toward the pointer with the same damping at rate 3.5, so the paper layers slide against each other by depth.
- Sky: the three sky sheets, the tint on the scenery and the sun and moon positions interpolate linearly with the path parameter between the six stop keyframes; they have no timing of their own.
- Interface: buttons lift 2px and their hard shadow grows from 3px 4px to 5px 6px in 160ms ease-out, and press down 2px in 80ms. Stamps settle from an 8-degree tilt and scale 1.08 to rest in 420ms cubic-bezier(0.34, 1.56, 0.64, 1) with a 45ms stagger. Price figures flip on rotateX in 300ms cubic-bezier(0.22, 1, 0.36, 1) when the billing toggle changes. The header's plane marker slides to the current stop in 500ms power2.out.
- prefers-reduced-motion: no WebGL, no scrubbing, no fold. The page shows the illustrated posters, and panels fade in with a 200ms opacity change only.
## Imagery
A cut-paper diorama at golden hour, drawn entirely in code. Every landscape is a stack of flat paper silhouettes at different depths with scalloped or gently wavy cut edges; buildings, the plane, the bridge, the boats and the lighthouse are folded from a few flat facets. One shared paper shader gives every surface fine fibre grain (value varies by about 3%), a hairline paper-white highlight along top cut edges to suggest thickness, a dark crease line with a light line beside it along folds, and soft warm bounce light: the lower part of each sheet picks up up to 18% of the colour of the sheet in front of it. Shadows are crisp offset copies of each sheet in ink navy at 18% opacity, like paper lifted off the page; there are no shadow maps, no gloss, no metal, no glass, no bloom and no depth-of-field blur. The mood is tactile, handmade and sunny. The HTML cards carry the same language: paper white with a faint grain (an inline SVG turbulence filter at 6% opacity), a 1px paper-shade edge, a hard offset shadow and one folded corner. Stamps, postmarks, the wordmark's plane glyph and the favicon are small flat SVG drawings in the same five colours.
## Tone
Warm, unhurried and specific. Short sentences, plain words, a little dry humour about waiting. Never cute for the sake of it and never techy: no mention of 3D, shaders or how the page was made.
---
Inspired by Folded-paper 3D scroll journey landing page for a slow-mail pen-pal app by @thatxliner — https://news.ycombinator.com/item?id=48548167
— Prompt by VibeFather · https://vibefather.ai/t/papercraft-3d-landing-page · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
The Papercraft 3D Landing Page is a single page with five scroll stops, each acting as a section: how it works, stamps and stationery, pricing, sample letters, and sign-up. The paper plane flies from a hillside town through layered hills, a river, a market square and a coast, landing at a lighthouse mailbox. The hero, header and sign-up form share the same primary button, which scrolls to the form at the final stop.
Commercial and client use of the Papercraft 3D Landing Page requires Pro. The Pro template shows the brief, stack and variables publicly and gives Pro members the full prompt plus the source code of the demo. The free prompts and every DESIGN.md on VibeFather are licensed for personal, non-commercial use only, so a client launch needs Pro access.
Start with the six variables: brand name, product description, audience, cargo, town name and primary button label. Then rewrite the content file so every headline, paragraph, label, price, stamp and sample letter fits your product, keeping the same length and tone. The five-colour palette and the five scroll stops stay as they are, so the paper world keeps its shape.
Yes. The Papercraft 3D Landing Page detects visitors without WebGL or with reduced motion enabled and shows illustrated stops instead of the animated 3D scene. Those fallbacks are drawn as inline SVG from the same landscape shapes used in the 3D layers, so the page still tells the story of the plane's journey and the sign-up form remains reachable on every device.
The Papercraft 3D Landing Page demo was built with Claude Fable 5.2 in Claude Code. The published prompt is written for an AI coding agent that can set up a Vite project with TypeScript, Three.js, GSAP and vanilla CSS, so agents such as Codex, Cursor, Windsurf, Gemini CLI or GitHub Copilot can run it too. VibeFather's model comparison pages show which agents built other demos.
Copy the full prompt (Pro) from this page or run npx vibefather add papercraft-3d-landing-page, replace the variables with your own content, and paste it into Claude Code, Codex, Cursor or another AI coding agent. The live demo was built from exactly that text.
The Slow-mail pen-pal app case was built by Claude Fable 5.2 in Claude Code. Each build used the published prompt with nothing added.
Papercraft 3D Landing Page is a single-page site built with GSAP, Plain HTML and Three.js, with scroll animation, parallax and 3d / webgl. The prompt fixes the stack so every AI tool builds the same kind of project, and the result runs as a static site you can host anywhere.
Papercraft 3D Landing Page is a Pro template: the brief, stack and variables are public, and the full prompt, the source code of the live demo and a commercial license come with VibeFather Pro. Its DESIGN.md is free for personal projects.
Yes. Every Papercraft 3D Landing Page build was tested on a phone-sized screen as well as desktop before it went live, checking layout, text size and touch targets. Open the live demo on your phone, or switch the preview on this page to mobile view, to check it yourself.