LightRandomizer
LightRandomizer samples properties independently for each selected light. Register lights on the Scene before adding the node.
python
from telekinesis.illusion.randomizer.randomizer_node import LightRandomizer
from telekinesis.illusion.types.distribution import uniform
node = LightRandomizer(
["key"],
color=uniform((0.8, 0.85, 0.9), (1.0, 1.0, 1.0)),
power=uniform(20.0, 60.0),
radius=uniform(0.02, 0.08),
)target_lights=None selects all registered lights; explicit names match exactly. Properties accept fixed values or uniform(min, max). Supported properties depend on the light type: all types support color and power; point and spot lights support radius; area lights support shape, size, and size_y; sun lights support angle; spot lights support spot_size and spot_blend.
Invalid properties and range endpoints are rejected before any light is changed. Use separate nodes when different light types need different property sets. Pass seed= for a private deterministic RNG stream.