首页/ AI 绘图 / @gallery/draw-2117903200341232401
手写数据结构作业照
Prompt站外收录 @gallery/draw-2117903200341232401

手写数据结构作业照

生成逼真手机拍摄的笔记本页面图,展示中文手写的数据结构作业答案,含公式、伪代码和树结构描述。

0.0 (0) 4 次安装 免费 原作者 余温
收录于 2026-11-03 · 文生图
学习资料 教育 手写体 AI 绘图 AI 绘图提示词

提示词

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 第五章答案. 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.
目标:创建一张照片级写实(photorealistic)的智能手机拍摄照片,画面为一张铺在木质书桌上的横线笔记本页面,展示一份手写的软件/数据结构作业答案,使用略显凌乱但可信的黑色中性笔字迹。页面标题应居中置于顶部附近,文字为“第五章答案”。整体效果需模拟学生实际提交给课堂的真实照片,包含细微瑕疵、书写不均、纸张轻微弯曲、阴影及透视畸变。 画布与相机:竖构图 3:4 照片,从略高于正上方的角度俯拍。主笔记本页面占据画面大部分区域,并略微倾斜。照明为暖色调室内书桌灯光,带有柔和阴影,呈现真实手机摄像头成像效果,而非平面扫描效果。 场景细节:使用一本摊开的笔记本,内页为浅灰色横向横线,页角呈圆角。左侧边缘可见部分上一页内容。笔记本置于中棕色木质书桌上。右侧靠近右下角垂直放置一支黑色透明笔身的中性笔;右上角附近放置一块带灰色擦痕的小白橡皮。橡皮周围散落若干细小橡皮屑或纸屑。纸张底色为米白色,带有细微纹理。 手写内容:使用中文手写笔记,混入数学符号与类 C 风格伪代码。字迹需清晰可读,但刻意呈现略随意、不均匀的书写风格,自然间距与偶尔变化的倾斜角度。严格按顺序书写 3 个编号段落: 1. 第一段含恰好 2 个子项: - “(1) 叶结点数 = (k-1)m + 1。” - “(2) 最多结点数 = (k^h - 1)/(k - 1),最少结点数 = k(h-1)+1。” 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. 第三段含恰好 5 行手写内容,描述二叉树与森林转换关系: - “二叉树根为 A,左子树 B-D-E-H,” - “右子树 C-F,其中 F下有 I、G,I下有 M,” - “M下有 K,G下有 J,J下有 L。” - “森林按左孩子右兄弟关系转换即可。” 段落编号“3.”须起始于左页边距,文字延续至页面下半区域。 视觉风格:照片级写实(photorealistic)、自然阴影、真实横线纸张、黑色墨水、学生日常手写风格。所有文字必须呈现手写质感,不可为印刷体或排版字体。字迹与横线之间允许轻微错位,此属理想效果。 约束条件:不得添加额外图表、印章、水印、装饰性图形或任何印刷字体。严格保持仅 3 个编号段落、第 1 段仅含 2 个子项、第 2 段仅含 5 行伪代码,且仅使用所列中文作业文本。2:["$","div",null,{"className":"mx-auto max-w-screen-xl px-4 pb-10","children":[["$","nav",null,{"className":"pb-3 pt-5 text-[13px] text-slate-400","children":[["$","$L6",null,{"href":"/","className":"hover:text-blue-600","children":"首页"}]," / ",["$","$L6",null,{"href":"/painting","className":"hover:text-blue-600","children":"AI 绘图提示词"}]," / ",["$","$L6",null,{"href":"/painting?type=image_case","className":"hover:text-blue-600","children":"案例"}]," / ",["$","span",null,{"children":"手写数据结构作业照"}]]}],["$","$L10",null,{"id":"2117903200341232401","prompt":"$11","promptExt":{"originType":"imported","sourceName":"YouMind GPT Image 2","sourceClues":[{"sourceId":23,"sourceName":"YouMind GPT Image 2","repoUrl":"https://github.com/YouMind-OpenLab/awesome-gpt-image-2","license":"CC-BY-4.0","fileUrl":"https://github.com/YouMind-OpenLab/awesome-gpt-image-2/blob/fe1996a9f04684c4ae424658f869755fdeda2fa5/README.md"}],"sourcePostUrl":"https://x.com/gkxspace/status/2065051260143763735#reversed-0","sourceRepoUrl":"https://github.com/YouMind-OpenLab/awesome-gpt-image-2","sourceLicense":"CC-BY-4.0","authorName":"余温","authorHandle":"gkxspace","authorUrl":"https://x.com/gkxspace","originalLang":"en","originalText":"$12","translatedText":"$13","genMode":"text2img"},"children":["$","div",null,{"className":"grid grid-cols-1 gap-4 lg:grid-cols-[5fr_6fr]","children":[["$","$L14",null,{"images":[{"url":"https://pic.code-nav.cn/prompt-media/23/20547_1.webp","width":900,"height":1200,"sourceType":"transfer","sortOrder":0}],"cover":"https://pic.code-nav.cn/prompt-media/23/20547_1.webp","alt":"手写数据结构作业照","label":"$undefined"}],["$","div",null,{"className":"flex min-w-0 flex-col rounded-[32px] bg-w

变量使用 {{name}} 声明,复制时保留占位符

评论 0

还没有评论,来抢沙发。