Polygon Mosaic
三角分割/ローポリのモザイク的表現は、ドロネー三角形分割(ボリス・ドロネー、1934)やボロノイ分割に基づき、2010年代の生成デザイン・グラフィックデザインで普及した。拡散的で単一起源はない。
コミュニティ・通称 名称 — 命名・エポニムではなく記述的なカテゴリ名。用語の単一の命名者は確認されていない。
ひとことで ランダム配置や Voronoi から得た多角形を色分けして敷き詰めるモザイク的画面構成。
コード
上のデモの実際のスケッチ(サンドボックスで再現可能)。これで全部です。
polygon-mosaic/index.html
const SEED = Math.floor(Math.random()*1e9);
// Low-poly mosaic: triangulate jittered grid points, fill each triangle by
// sampling an underlying noise-based colour field at its centroid.
function setup() {
randomSeed(SEED); noiseSeed(SEED);
const s = Math.min(windowWidth, windowHeight);
createCanvas(s, s);
colorMode(HSB, 360, 100, 100);
noStroke();
const hueA = random(360), hueB = (hueA + random(60, 180)) % 360;
const G = 16;
const step = s / G;
// jittered grid of points
const grid = [];
for (let j = 0; j <= G; j++) {
grid[j] = [];
for (let i = 0; i <= G; i++) {
const edge = i === 0 || j === 0 || i === G || j === G;
const jit = edge ? 0 : step * 0.42;
grid[j][i] = { x: i*step + random(-jit, jit), y: j*step + random(-jit, jit) };
}
}
for (let j = 0; j < G; j++) {
for (let i = 0; i < G; i++) {
const a = grid[j][i], b = grid[j][i+1], c = grid[j+1][i+1], d = grid[j+1][i];
// split quad into 2 triangles (alternating diagonal)
if ((i + j) % 2 === 0) { fillTri(a, b, c); fillTri(a, c, d); }
else { fillTri(a, b, d); fillTri(b, c, d); }
}
}
function fillTri(p, q, r) {
const cx = (p.x+q.x+r.x)/3, cy = (p.y+q.y+r.y)/3;
const n = noise(cx*0.004, cy*0.004);
const h = (n < 0.5 ? hueA : hueB) + (n - 0.5) * 40;
fill((h + 360) % 360, 55 + n*35, 60 + n*35);
triangle(p.x, p.y, q.x, q.y, r.x, r.y);
}
}仕組み
(1) 点群を散布する — 一様乱数・blue-noise、または画像のエッジ/詳細に偏らせて内容に追従させる、(2) その点で平面を分割する — ボロノイ図なら凸セル、Delaunay 三角形分割なら三角形(ローポリ)、(3) 各多角形を単色で塗る — フラットなランダム色相、またはそのセル内の元画像の平均/中心標本色 — 必要なら辺を縁取る。点が少ないと粗い抽象モザイク、多いと元画像に近づく。点や色をアニメートするとモザイクが揺らめく。
パラメータ
siteCount: number — Number of points seeding the polygonal cells.smoothing: number — How much cell edges are rounded or relaxed.palette: array — The colours assigned to the cells.
系譜
よく組み合わされるアルゴリズム
- Geometric / Hexagonal Tiling · 2 作品
- Fractal / Recursive Subdivision · 2 作品
- Bezier / Catmull-Rom Splines · 2 作品
- Generative Typography · 2 作品
- Plotter-style Hatching · 2 作品
- Circle Packing · 2 作品
- Truchet Tiles · 1 作品
- Perlin / Simplex Noise · 1 作品
- Physics Simulation · 1 作品
- Modular Assembly / Parametric Character · 1 作品
- Multi-color Modular Truchet · 1 作品
このアルゴリズムを使う作品 (12)
Andradite
eltono
Calendart
steen-n-e-o
Corners
rafael-rozendaal
Cushions
devi-parikh
Gazettes
redlioneye-gazette
Hachure
matt-deslauriers
Implications
ixnayokay
Scatter Process[or]
kelly-milligan
Situations
erik-swahn
SL/CE
stranger-in-the-q
Squares
martin-grasser
Structures
hevey
最終更新 2026-07-16