# This file is part of project Sverchok. It's copyrighted by the contributors
# recorded in the version control history of the file, available from
# its original location https://github.com/nortikin/sverchok/commit/master
#  
# SPDX-License-Identifier: GPL3
# License-Filename: LICENSE


noise_options = [
    ('BLENDER', 0),
    ('PERLIN_ORIGINAL', 1),
    ('PERLIN_NEW', 2),
    ('VORONOI_F1', 3),
    ('VORONOI_F2', 4),
    ('VORONOI_F3', 5),
    ('VORONOI_F4', 6),
    ('VORONOI_F2F1', 7),
    ('VORONOI_CRACKLE', 8),
    ('CELLNOISE', 14)
]

def get_noise_type(name):
    return dict(noise_options)[name]

for name, value in noise_options:
    locals()[name] = name

