Effects¶
keyed.effects
¶
Raster effects.
Note
This module currently only defines the Effect Protocol. You can find some concrete
effect implementations in keyed-extras, the sponsorware extension
for the keyed library. Some of these effects will eventually be merged into the
main package.
Effect
¶
Bases: Protocol
Protocol defining the Effects interface.
In keyed, effects are raster-based, and are applied to keyed.scene.Layers during the
compositing process.
Effects modify a layer's rasterized data (represented as a NumPy array).
Implementations must define an apply method that modifies the input array in-place.