added the ability to schedule some values in the FX nodes, as well as optimized some code to make them a little faster. Iv also added a % complete print in the console so you can see how far along the processing is =)
75 lines
4.3 KiB
Python
75 lines
4.3 KiB
Python
from .fl_image_randomizer import FL_ImageRandomizer
|
|
from .fl_image_caption_saver import FL_ImageCaptionSaver
|
|
from .fl_image_dimension_display import FL_ImageDimensionDisplay
|
|
from .fl_audio_frame_calculator import FL_AudioFrameCalculator
|
|
from .fl_audio_preview import FL_AudioPreview
|
|
from .fl_image_duration_sync import FL_ImageDurationSync
|
|
from .fl_vhs_audio import FL_AudioConverter
|
|
from .fl_code_node import FL_CodeNode
|
|
from .fl_image_pixelator import FL_ImagePixelator
|
|
from .fl_directorycrawl import FL_DirectoryCrawl
|
|
from .fl_ascii import FL_Ascii
|
|
from .fl_glitch import FL_Glitch
|
|
from .fl_ripple import FL_Ripple
|
|
from .fl_pixelsort import FL_PixelSort
|
|
from .fl_hexagonalpattern import FL_HexagonalPattern
|
|
|
|
|
|
|
|
NODE_CLASS_MAPPINGS = {
|
|
"FL_ImageRandomizer": FL_ImageRandomizer,
|
|
"FL_ImageCaptionSaver": FL_ImageCaptionSaver,
|
|
"FL_ImageDimensionDisplay": FL_ImageDimensionDisplay,
|
|
"FL_AudioPreview": FL_AudioPreview,
|
|
"FL_ImageDurationSync": FL_ImageDurationSync,
|
|
"FL_AudioConverter": FL_AudioConverter,
|
|
"FL_AudioFrameCalculator": FL_AudioFrameCalculator,
|
|
"FL_CodeNode": FL_CodeNode,
|
|
"FL_ImagePixelator": FL_ImagePixelator,
|
|
"FL_DirectoryCrawl": FL_DirectoryCrawl,
|
|
"FL_Ascii": FL_Ascii,
|
|
"FL_Glitch": FL_Glitch,
|
|
"FL_Ripple": FL_Ripple,
|
|
"FL_PixelSort": FL_PixelSort,
|
|
"FL_HexagonalPattern": FL_HexagonalPattern
|
|
}
|
|
|
|
NODE_DISPLAY_NAME_MAPPINGS = {
|
|
"FL_ImageRandomizer": "FL Image Randomizer",
|
|
"FL_ImageCaptionSaver": "FL Image Caption Saver",
|
|
"FL_ImageDimensionDisplay": "FL Image Size",
|
|
"FL_AudioPreview": "FL Audio Preview",
|
|
"FL_ImageDurationSync": "FL Image Duration Sync",
|
|
"FL_AudioConverter": "FL VHS Audio Converter",
|
|
"FL_AudioFrameCalculator": "FL Audio Scanner",
|
|
"FL_CodeNode": "FL Code Node",
|
|
"FL_ImagePixelator": "FL Image Pixelator",
|
|
"FL_DirectoryCrawl": "FL DirectoryCrawl",
|
|
"FL_Ascii": "FL Ascii",
|
|
"FL_Glitch": "FL Glitch",
|
|
"FL_Ripple": "FL Ripple",
|
|
"FL_PixelSort": "FL PixelSort",
|
|
"FL_HexagonalPattern": "FL Hexagonal Pattern"
|
|
}
|
|
|
|
|
|
|
|
WEB_DIRECTORY = "./web"
|
|
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS']
|
|
|
|
|
|
|
|
ascii_art = """
|
|
|
|
███╗ ███╗ █████╗ ██████╗██╗ ██╗██╗███╗ ██╗███████╗ ██████╗ ███████╗██╗ ██╗ ██╗███████╗██╗ ██████╗ ███╗ ██╗███████╗
|
|
████╗ ████║██╔══██╗██╔════╝██║ ██║██║████╗ ██║██╔════╝ ██╔══██╗██╔════╝██║ ██║ ██║██╔════╝██║██╔═══██╗████╗ ██║██╔════╝
|
|
██╔████╔██║███████║██║ ███████║██║██╔██╗ ██║█████╗ ██║ ██║█████╗ ██║ ██║ ██║███████╗██║██║ ██║██╔██╗ ██║███████╗
|
|
██║╚██╔╝██║██╔══██║██║ ██╔══██║██║██║╚██╗██║██╔══╝ ██║ ██║██╔══╝ ██║ ██║ ██║╚════██║██║██║ ██║██║╚██╗██║╚════██║
|
|
██║ ╚═╝ ██║██║ ██║╚██████╗██║ ██║██║██║ ╚████║███████╗ ██████╔╝███████╗███████╗╚██████╔╝███████║██║╚██████╔╝██║ ╚████║███████║
|
|
╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚══════╝╚══════╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚══════╝
|
|
|
|
"""
|
|
print(ascii_art)
|
|
|
|
WEB_DIRECTORY = "./web"
|
|
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS'] |