""" Shared utilities for ComfyUI-ShaderNoiseKSampler. This package provides common functionality used across shader generators: - color_utils: Color scheme interpolation and application - shape_masks: Shape mask generation and application - noise_utils: Noise generation (simplex, FBM, etc.) """ from .color_utils import ( COLOR_SCHEMES, lerp, hsv_to_rgb, interpolate_colors, apply_color_scheme, ) from .shape_masks import ( SHAPE_TYPES, smoothstep, apply_shape_mask, ) from .noise_utils import ( simplex_noise_2d, simplex_noise_3d, fbm_noise, random_gradient, create_coordinate_grid, ) __all__ = [ # Color utilities "COLOR_SCHEMES", "lerp", "hsv_to_rgb", "interpolate_colors", "apply_color_scheme", # Shape masks "SHAPE_TYPES", "smoothstep", "apply_shape_mask", # Noise utilities "simplex_noise_2d", "simplex_noise_3d", "fbm_noise", "random_gradient", "create_coordinate_grid", ]