Kition
photoMasks & Compositing· featured

Double Exposure Portrait

A forest at dusk seen through a profile silhouette, built from layers clipped to one head-shaped path.

Double Exposure Portrait — Photo sample rendered by Kition

The classic double-exposure look without a photograph. A profile drawn as one smooth path is the base of a clipping group; above it, clipped, sit a dusk sky gradient, a moon, rendered clouds in Screen mode, three rows of pine silhouettes fading into mist, and a few birds. Nothing spills outside the head (three more birds, unclipped, fly free of it), and the cream page shows through where the clipped layers are transparent.

Steps

26 commands
showcase.yaml27 lines
steps:
  - { command: edit.fill, params: { contents: color, color: "#efe9df" } }
  - { command: shape.create, params: { kind: path, name: Profile, fill: "#1d2b3a", path: {"subpaths": [{"knots": [[330, 1400], {"anchor": [350, 1180], "in": [350.0, 1252.0], "out": [350.0, 1108.0], "smooth": true}, {"anchor": [330, 1000], "in": [344.4, 1064.8], "out": [315.6, 935.2], "smooth": true}, {"anchor": [270, 820], "in": [282.2, 884.8], "out": [257.8, 755.2], "smooth": true}, {"anchor": [262, 640], "in": [251.2, 703.0], "out": [272.8, 577.0], "smooth": true}, {"anchor": [330, 470], "in": [292.6, 520.4], "out": [367.4, 419.6], "smooth": true}, {"anchor": [470, 360], "in": [414.2, 378.0], "out": [525.8, 342.0], "smooth": true}, {"anchor": [640, 370], "in": [590.5, 350.2], "out": [689.5, 389.8], "smooth": true}, {"anchor": [745, 470], "in": [719.8, 428.6], "out": [770.2, 511.4], "smooth": true}, {"anchor": [780, 600], "in": [775.5, 565.8], "out": [784.5, 634.2], "smooth": true}, {"anchor": [770, 660], "in": [762.8, 636.6], "out": [777.2, 683.4], "smooth": true}, {"anchor": [820, 730], "in": [804.2, 710.2], "out": [835.8, 749.8], "smooth": true}, {"anchor": [858, 770], "in": [855.3, 757.4], "out": [860.7, 782.6], "smooth": true}, [835, 800], {"anchor": [800, 812], "in": [804.1, 803.4], "out": [795.9, 820.6], "smooth": true}, {"anchor": [812, 848], "in": [812.4, 837.2], "out": [811.6, 858.8], "smooth": true}, {"anchor": [798, 872], "in": [798.4, 862.3], "out": [797.6, 881.7], "smooth": true}, {"anchor": [810, 902], "in": [811.4, 891.9], "out": [808.6, 912.1], "smooth": true}, {"anchor": [790, 928], "in": [795.8, 918.5], "out": [784.2, 937.5], "smooth": true}, {"anchor": [778, 955], "in": [776.9, 943.8], "out": [779.1, 966.2], "smooth": true}, {"anchor": [796, 990], "in": [797.4, 977.4], "out": [794.6, 1002.6], "smooth": true}, {"anchor": [770, 1025], "in": [787.3, 1014.2], "out": [752.7, 1035.8], "smooth": true}, {"anchor": [700, 1050], "in": [714.8, 1027.5], "out": [685.2, 1072.5], "smooth": true}, {"anchor": [688, 1150], "in": [688.0, 1112.2], "out": [688.0, 1187.8], "smooth": true}, {"anchor": [700, 1260], "in": [687.0, 1215.0], "out": [713.0, 1305.0], "smooth": true}, [760, 1400]]}]} }, as: head }
  - { command: gradient.fill.create, params: { from: [0, 330], to: [0, 1250], stops: [[0, "#f6d5b8"], [0.55, "#d98c7a"], [1, "#3c4f6b"]] }, as: sky }
  - { command: layer.setProps, params: { layer: $sky.layer, name: Dusk Sky, clipped: true } }
  - { command: shape.create, params: { kind: ellipse, rect: [470, 470, 150, 150], fill: "#fff6e6", name: Moon }, as: moon }
  - { command: layer.setProps, params: { layer: $moon.layer, clipped: true } }
  - { command: layer.new.layer, params: { name: Clouds }, as: clouds }
  - { command: tools.setColors, params: { foreground: "#000000", background: "#ffffff" } }
  - { command: select.rect, params: { x: 240, y: 320, width: 640, height: 600 } }
  - { command: filter.render.clouds, params: { seed: 72 } }
  - { command: image.adjustments.levels, params: { inBlack: 120, inWhite: 255 } }
  - { command: select.deselect }
  - { command: layer.setProps, params: { layer: $clouds.layer, blend: Screen, opacity: 0.5, clipped: true } }
  - { command: shape.create, params: { kind: path, name: Far Pines, fill: "#8d7f97", path: { subpaths: [ { knots: [[176, 880], [200, 743], [224, 880]] }, { knots: [[201, 880], [228, 728], [255, 880]] }, { knots: [[225, 880], [257, 697], [289, 880]] }, { knots: [[265, 880], [297, 700], [329, 880]] }, { knots: [[309, 880], [335, 734], [361, 880]] }, { knots: [[332, 880], [364, 698], [396, 880]] }, { knots: [[360, 880], [390, 711], [420, 880]] }, { knots: [[394, 880], [429, 683], [464, 880]] }, { knots: [[424, 880], [455, 703], [486, 880]] }, { knots: [[463, 880], [489, 731], [515, 880]] }, { knots: [[490, 880], [518, 720], [546, 880]] }, { knots: [[523, 880], [544, 758], [565, 880]] }, { knots: [[536, 880], [570, 691], [604, 880]] }, { knots: [[566, 880], [596, 712], [626, 880]] }, { knots: [[597, 880], [628, 706], [659, 880]] }, { knots: [[621, 880], [654, 693], [687, 880]] }, { knots: [[656, 880], [687, 704], [718, 880]] }, { knots: [[694, 880], [728, 690], [762, 880]] }, { knots: [[732, 880], [761, 716], [790, 880]] }, { knots: [[768, 880], [794, 732], [820, 880]] }, { knots: [[806, 880], [834, 723], [862, 880]] }, { knots: [[829, 880], [860, 707], [891, 880]] }, { knots: [[864, 880], [889, 737], [914, 880]] }, { knots: [[120, 879], [1000, 879], [1000, 1400], [120, 1400]] } ] } }, as: far }
  - { command: layer.setProps, params: { layer: $far.layer, clipped: true } }
  - { command: gradient.fill.create, params: { from: [0, 760], to: [0, 1000], stops: [[0, "#f3d1c0"], [1, "#f3d1c0"]], transparency: [[0, 0], [1, 75]] }, as: mist }
  - { command: layer.setProps, params: { layer: $mist.layer, name: Mist, clipped: true } }
  - { command: shape.create, params: { kind: path, name: Mid Pines, fill: "#4e5672", path: { subpaths: [ { knots: [[170, 1010], [200, 843], [230, 1010]] }, { knots: [[208, 1010], [238, 840], [268, 1010]] }, { knots: [[253, 1010], [285, 829], [317, 1010]] }, { knots: [[296, 1010], [330, 818], [364, 1010]] }, { knots: [[330, 1010], [372, 773], [414, 1010]] }, { knots: [[367, 1010], [409, 776], [451, 1010]] }, { knots: [[412, 1010], [450, 795], [488, 1010]] }, { knots: [[453, 1010], [498, 758], [543, 1010]] }, { knots: [[513, 1010], [550, 803], [587, 1010]] }, { knots: [[560, 1010], [600, 786], [640, 1010]] }, { knots: [[615, 1010], [644, 846], [673, 1010]] }, { knots: [[643, 1010], [680, 804], [717, 1010]] }, { knots: [[694, 1010], [730, 810], [766, 1010]] }, { knots: [[740, 1010], [778, 796], [816, 1010]] }, { knots: [[798, 1010], [830, 829], [862, 1010]] }, { knots: [[837, 1010], [871, 820], [905, 1010]] }, { knots: [[885, 1010], [914, 847], [943, 1010]] }, { knots: [[120, 1009], [1000, 1009], [1000, 1400], [120, 1400]] } ] } }, as: mid }
  - { command: layer.setProps, params: { layer: $mid.layer, clipped: true } }
  - { command: shape.create, params: { kind: path, name: Near Pines, fill: "#1c2438", path: { subpaths: [ { knots: [[155, 1160], [200, 910], [245, 1160]] }, { knots: [[206, 1160], [254, 893], [302, 1160]] }, { knots: [[265, 1160], [319, 860], [373, 1160]] }, { knots: [[318, 1160], [371, 863], [424, 1160]] }, { knots: [[363, 1160], [421, 833], [479, 1160]] }, { knots: [[441, 1160], [486, 907], [531, 1160]] }, { knots: [[500, 1160], [543, 916], [586, 1160]] }, { knots: [[556, 1160], [608, 871], [660, 1160]] }, { knots: [[625, 1160], [673, 890], [721, 1160]] }, { knots: [[683, 1160], [727, 911], [771, 1160]] }, { knots: [[730, 1160], [781, 874], [832, 1160]] }, { knots: [[787, 1160], [843, 846], [899, 1160]] }, { knots: [[839, 1160], [893, 855], [947, 1160]] }, { knots: [[120, 1159], [1000, 1159], [1000, 1400], [120, 1400]] } ] } }, as: near }
  - { command: layer.setProps, params: { layer: $near.layer, clipped: true } }
  - { command: shape.create, params: { kind: path, name: Birds, fill: null, stroke: { width: 5, color: "#2a2f45", cap: round, join: round }, path: { subpaths: [ { closed: false, knots: [[640, 690], [658, 676], [672, 690], [686, 676], [704, 690]] }, { closed: false, knots: [[700, 640], [714, 630], [724, 640], [734, 630], [748, 640]] }, { closed: false, knots: [[600, 620], [610, 613], [618, 620], [626, 613], [636, 620]] } ] } }, as: birds }
  - { command: layer.setProps, params: { layer: $birds.layer, clipped: true } }
  - { command: shape.create, params: { kind: path, name: Escaping Birds, fill: null, stroke: { width: 5, color: "#1d2b3a", cap: round, join: round }, path: { subpaths: [ { closed: false, knots: [[860, 540], [878, 526], [892, 540], [906, 526], [924, 540]] }, { closed: false, knots: [[930, 470], [942, 461], [951, 470], [960, 461], [972, 470]] }, { closed: false, knots: [[880, 420], [889, 414], [896, 420], [903, 414], [912, 420]] } ] } } }
  - { command: type.create, params: { x: 550, y: 180, text: "Wild Within", font: Lora, size: 92, italic: true, weight: 500, color: "#1d2b3a", align: center, name: Title } }
  - { command: type.create, params: { x: 550, y: 240, text: "A NOVEL OF THE NORTHERN WOODS", font: Inter, size: 24, tracking: 300, color: "#7a6a62", align: center, name: Subtitle } }

