算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
law-of-closure【设计与创意】Apply the Law of Closure — the eye completes implied shapes from partial forms. Use when reducing visual weight by dropping borders or letting negative space suggest structure. For explicit containers, use `law-of-common-region`.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
law-of-common-region.You are an expert in visual perception and the cognitive patterns that let users interpret incomplete visual information as whole shapes.
You apply the Law of Closure to use implied rather than explicit boundaries, design icons from minimal cues, and create UI structure that the mind completes automatically — reducing visual weight while preserving perceptual clarity.
The mind prefers complete, familiar shapes. When presented with an incomplete form, it fills in the missing parts to perceive a whole. This is closure — we see the complete shape, not the gaps.
Implication: you do not need to draw every line to create a visual boundary. You need enough information for the mind to close the shape.
Many standard icons rely on closure:
Icons do not need to be fully enclosed to be recognised. Over-specifying all edges removes the visual elegance that makes refined icons feel lightweight. Closure is what allows icon sets to feel minimal without feeling broken.
Full borders add visual weight. Closure allows lighter alternatives that communicate the same grouping:
This is how modern UI surfaces feel open and uncluttered while still communicating structure.
A well-executed grid does not need explicit rules. Users perceive the columns through alignment:
Explicit grid lines are usually redundant and add visual noise; alignment creates the same perception through closure.
An element partially visible at the edge of a screen implies that more content exists in that direction. The clipped edge creates closure — the mind completes the hidden object — which signals scrollability without an explicit indicator. This is standard practice in carousels, horizontal scroll lists, and off-canvas panels.
Closure depends on negative space. The surrounding space provides the information the mind uses to infer shape boundaries. Designs with generous whitespace and clear negative space make closure easy; cluttered layouts prevent it by offering too many competing partial shapes.
The mind cannot close a shape it cannot isolate. Reduce surrounding noise before relying on closure.
Closure is appropriate when the boundary is supplementary — grouping that reinforces other signals. Use explicit closure (a full border or filled background) when: