text: /*
  Copyright 2019 Colin Clark
  
  Licensed under the MIT license.
  https://github.com/colinbdclark/bubbles/raw/master/LICENSE
  */
  
  "use strict";
  
  fluid.defaults("bubbles.compositor", {
      gradeNames: "aconite.animator",
  
      fps: 60,
  
      model: {
          numReadyLayers: 0,
          gain: 1.0,
          // Go home, Aconite, you're drunk
          opacity: "{that}.glRenderer.options.uniforms.opacity.values",
          redScale: "{that}.glRenderer.options.uniforms.redScale.values",
          greenScale: "{that}.glRenderer.options.uniforms.greenScale.values",
          blueScale: "{that}.glRenderer.options.uniforms.blueScale.values",
          keyerMin: "{that}.glRenderer.options.uniforms.keyerMin.values",
          keyerMax: "{that}.glRenderer.options.uniforms.keyerMax.values",
          brightness: "{that}.glRenderer.options.uniforms.brightness.values",
          contrast: "{that}.glRenderer.options.uniforms.contrast.values",
          saturation: "{that}.glRenderer.options.uniforms.saturation.values"
      },
  
      uniformModelMap: {
          numReadyLayers: "numReadyLayers",
          gain: "gain",
          opacity: "opacity",
          redScale: "redScale",
          greenScale: "greenScale",
          blueScale: "blueScale",
          keyerMin: "keyerMin",
          keyerMax: "keyerMax",
          brightness: "brightness",
          contrast: "contrast",
          saturation: "saturation"
      },
  
      listeners: {
          "onReady.play": "{that}.play()"
      }
  });
  