ComfyUI Node

Light Leak

A ComfyUI node in AKURATE/Darkroom/Film with 14 inputs and 2 outputs.

By jeremieLouvaert·Created 5 months ago·Updated a day ago· 96
Light Leak
  • image
  • image
  • leak_mask
leak_typesprocket trap (perforation modulated)
leak_fromtop
strength0.45
falloff200
colour_sourcebase path (derived red-shift)
diffusion0.35
pinhole_count3
pinhole_diameter0.30
flange_distance50
displacement100
displacement_scale380
vary_per_framefalse
seed42
CategoryAKURATE/Darkroom/Film

Inputs (14)

NameTypeDefaultDescription
imageIMAGE
leak_typeoptCOMBOsprocket trap (perforation modulated)Sprocket = edge falloff modulated by the KS-1870 perforation lattice. Gradient = seal/bellows wedge. Pinhole = camera-obscura spots, neutral by physics
leak_fromoptCOMBOtopWhich edge or corner the light enters from. Sprocket collapses a corner to its edge, since perforations run along the film's long edge
strengthoptFLOAT0.450–3Leak exposure added, in linear light. 0 = passthrough
falloffoptFLOAT20020–1200Red-channel penetration depth, ref-px @1024 long edge. Green and blue follow at 0.62 and 0.38 of it, which is what reddens the leak with distance
colour_sourceoptCOMBObase path (derived red-shift)Base path = the derived white-core-to-red gradient. Backing paper = 120 roll-paper dye, an honest preset. Neutral = source colour, no lateral path
diffusionoptFLOAT0.350–1.5Sprocket only: lateral spreading of light past a perforation. Above 0 the comb widens and softens with depth; at 0 the teeth keep straight sides and read as a bar chart
pinhole_countoptINT31–40Pinhole only: number of holes in the body/bellows
pinhole_diameteroptFLOAT0.300.02–3Pinhole only: hole diameter in mm. Sets the penumbra (the 'a' term in spot size = a + D*theta)
flange_distanceoptFLOAT5010–300Pinhole only: hole-to-film distance in mm. Spot size = a + D*theta, so a deeper body projects a larger spot
displacementoptFLOAT1000–500Warps the PATH LENGTH so the leak boundary wanders instead of running parallel to the frame edge. Because colour follows path length, the red fringe warps with it. 0 = clean analytic field
displacement_scaleoptFLOAT380142–1500Warp feature size, ref-px @1024. Clamped at 142 (5mm of seam): anything finer stops being a mechanical gap variation and reads as noise running through the effect
vary_per_frameoptBOOLEANfalseBatch of N gets N different leaks. Off keeps one leak across the batch, which is usually what you want for a sequence
seedoptINT420–4294967295Seeds the perforation phase, the pinhole placement and the displacement warp

Outputs (2)

NameTypeDescription
imageIMAGE
leak_maskMASK