# Path: opc/hue.py
# def getColorGen(step=0.05, hue=0, sat=1, val=1):
#     """
#     Generator that returns a stream of shades as colors
#     """
#     hue = getHueGen(step, hue)
#     while True:
#         yield hsvToRgb(next(hue), sat, val)


from ._baseclass import ArtBaseClass
from opc.hue import getColorGen
import math




class Art(ArtBaseClass):

    description = "Rolling sine wave marks border between contrasting colors"

    def __init__(self, matrix, config):
        self.hue1 = getColorGen(step=0.00001, hue=0.0)

# Path: opc/hue.py
# def getColorGen(step=0.05, hue=0, sat=1, val=1):
#     """
#     Generator that returns a stream of shades as colors
#     """
#     hue = getHueGen(step, hue)
#     while True:
#         yield hsvToRgb(next(hue), sat, val)


# Path: art/sine.py
from ._baseclass import ArtBaseClass
from opc.hue import getColorGen
import math





class Art(ArtBaseClass):

    description = "Rolling sine wave marks border between contrasting colors"

    def __init__(self, matrix, config):
        self.hue1 = getColorGen(step=0.00001, hue=0.0)

        self.hue2 = getColorGen(step=0.00001, hue=0.5)