Nodes/ComfyUI-Darkroom/Long Exposure
ComfyUI Node

Long Exposure

A ComfyUI node in AKURATE/Darkroom/Lens with 9 inputs and 1 output.

By jeremieLouvaert·Created 5 months ago·Updated a day ago· 96
Long Exposure
  • image
  • subject_mask
  • image
exposure_px45
hand_steadiness1.00
variety1.00
roll_deg1.5
seed0
poses96
vary_per_framefalse
CategoryAKURATE/Darkroom/Lens

Inputs (9)

NameTypeDefaultDescription
imageIMAGE
exposure_pxFLOAT450–300How far the camera wanders during the exposure, in pixels. The intensity dial: it is the shutter speed and the steadiness of the hand rolled into one. 0 returns the image untouched, exactly.
hand_steadinessFLOAT1.000–4Character of the shake, not its size. 1.0 is a real human hand -- the default reproduces the measured tremor spectrum (about 90% of the movement below 3.5Hz, 24% in the 7.5-12.5Hz tremor band). 0 is a perfectly smooth drift, like a slow tripod pan. Above 1 the hand gets jittery and the smear starts to read as digital rather than photographic.
varietyFLOAT1.000–3How much the movement CHANGES during the exposure. This is intentional camera movement, so the hand does not travel at one steady rate: it dwells, then swoops, or whips and then settles. 0 gives a uniform drift (every part of the exposure moving at the same speed, which reads mechanical). 1.0 gives roughly a 4x spread between the slowest and fastest stretch; 2.0 about 6x. Dwelling is what leaves a readable core with the smear trailing off it.
roll_degFLOAT1.50–15How much the camera twists about the lens axis. This is the only part of the shake that varies ACROSS the frame: corners are further from the axis, so they travel further than the centre, which is exactly zero. Set 0 for a pure shift.
seedINT00–4294967295Which shake. Same seed gives the same hand.
subject_maskoptMASKWhere the movement applies, 0 to 1. This is how a SUBJECT moves separately from the camera -- the one thing a single camera path cannot express. Mask the subject to smear it against a still background, or invert it to hold the subject sharp while the world moves around it.
posesoptINT968–256How many camera positions the exposure is sampled at. Too few and the smear breaks into visible separate copies (which is a real look, just a different one -- a strobe rather than a smear). Cost is linear in this.
vary_per_frameoptBOOLEANfalseRe-roll the shake for each frame of a batch. Off means one exposure applied to every frame.

Outputs (1)

NameTypeDescription
imageIMAGE