design_add_mark_field
Add a mark-field layer that fills regions with short directional marks following a vector field to create hatching or cross-hatching aligned with flow direction.
Instructions
Add a mark-field layer — fills regions with short directional marks following a vector field. Creates hatching/cross-hatching effects that follow flow direction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | Mark color as hex string (default: "#2a2a2a"). | |
| field | No | Vector field shorthand. Shorthands: "noise:seed:scale:octaves", "linear:angleDeg:magnitude", "radial:cx:cy:diverge|converge", "vortex:cx:cy:radius", "algorithm:channelName". Default: "noise:0:0.1:3". | |
| index | No | Layer stack position (default: top). | |
| density | No | Number of marks (50–5000, default: 800). | |
| opacity | No | Layer opacity 0–1 (default: 0.7). | |
| horizonY | No | Horizon Y position 0–1 (default: 0.3). | |
| paintMode | No | Composite operation (default: multiply). | |
| depthScale | No | Scale density + weight with vertical position (default: false). | |
| markLength | No | Mark length in pixels (3–60, default: 15). | |
| markWeight | No | Mark stroke weight (0.3–8, default: 1.2). |