mondrAIn
Painterly Mondrian composition generator. Recursive subdivision with golden ratio bias, aesthetic color placement, and canvas texture rendering — brushstrokes, pigment variation, linen weave, patina. Atelier wall presentation with Bauhaus-style UI.
run
documentation
Day 016 — mondrAIn
Painterly Mondrian composition generator. Not just the logic of neoplasticism — the texture of it. Brushstroke direction, pigment variation, paint buildup, canvas depth.
Features
- Recursive rectangle subdivision with golden ratio bias and line snapping
- Aesthetic color placement (red/blue/yellow/black) with adjacency constraints
- Painterly rendering: directional brushstrokes, per-stroke color variation, pigment drift
- Organic canvas texture (multi-layered value noise)
- Lines painted on top of fields — some don't reach the edge
- PNG download
Controls
- Complexity — subdivision depth
- Line weight — black grid line width
- Color — sparse to full (includes black fills)
- Texture — painterly intensity
Run
open index.html
No dependencies, no build step.
licenses
Jost font (SIL Open Font License). No other external dependencies.