collage-layout-expert
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCollage & Layout Composition Expert
拼贴与布局构图专家
Expert in ALL forms of computational collage composition - from Instagram grids to Hockney joiners, from magazine layouts to generative art.
精通所有计算式拼贴构图形式——从Instagram网格布局到霍克尼拼接法,从杂志排版到生成式艺术。
When to Use This Skill
何时使用该技能
✅ Use for:
- Grid Collages: Instagram profiles, regular layouts, tiled compositions
- Photo Mosaics: Small images forming larger pictures
- Hockney-Style Joiners: Multi-perspective photographic assemblies
- Scrapbook/Journal: Mixed media with text, frames, embellishments
- Magazine/Editorial: Professional layouts with text integration
- Vision/Mood Boards: Inspiration collections, design references
- Memory Walls: Scattered Polaroid-style arrangements
- Social Media: Stories, carousel previews, profile grids
- Abstract/Generative: Algorithmic and procedural arrangements
- Art-Historical: Dadaist, Surrealist, Pop Art styles
❌ Do NOT use for:
- Simple image editing → native-app-designer
- Generating new images → Stability AI
- Single photo quality → photo-composition-critic
- Image similarity search → clip-aware-embeddings
- Color palette extraction → color-theory-palette-harmony-expert
✅ 适用场景:
- 网格拼贴:Instagram个人主页、常规布局、平铺构图
- 照片马赛克:由小图像组成的大型画面
- 霍克尼风格拼接法:多视角摄影拼接作品
- 剪贴簿/日志:融合文本、边框、装饰元素的混合媒介
- 杂志/排版:整合文本的专业布局
- 愿景板/情绪板:灵感合集、设计参考
- 记忆墙:宝丽来风格的分散式排列
- 社交媒体:故事帖、轮播预览、个人主页网格
- 抽象/生成式:算法化和程序化排列
- 艺术史风格:达达主义、超现实主义、波普艺术风格
❌ 请勿用于:
- 简单图像编辑 → native-app-designer
- 生成新图像 → Stability AI
- 单张照片画质优化 → photo-composition-critic
- 图像相似度搜索 → clip-aware-embeddings
- 调色板提取 → color-theory-palette-harmony-expert
Expert vs Novice Shibboleths
专家与新手的区别
| Topic | Novice | Expert |
|---|---|---|
| Layout | "Just arrange randomly" | Visual weight, balance, golden ratio |
| Blending | Hard edges or simple feather | Poisson blending preserves gradients |
| Color | "Match colors manually" | Optimal transport; LAB space advantages |
| Composition | Fills all space | Negative space as design element |
| Scale | Same size for everything | Varies scale for hierarchy |
| Mosaic | "More tiles = better" | Tile size vs. recognition tradeoff |
| Hockney | "Stitch seamlessly" | Imperfection IS the technique |
| 主题 | 新手做法 | 专家做法 |
|---|---|---|
| 布局 | "随意排列即可" | 考虑视觉重量、平衡、黄金比例 |
| 融合 | 硬边缘或简单羽化 | 使用Poisson blending保留渐变效果 |
| 色彩 | "手动匹配颜色" | 采用最优传输算法;利用LAB色彩空间的优势 |
| 构图 | 填满所有空间 | 将负空间作为设计元素 |
| 比例 | 所有图像尺寸相同 | 调整比例以建立层级结构 |
| 马赛克 | "瓷砖越多越好" | 权衡瓷砖尺寸与辨识度 |
| 霍克尼风格 | "完美拼接成全景" | 不完美才是该技法的核心 |
Decision Tree: Choosing a Style
风格选择决策树
What's the purpose?
- Systematic display → Grid Collage
- Artistic portrait from photos → Photo Mosaic
- Personal memories → Scrapbook or Memory Wall
- Design inspiration → Mood Board
- Professional/publication → Magazine Layout
- Social media → Social Templates
- Art project → Hockney/Dadaist/Surrealist
What's the vibe?
- Clean, modern → Grid with tight gutters
- Nostalgic, warm → Polaroid scatter, vintage frames
- Edgy, disruptive → Dadaist sharp cuts
- Dreamy, surreal → Seamless Poisson blending
- Cubist, intellectual → Hockney joiners
你的目的是什么?
- 系统化展示 → 网格拼贴
- 用照片创作艺术肖像 → 照片马赛克
- 记录个人回忆 → 剪贴簿或记忆墙
- 获取设计灵感 → 情绪板
- 专业出版/发布 → 杂志排版
- 社交媒体传播 → 社交媒体模板
- 艺术项目创作 → 霍克尼/达达主义/超现实主义风格
你想要的氛围是?
- 简洁、现代 → 窄间距网格布局
- 怀旧、温暖 → 宝丽来分散式排列、复古边框
- 前卫、颠覆性 → 达达主义锐利剪裁
- 梦幻、超现实 → 无缝Poisson融合
- 立体、知性 → 霍克尼拼接法
Core Algorithms (Summary)
核心算法(摘要)
| Algorithm | Use Case | Performance |
|---|---|---|
| Edge-Based Assembly | Hockney joiners | 0.5s for 10 photos |
| Poisson Blending | Seamless transitions | 20ms (512×512) |
| Optimal Transport | Color harmonization | Real-time w/ affine approx |
| Force-Directed | Organic scatter | 200ms (50 images) |
| K-d Tree Matching | Photo mosaic tiles | 2s for 10k tiles |
→ See for full implementations.
references/algorithms.md| 算法 | 适用场景 | 性能表现 |
|---|---|---|
| 基于边缘的拼接 | 霍克尼拼接法 | 10张照片耗时<0.5秒 |
| Poisson Blending | 无缝过渡效果 | 512×512图像耗时20毫秒 |
| 最优传输算法 | 色彩协调 | 仿射近似下实时处理 |
| 力导向算法 | 有机分散排列 | 50张图像耗时200毫秒 |
| K-d树匹配 | 照片马赛克瓷砖 | 10000块瓷砖耗时2秒 |
→ 完整实现请查看
references/algorithms.mdAnti-Patterns to Avoid
需避免的反模式
1. Ignoring Visual Weight
1. 忽略视觉重量
What it looks like: All images same size, random placement
Why it's wrong: No focal point, viewer's eye wanders aimlessly
Fix: Establish 60/30/10 hierarchy with one hero image
表现:所有图像尺寸相同,随机放置
问题:没有视觉焦点,观者视线无目的游走
解决方法:建立60/30/10层级结构,设置一张主视觉图像
2. Over-Saturating the Canvas
2. 过度填满画布
What it looks like: Every pixel filled with image content
Why it's wrong: Visual claustrophobia, no breathing room
Fix: Use negative space intentionally (20-30% white space minimum)
表现:画布每个像素都被图像内容占据
问题:视觉压迫感,没有呼吸空间
解决方法:刻意使用负空间(至少保留20-30%留白)
3. Linear FFT for Color Matching
3. 使用线性FFT进行颜色匹配
What it looks like: Poor perceptual color matches
Why it's wrong: RGB is not perceptually uniform
Fix: Use LAB color space for matching
表现:感知色彩匹配效果差
问题:RGB色彩空间并非感知均匀的空间
解决方法:使用LAB色彩空间进行匹配
4. Seamless Hockney Joiners
4. 制作无缝霍克尼拼接作品
What it looks like: Perfectly stitched panorama
Why it's wrong: Misses the entire point - multiple perspectives
Fix: Embrace ±2° rotation variance, 5-15% overlap, intentional gaps
表现:完美拼接的全景图
问题:完全偏离技法核心——多视角呈现
解决方法:接受±2°的旋转差异、5-15%的重叠区域、刻意留出间隙
5. Global Poisson Blending
5. 全局应用Poisson Blending
What it looks like: Entire image becomes washed out
Why it's wrong: Destroys local contrast, looks fake
Fix: Apply locally at seams only, preserve source gradients
表现:整张图像变得暗淡褪色
问题:破坏局部对比度,看起来不真实
解决方法:仅在接缝处局部应用,保留源图像的渐变效果
6. Reusing Mosaic Tiles
6. 重复使用马赛克瓷砖
What it looks like: Obvious repetition patterns in mosaic
Why it's wrong: Human eye detects patterns immediately
Fix: Track tile usage, penalize reuse, use larger tile library
表现:马赛克中出现明显的重复图案
问题:人眼会立刻识别出重复模式
解决方法:追踪瓷砖使用情况,惩罚重复使用,使用更大的瓷砖库
MCP Integrations
MCP集成
| MCP | Purpose |
|---|---|
| Stability AI | Generate backgrounds, textures, missing elements |
| Firecrawl | Research techniques, algorithm papers, art history |
| WebFetch | Fetch documentation, tutorials, design references |
| MCP | 用途 |
|---|---|
| Stability AI | 生成背景、纹理、缺失元素 |
| Firecrawl | 研究技法、算法论文、艺术史资料 |
| WebFetch | 获取文档、教程、设计参考 |
Performance Targets
性能目标
| Operation | Mac M2 | iPhone 15 Pro |
|---|---|---|
| Grid layout (20 photos) | <50ms | <100ms |
| Photo mosaic (10k tiles) | 2s | 5s |
| Force-directed (50 images) | 200ms | 500ms |
| Poisson blending (512×512) | 20ms | 50ms |
| Hockney assembly (10 photos) | 0.5s | 2s |
| 操作 | Mac M2 | iPhone 15 Pro |
|---|---|---|
| 网格布局(20张照片) | <50毫秒 | <100毫秒 |
| 照片马赛克(10000块瓷砖) | 2秒 | 5秒 |
| 力导向排列(50张图像) | 200毫秒 | 500毫秒 |
| Poisson融合(512×512) | 20毫秒 | 50毫秒 |
| 霍克尼拼接(10张照片) | 0.5秒 | 2秒 |
References
参考资料
→ - Grid, mosaic, scrapbook, magazine, social templates
→ - Hockney, Dadaist, Surrealist, Rauschenberg
→ - Edge assembly, Poisson, optimal transport, force-directed
→ - Cross-photo interactions, narrative sequences
→ - Metal shaders, Core ML, performance
references/collage-types.mdreferences/art-historical-styles.mdreferences/algorithms.mdreferences/advanced-techniques.mdreferences/implementation-guide.md→ - 网格、马赛克、剪贴簿、杂志、社交媒体模板
→ - 霍克尼、达达主义、超现实主义、劳森伯格
→ - 边缘拼接、Poisson、最优传输、力导向算法
→ - 跨照片交互、叙事序列
→ - Metal着色器、Core ML、性能优化
references/collage-types.mdreferences/art-historical-styles.mdreferences/algorithms.mdreferences/advanced-techniques.mdreferences/implementation-guide.mdIntegrates With
集成对象
- photo-composition-critic - Assess individual photos before collaging
- color-theory-palette-harmony-expert - Extract/match color palettes
- clip-aware-embeddings - Semantic grouping of images
- native-app-designer - Build collage creation UI
- metal-shader-expert - GPU-accelerated blending/effects
Remember: Great collages tell stories through arrangement. Whether grid-precise or Hockney-chaotic, the layout serves the narrative. Master both the math and the art.
- photo-composition-critic - 拼贴前评估单张照片
- color-theory-palette-harmony-expert - 提取/匹配调色板
- clip-aware-embeddings - 图像语义分组
- native-app-designer - 构建拼贴创作UI
- metal-shader-expert - GPU加速融合/特效
记住:优秀的拼贴作品通过排列讲述故事。无论是精准的网格布局还是充满个性的霍克尼式混乱,布局都要为叙事服务。既要精通背后的数学原理,也要深谙艺术之道。