Checks

8 checks on every build
  • inspect.layers = {"count":13}
  • inspect.layers.2 = {"name":"Escaping Birds","clipped":false}
  • inspect.layers.3 = {"name":"Birds","kind":"Shape","clipped":true}
  • inspect.layers.8 = {"name":"Clouds","kind":"Pixel","blend":"Screen","clipped":true}
  • inspect.layers.10 = {"name":"Dusk Sky","kind":"Fill","clipped":true}
  • inspect.layers.11 = {"name":"Profile","kind":"Shape","clipped":false}
  • Diagnostics: none, the kit's own check finds nothing wrong
  • The saved document opens again, and its thumbnail matches thumb.png within the render tolerance

Related

More Photo samples
photoMasks & Compositing

Blend Modes Sampler

The same gradient disc over the same texture in twelve blend modes, from Multiply and Screen to Difference and Luminosity.

1600 × 1200 px; 29 layers; 14 type layers; 13 shape layers; 1 fill layer; 1 mask
photoMasks & Compositing

Moonlit Night Vignette

A full moon over a pine ridge, with rendered stars and clouds, framed by a vignette layer whose mask is a feathered ellipse.

1600 × 1000 px; 10 layers; 4 shape layers; 2 fill layers; 1 styled layer; 2 masks
photoMasks & Compositing

Wood Grain Type Clipping

A workshop sign whose letters show a wood texture through a clipping mask; the wood is a smart object with editable smart filters.

1600 × 900 px; 6 layers; 2 type layers; 1 shape layer; 1 fill layer; 1 smart object; 1 styled layer
photoPosters & Marketing

Synthwave Concert Poster

A retro night-concert poster with a striped gradient sun, smoky clouds, a lens flare and glowing headline type.

1000 × 1400 px; 18 layers; 6 type layers; 6 shape layers; 1 fill layer; 2 groups; 2 styled layers; 1 mask