# 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
from math import sin, cos, pi
from .utils.frange import frange




DELTA_Z = 0.02


class Art(ArtBaseClass):

    description = "Lissajous figures"

    def __init__(self, matrix, config):

# 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/lissajous.py
from ._baseclass import ArtBaseClass
from opc.hue import getColorGen
from math import sin, cos, pi
from .utils.frange import frange





DELTA_Z = 0.02


class Art(ArtBaseClass):

    description = "Lissajous figures"

    def __init__(self, matrix, config):

        self.color = getColorGen(0.01)