Blob Blame Raw
"""
This module will store the expression controllers of lottie/AE
"""

import sys
import copy
import settings
from common.Count import Count
sys.path.append("../")


def gen_effects_slider(lottie, value, idx):
    """
    Generates the dictionary corresponding to effects/slider.json
    """
    index = Count()
    lottie["ty"] = settings.EFFECTS_SLIDER      # Effect type
    lottie["nm"] = "Slider" + str(idx)
    lottie["ix"] = idx
    lottie["v"] = value