動画 画像
ログイン

Handwritten Data Structures Homework Photo

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

作者 余温 · gpt-image-2 · 83,000 回視聴 · 112 いいね · 51 ブックマーク
Handwritten Data Structures Homework Photo

プロンプト

目標:木製デスクの上の罫付きノートページの実写のスマートフォン写真を作成する。少し乱れたが信頼できる黒いジェルペンの手書きで、ソフトウェア/データ構造の宿題答案を表示する。ページのタイトルは上部中央に {argument name="page title" default="第五章答案"} として配置する。実際のクラス提出写真のように見せ、小さな不完全さ、不均一な書き方、軽いページの曲がり、影、透視図の歪みを含める。

キャンバスとカメラ:縦向き3:4の写真、少し角度をつけて上方から撮影。メインのノートページがフレームの大部分を占め、非常にわずかに傾ける。照明は暖かい室内のデスク照明で、柔らかな影と現実的なphone-cameraのlook、平坦なスキャンではない。

シーンの詳細:薄いグレーの水平罫線と角丸のページの開いたノートを使用する。左端に一部の前のページが見える。ノートは中程度の茶色の木製デスクの上に置く。右側、下寄りの端に縦に黒い透明ボディのジェルペンを、上寄りの角に小さな白い消しゴム(グレーの汚れあり)を配置する。消しゴムの周りに数個の小さな消しゴムくずや紙クズを散らす。ページはオフホワイトで微妙なテクスチャを持たせる。

手書き内容:数学とCスタイルの擬似コードを含む中国語の手書きメモを使用する。書き方は読み取れる程度に整っているが、意図的に少し随意的で不均一で、自然なspacingと occasionalな傾きの変動がある。正確に3つの番号付き答案セクションを書く:

1. セクション1には正確に2つのサブ項目を含む:
   - “(1) 叶结点数 = (k-1)m + 1。”
   - “(2) 最多结点数 = (k^h - 1)/(k - 1),最少结点数 = k(h-1)+1。”

2. セクション2はWPLを定義し、短い説明と正確に5行の擬似コードを含む。以下を書く:
   - “WPL:遍历二叉树,遇到叶子就加 weight × depth,”
   - “根深度为 0。”
   - “代码大意:”
   その後、以下の5行のコードを中央揃えまたはインデントして配置する:
   - “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. セクション3には、二叉树と森林の変換を説明する正確に5行の手書きテキストを含む:
   - “二叉树根为 A,左子树 B-D-E-H,”
   - “右子树 C-F,其中 F下有 I、G,I下有 M,”
   - “M下有 K,G下有 J,J下有 L。”
   - “森林按左孩子右兄弟关系转换即可。”
   セクション番号 “3.” は左端から開始し、テキストはページの下半分にまたがる。

ビジュアルスタイル:フォトリアリスティック、自然な影、現実的な罫紙、黒いインク、随意的な学生の手書き。書き方は手書きであり、印刷や活字ではなく見せる。罫線との位置合わせは少し不完全で望ましい。

制約:追加の図表、スタンプ、透かし、装飾グラフィック、タイプフォントを追加しない。正確に3つの番号付きセクション、セクション1に正確に2つのサブ項目、セクション2に正確に5行の擬似コード、記載された中国語の宿題テキストのみを保持する。

機械翻訳 — この作品を生成したのは元のプロンプトです。

元のプロンプト
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 {argument name="page title" default="第五章答案"}. 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.

✨ 生成 保存 元の投稿 Hitboard で開く

類似のピン