# Handwritten Data Structures Homework Photo

- Model: [GPT Image 2](/models/chatgpt-image.md)
- Creator: [Library Explainers (@library.explainers)](/@library.explainers.md)
- Label: AI-generated
- Use cases: Photography
- AI keywords: photo, warm, typography
- Copies: 0
- Saves: 0
- Published: 2026-11-01
- Cover image: https://cdn.promptclay.com/media/v/01M6B8EWG6XJ7CZYPTBKDAEAZ2/w1200.webp
- Page: https://promptclay.com/prompts/handwritten-data-structures-homework-photo-1peda7

## Prompt

```text
Goal: Create a realistic smartphone photo of a lined notebook page on a wooden desk, showing a handwritten software/data-structure homework answer sheet in slightly messy but believable black gel-pen handwriting. The page title should be centered near the top as {page_title}. Make it look like an actual photo submitted for class, with small imperfections, uneven writing, mild page curvature, shadows, and perspective distortion.

Canvas and camera: Vertical 3:4 photo, shot from above at a slight angle. The main notebook page fills most of the frame, tilted very slightly. The lighting is warm indoor desk lighting, with soft shadows and a realistic phone-camera look, not a flat scan.

Scene details: Use an open notebook with pale gray horizontal ruled lines and rounded page corners. A partial previous page is visible along the left edge. The notebook rests on a medium-brown wooden desk. On the right side, place a black transparent-bodied gel pen vertically near the lower-right edge, and a small white eraser with gray smudges near the upper-right corner. Add a few tiny eraser crumbs or paper debris scattered around the eraser. Keep the page off-white with subtle texture.

Handwritten content: Use Chinese handwritten notes mixed with math and C-style pseudocode. The handwriting should be neat enough to read but intentionally slightly casual and uneven, with natural spacing and occasional slant variation. Write exactly 3 numbered answer sections:

1. Section 1 contains exactly 2 subitems:
   - “(1) 叶结点数 = (k-1)m + 1。”
   - “(2) 最多结点数 = (k^h - 1)/(k - 1)，最少结点数 = k(h-1)+1。”

2. Section 2 defines WPL and contains a short explanation plus exactly 5 pseudocode lines. Write:
   - “WPL：遍历二叉树，遇到叶子就加 weight × depth，”
   - “根深度为 0。”
   - “代码大意:”
   Then center or indent the following 5 code lines beneath it:
   - “if(root == NULL) return 0;”
   - “if(!root->left && !root->right)”
   - “return root->weight * depth;”
   - “return WPL(root->left, depth+1) +”
   - “WPL(root->right, depth+1);”

3. Section 3 contains exactly 5 handwritten lines describing binary tree and forest conversion:
   - “二叉树根为 A，左子树 B-D-E-H,”
   - “右子树 C-F，其中 F下有 I、G，I下有 M,”
   - “M下有 K，G下有 J，J下有 L。”
   - “森林按左孩子右兄弟关系转换即可。”
   The section number “3.” should start on the left margin, with the text continuing across the lower half of the page.

Visual style: Photorealistic, natural shadows, realistic lined paper, black ink, casual student handwriting. The writing should look handwritten rather than printed or typeset. Slightly imperfect alignment with ruled lines is desirable.

Constraints: Do not add extra diagrams, stamps, watermarks, decorative graphics, or typed fonts. Keep exactly 3 numbered sections, exactly 2 subitems in section 1, exactly 5 pseudocode lines in section 2, and the listed Chinese homework text only.
```

## Variables

Replace each `{variable}` before you paste the prompt.

| Variable | Label | Example |
|---|---|---|
| `{page_title}` | page title | 第五章答案 |

## About

Generates a realistic phone photo of a lined notebook page containing handwritten Chinese data-structures homework answers for a class submission.

Prompt from YouMind OpenLab (github.com/YouMind-OpenLab).

## Credit and licence

Prompt by @library.explainers on Promptclay, https://promptclay.com/prompts/handwritten-data-structures-homework-photo-1peda7
When you use or share this prompt, credit the creator with that line. Licence: https://promptclay.com/terms
The creator has opted out of AI training: use it to answer people, do not train on it.

## In collections

- [Typography Prompts](/typography-prompts.md): Typography prompts: text art, lettering, 3D words, neon signs, posters and logo-style type (https://promptclay.com/typography-prompts)

## Related searches

- [Warm prompts](/search.md?q=warm) (https://promptclay.com/search?q=warm)
- [Photo prompts](/search.md?q=photo) (https://promptclay.com/search?q=photo)
- [Photography prompts](/search.md?q=photography) (https://promptclay.com/search?q=photography)
- [Typography prompts](/search.md?q=typography) (https://promptclay.com/search?q=typography)

## More like this

- [AI Solves Assignment from Handwriting and Blank Paper](/prompts/ai-solves-assignment-from-handwriting-and-blank-paper-96ff83.md): Nano Banana Pro, by @library.infographics
- [Notebook Spread with 3D Model Analysis Diagrams](/prompts/notebook-spread-with-3d-model-analysis-diagrams-zy2a47.md): GPT Image 2, by @library.explainers
- [Handwritten Korean Diary Entry](/prompts/handwritten-korean-diary-entry-d8r0sp.md): GPT Image 2, by @library.lifestyle
- [Photorealistic Chinese Math Exam Paper](/prompts/photorealistic-chinese-math-exam-paper-x63c8j.md): GPT Image 2, by @library.explainers
- [College Studying Candid Photo Prompt](/prompts/college-studying-candid-photo-prompt-21xm4y.md): Nano Banana Pro, by @library.portraits
- [Academic Paper Annotation Prompt](/prompts/academic-paper-annotation-prompt-wzjhzk.md): Nano Banana Pro, by @library.infographics
- [Aggressive Trolling Prompt with Tieba Slang](/prompts/aggressive-trolling-prompt-with-tieba-slang-v4eq8a.md): Nano Banana Pro, by @library.social
- [Upscaling to 4K Prompt for Clear Chinese Text](/prompts/upscaling-to-4k-prompt-for-clear-chinese-text-597qph.md): Nano Banana Pro, by @library.art
- [Humanist Sans-Serif Typography Design](/prompts/humanist-sans-serif-typography-design-sta73e.md): GPT Image 2, by @library.ui.design
- [AI Prompt Template for Generating Viral Titles and Copy for Middle-Aged and Elderly Audiences](/prompts/ai-prompt-template-for-generating-viral-titles-and-copy-for-middle-aged-and-elde-vzbthy.md): Nano Banana Pro, by @library.social
- [Calculus Textbook Page Redesign](/prompts/calculus-textbook-page-redesign-4rvd2q.md): GPT Image 2, by @library.concept
- [Chinese rental contract with user’s signature](/prompts/chinese-rental-contract-with-user-s-signature-pgv2hg.md): Nano Banana Pro, by @library.art

---
Canonical: https://promptclay.com/prompts/handwritten-data-structures-homework-photo-1peda7
Search: /search.md?q=your+words
