module Effect

Defined in:

effect.cr

Constant Summary

EFFECT_COSTS = {"ascii" => 10}

An effect that has an arbritary computational cost associated with it should be declared in this table.

Effects not declared shall have a default cost of 1.

PARAMETIZED_EFFECTS = {"brightness" => 1, "contrast" => 1, "hue" => 1, "jpgify" => 1, "hypercam2" => 1, "pixelate" => 1, "rotate" => 1, "saturation" => 1, "ascii" => 1, "scale" => 2}

Any effect that has support for arguments should be registered here Effects not here are assumed to not have any parameters