added unicode emojis for QoL
This commit is contained in:
+4
-4
@@ -26,7 +26,7 @@ class StringConcatenate:
|
||||
RETURN_TYPES = ("STRING",)
|
||||
FUNCTION = "frame_concatenate_list"
|
||||
|
||||
CATEGORY = "FizzNodes/FrameNodes"
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/FrameNodes"
|
||||
|
||||
def frame_concatenate_list(self, text_a, text_b, frame_b, text_c=None, frame_c=None, text_d=None, frame_d=None, text_e=None, frame_e=None, text_f=None, frame_f=None, text_g=None, frame_g=None):
|
||||
|
||||
@@ -70,7 +70,7 @@ class InitNodeFrame:
|
||||
RETURN_TYPES = ("FIZZFRAME","CONDITIONING","CONDITIONING",)
|
||||
FUNCTION = "create_frame"
|
||||
|
||||
CATEGORY = "FizzNodes/FrameNodes"
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/FrameNodes"
|
||||
|
||||
def create_frame(self, frame, positive_text, negative_text=None, general_positive=None, general_negative=None, previous_frame=None, clip=None):
|
||||
new_frame = {
|
||||
@@ -131,7 +131,7 @@ class NodeFrame:
|
||||
RETURN_TYPES = ("FIZZFRAME","CONDITIONING","CONDITIONING",)
|
||||
FUNCTION = "create_frame"
|
||||
|
||||
CATEGORY = "FizzNodes/FrameNodes"
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/FrameNodes"
|
||||
|
||||
def create_frame(self, frame, previous_frame, positive_text, negative_text=None):
|
||||
self.frames = previous_frame.frames
|
||||
@@ -174,7 +174,7 @@ class FrameConcatenate:
|
||||
RETURN_TYPES = ("STRING",)
|
||||
FUNCTION = "frame_concatenate"
|
||||
|
||||
CATEGORY = "FizzNodes/FrameNodes"
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/FrameNodes"
|
||||
|
||||
def frame_concatenate(self, frame):
|
||||
text_list = ""
|
||||
|
||||
+15
-15
@@ -68,7 +68,7 @@ class PromptSchedule:
|
||||
RETURN_TYPES = ("CONDITIONING", "CONDITIONING",)
|
||||
RETURN_NAMES = ("POS", "NEG",)
|
||||
FUNCTION = "animate"
|
||||
CATEGORY = "FizzNodes/ScheduleNodes"
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/ScheduleNodes"
|
||||
|
||||
def animate(self, text, max_frames, print_output, current_frame, clip, pw_a=0, pw_b=0, pw_c=0, pw_d=0, pre_text='', app_text=''):
|
||||
inputText = str("{" + text + "}")
|
||||
@@ -111,7 +111,7 @@ class BatchPromptSchedule:
|
||||
RETURN_NAMES = ("POS", "NEG",)
|
||||
FUNCTION = "animate"
|
||||
|
||||
CATEGORY = "FizzNodes/BatchScheduleNodes"
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/BatchScheduleNodes"
|
||||
|
||||
def animate(self, text, max_frames, print_output, clip, pw_a, pw_b, pw_c, pw_d, pre_text='', app_text=''):
|
||||
inputText = str("{" + text + "}")
|
||||
@@ -152,7 +152,7 @@ class BatchPromptScheduleLatentInput:
|
||||
RETURN_NAMES = ("POS", "NEG", "INPUT_LATENTS",)
|
||||
FUNCTION = "animate"
|
||||
|
||||
CATEGORY = "FizzNodes/BatchScheduleNodes"
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/BatchScheduleNodes"
|
||||
|
||||
def animate(self, text, num_latents, print_output, clip, pw_a, pw_b, pw_c, pw_d, pre_text='', app_text=''):
|
||||
max_frames = sum(tensor.size(0) for tensor in num_latents.values())
|
||||
@@ -196,7 +196,7 @@ class StringSchedule:
|
||||
RETURN_TYPES = ("STRING",)
|
||||
FUNCTION = "animate"
|
||||
|
||||
CATEGORY = "FizzNodes/ScheduleNodes"
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/ScheduleNodes"
|
||||
|
||||
def animate(self, text, max_frames, current_frame, pw_a=0, pw_b=0, pw_c=0, pw_d=0, pre_text='', app_text=''):
|
||||
inputText = str("{" + text + "}")
|
||||
@@ -247,7 +247,7 @@ class BatchStringSchedule:
|
||||
RETURN_TYPES = ("STRING",)
|
||||
FUNCTION = "animate"
|
||||
|
||||
CATEGORY = "FizzNodes/BatchScheduleNodes"
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/BatchScheduleNodes"
|
||||
|
||||
def animate(self, text, max_frames, pw_a=0, pw_b=0, pw_c=0, pw_d=0, pre_text='', app_text=''):
|
||||
inputText = str("{" + text + "}")
|
||||
@@ -284,7 +284,7 @@ class BatchPromptScheduleEncodeSDXL:
|
||||
RETURN_TYPES = ("CONDITIONING",)
|
||||
FUNCTION = "animate"
|
||||
|
||||
CATEGORY = "FizzNodes/BatchScheduleNodes"
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/BatchScheduleNodes"
|
||||
|
||||
def animate(self, clip, width, height, crop_w, crop_h, target_width, target_height, text_g, text_l, app_text_G, app_text_L, pre_text_G, pre_text_L, max_frames, print_output, pw_a, pw_b, pw_c, pw_d):
|
||||
inputTextG = str("{" + text_g + "}")
|
||||
@@ -321,7 +321,7 @@ class BatchPromptScheduleEncodeSDXLLatentInput:
|
||||
RETURN_TYPES = ("CONDITIONING", "LATENT",)
|
||||
FUNCTION = "animate"
|
||||
|
||||
CATEGORY = "FizzNodes/BatchScheduleNodes"
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/BatchScheduleNodes"
|
||||
|
||||
def animate(self, clip, width, height, crop_w, crop_h, target_width, target_height, text_g, text_l, app_text_G, app_text_L, pre_text_G, pre_text_L, num_latents, print_output, pw_a, pw_b, pw_c, pw_d):
|
||||
max_frames = sum(tensor.size(0) for tensor in num_latents.values())
|
||||
@@ -359,7 +359,7 @@ class PromptScheduleEncodeSDXL:
|
||||
RETURN_TYPES = ("CONDITIONING",)
|
||||
FUNCTION = "animate"
|
||||
|
||||
CATEGORY = "FizzNodes/ScheduleNodes"
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/ScheduleNodes"
|
||||
|
||||
def animate(self, clip, width, height, crop_w, crop_h, target_width, target_height, text_g, text_l, app_text_G, app_text_L, pre_text_G, pre_text_L, max_frames, current_frame, pw_a, pw_b, pw_c, pw_d):
|
||||
inputTextG = str("{" + text_g + "}")
|
||||
@@ -382,7 +382,7 @@ class PromptScheduleNodeFlow:
|
||||
|
||||
RETURN_TYPES = ("INT","STRING",)
|
||||
FUNCTION = "addString"
|
||||
CATEGORY = "FizzNodes/ScheduleNodes"
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/ScheduleNodes"
|
||||
|
||||
def addString(self, text, in_text='', max_frames=0, num_frames=0):
|
||||
if in_text:
|
||||
@@ -423,7 +423,7 @@ class PromptScheduleNodeFlowEnd:
|
||||
RETURN_NAMES = ("POS", "NEG",)
|
||||
FUNCTION = "animate"
|
||||
|
||||
CATEGORY = "FizzNodes/ScheduleNodes"
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/ScheduleNodes"
|
||||
|
||||
def animate(self, text, max_frames, print_output, current_frame, clip, pw_a = 0, pw_b = 0, pw_c = 0, pw_d = 0, pre_text = '', app_text = ''):
|
||||
if text[-1] == ",":
|
||||
@@ -468,7 +468,7 @@ class BatchPromptScheduleNodeFlowEnd:
|
||||
|
||||
FUNCTION = "animate"
|
||||
|
||||
CATEGORY = "FizzNodes/BatchScheduleNodes"
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/BatchScheduleNodes"
|
||||
|
||||
def animate(self, text, max_frames, print_output, clip, pw_a=0, pw_b=0, pw_c=0, pw_d=0, pre_text='', current_frame = 0,
|
||||
app_text=''):
|
||||
@@ -523,7 +523,7 @@ class BatchGLIGENSchedule:
|
||||
RETURN_TYPES = ("CONDITIONING",)
|
||||
FUNCTION = "animate"
|
||||
|
||||
CATEGORY = "FizzNodes/BatchScheduleNodes"
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/BatchScheduleNodes"
|
||||
|
||||
def animate(self, conditioning_to, clip, gligen_textbox_model, text, width, height, x, y, max_frames, print_output, pw_a, pw_b, pw_c, pw_d, pre_text='', app_text=''):
|
||||
inputText = str("{" + text + "}")
|
||||
@@ -573,7 +573,7 @@ class ValueSchedule:
|
||||
RETURN_TYPES = ("FLOAT", "INT")
|
||||
FUNCTION = "animate"
|
||||
|
||||
CATEGORY = "FizzNodes/ScheduleNodes"
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/ScheduleNodes"
|
||||
|
||||
def animate(self, text, max_frames, current_frame,):
|
||||
t = get_inbetweens(parse_key_frames(text, max_frames), max_frames)
|
||||
@@ -590,7 +590,7 @@ class BatchValueSchedule:
|
||||
RETURN_TYPES = ("FLOAT", "INT")
|
||||
FUNCTION = "animate"
|
||||
|
||||
CATEGORY = "FizzNodes/BatchScheduleNodes"
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/BatchScheduleNodes"
|
||||
|
||||
def animate(self, text, max_frames, ):
|
||||
t = batch_get_inbetweens(batch_parse_key_frames(text, max_frames), max_frames)
|
||||
@@ -606,7 +606,7 @@ class BatchValueScheduleLatentInput:
|
||||
RETURN_TYPES = ("FLOAT", "INT", "LATENT", )
|
||||
FUNCTION = "animate"
|
||||
|
||||
CATEGORY = "FizzNodes/BatchScheduleNodes"
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/BatchScheduleNodes"
|
||||
|
||||
def animate(self, text, num_latents, ):
|
||||
num_elements = sum(tensor.size(0) for tensor in num_latents.values())
|
||||
|
||||
+11
-11
@@ -10,7 +10,7 @@ class Lerp:
|
||||
RETURN_TYPES = ("FLOAT", "INT",)
|
||||
FUNCTION = "lerp"
|
||||
|
||||
CATEGORY = "FizzNodes/WaveNodes"
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/WaveNodes"
|
||||
|
||||
def lerp(self, num_Images, strength, current_frame):
|
||||
step = strength/num_Images
|
||||
@@ -29,7 +29,7 @@ class SinWave:
|
||||
RETURN_TYPES = ("FLOAT","INT",)
|
||||
FUNCTION = "Wave"
|
||||
|
||||
CATEGORY = "FizzNodes/WaveNodes"
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/WaveNodes"
|
||||
|
||||
def Wave(self, phase, amplitude, x_translation, y_translation, current_frame):
|
||||
output = (y_translation+(amplitude*(np.sin((2*np.pi*current_frame/phase-x_translation)))))
|
||||
@@ -48,7 +48,7 @@ class InvSinWave:
|
||||
RETURN_TYPES = ("FLOAT", "INT")
|
||||
FUNCTION = "Wave"
|
||||
|
||||
CATEGORY = "FizzNodes/WaveNodes"
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/WaveNodes"
|
||||
|
||||
def Wave(self, phase, amplitude, x_translation, y_translation, current_frame):
|
||||
output = (y_translation+(amplitude*-(np.sin(-1*(2*np.pi*current_frame/phase-x_translation)))))
|
||||
@@ -67,7 +67,7 @@ class CosWave:
|
||||
RETURN_TYPES = ("FLOAT", "INT", )
|
||||
FUNCTION = "Wave"
|
||||
|
||||
CATEGORY = "FizzNodes/WaveNodes"
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/WaveNodes"
|
||||
|
||||
def Wave(self, phase, amplitude, x_translation, y_translation, current_frame):
|
||||
output = (y_translation+(amplitude*(np.cos((2*np.pi*current_frame/phase-x_translation)))))
|
||||
@@ -86,7 +86,7 @@ class InvCosWave:
|
||||
RETURN_TYPES = ("FLOAT", "INT", )
|
||||
FUNCTION = "Wave"
|
||||
|
||||
CATEGORY = "FizzNodes/WaveNodes"
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/WaveNodes"
|
||||
|
||||
def Wave(self, phase, amplitude, x_translation, y_translation, current_frame):
|
||||
output = (y_translation+(amplitude*-(np.cos(-1*(2*np.pi*current_frame/phase-x_translation)))))
|
||||
@@ -105,7 +105,7 @@ class SquareWave:
|
||||
RETURN_TYPES = ("FLOAT", "INT",)
|
||||
FUNCTION = "Wave"
|
||||
|
||||
CATEGORY = "FizzNodes/WaveNodes"
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/WaveNodes"
|
||||
|
||||
def Wave(self, phase, amplitude, x_translation, y_translation, current_frame):
|
||||
output = (y_translation+(amplitude*0**0**(0-np.sin((np.pi*current_frame/phase-x_translation)))))
|
||||
@@ -124,7 +124,7 @@ class SawtoothWave:
|
||||
RETURN_TYPES = ("FLOAT", "INT", )
|
||||
FUNCTION = "Wave"
|
||||
|
||||
CATEGORY = "FizzNodes/WaveNodes"
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/WaveNodes"
|
||||
|
||||
def Wave(self, phase, step_increment, x_translation, start_value, current_frame):
|
||||
output = (start_value+(step_increment*(current_frame%phase)-x_translation))
|
||||
@@ -142,8 +142,8 @@ class TriangleWave:
|
||||
}}
|
||||
RETURN_TYPES = ("FLOAT", "INT",)
|
||||
FUNCTION = "Wave"
|
||||
|
||||
CATEGORY = "FizzNodes/WaveNodes"
|
||||
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/WaveNodes"
|
||||
|
||||
def Wave(self, phase, amplitude, x_translation, y_translation, current_frame):
|
||||
output = (y_translation+amplitude/np.pi*(np.arcsin(np.sin(2*np.pi/phase*current_frame-x_translation))))
|
||||
@@ -162,7 +162,7 @@ class AbsCosWave:
|
||||
RETURN_TYPES = ("FLOAT", "INT")
|
||||
FUNCTION = "Wave"
|
||||
|
||||
CATEGORY = "FizzNodes/WaveNodes"
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/WaveNodes"
|
||||
|
||||
def Wave(self, phase, amplitude, x_translation, max_value, current_frame):
|
||||
output = (max_value-(np.abs(np.cos(current_frame/phase))*amplitude))
|
||||
@@ -181,7 +181,7 @@ class AbsSinWave:
|
||||
RETURN_TYPES = ("FLOAT", "INT")
|
||||
FUNCTION = "Wave"
|
||||
|
||||
CATEGORY = "FizzNodes/WaveNodes"
|
||||
CATEGORY = "FizzNodes 📅🅕🅝/WaveNodes"
|
||||
|
||||
def Wave(self, phase, amplitude, x_translation, max_value, current_frame):
|
||||
output = (max_value-(np.abs(np.sin(current_frame/phase))*amplitude))
|
||||
|
||||
+27
-7
@@ -96,12 +96,32 @@ NODE_CLASS_MAPPINGS = {
|
||||
}
|
||||
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {
|
||||
|
||||
"PromptScheduleEncodeSDXL": "PromptScheduleSDXL",
|
||||
"BatchPromptScheduleEncodeSDXL": "BatchPromptScheduleSDXL",
|
||||
"BatchStringSchedule": "BatchStringSchedule",
|
||||
"BatchValueScheduleLatentInput": "BatchValueSchedule(LatentInput)",
|
||||
"BatchPromptScheduleSDXLLatentInput": "BatchPromptScheduleSDXL(LatentInput)",
|
||||
"BatchPromptScheduleLatentInput": "BatchPromptSchedule(LatentInput)",
|
||||
"Lerp": "Lerp 📅🅕🅝",
|
||||
"SinWave": "SinWave 📅🅕🅝",
|
||||
"InvSinWave": "InvSinWave 📅🅕🅝",
|
||||
"CosWave": "CosWave 📅🅕🅝",
|
||||
"InvCosWave": "InvCosWave 📅🅕🅝",
|
||||
"SquareWave":"SquareWave 📅🅕🅝",
|
||||
"SawtoothWave": "SawtoothWave 📅🅕🅝",
|
||||
"TriangleWave": "TriangleWave 📅🅕🅝",
|
||||
"AbsCosWave": "AbsCosWave 📅🅕🅝",
|
||||
"AbsSinWave": "AbsSinWave 📅🅕🅝",
|
||||
"PromptSchedule": "Prompt Schedule 📅🅕🅝",
|
||||
"ValueSchedule": "Value Schedule 📅🅕🅝",
|
||||
"PromptScheduleNodeFlow": "Prompt Schedule NodeFlow 📅🅕🅝",
|
||||
"PromptScheduleNodeFlowEnd": "Prompt Schedule NodeFlow End 📅🅕🅝",
|
||||
"StringSchedule":"String Schedule 📅🅕🅝",
|
||||
"StringConcatenate":"String Concatenate 📅🅕🅝",
|
||||
"Init FizzFrame":"Init Node Frame 📅🅕🅝",
|
||||
"FizzFrame":"Node Frame 📅🅕🅝",
|
||||
"FizzFrameConcatenate":"Frame Concatenate 📅🅕🅝",
|
||||
"BatchPromptSchedule": "Batch Prompt Schedule 📅🅕🅝",
|
||||
"BatchValueSchedule": "Batch Value Schedule 📅🅕🅝",
|
||||
"PromptScheduleEncodeSDXL": "Prompt Schedule SDXL 📅🅕🅝",
|
||||
"BatchPromptScheduleEncodeSDXL": "Batch Prompt Schedule SDXL📅🅕🅝",
|
||||
"BatchStringSchedule": "Batch String Schedule 📅🅕🅝",
|
||||
"BatchValueScheduleLatentInput": "Batch Value Schedule (Latent Input) 📅🅕🅝",
|
||||
"BatchPromptScheduleSDXLLatentInput": "Batch Prompt Schedule SDXL (Latent Input) 📅🅕🅝",
|
||||
"BatchPromptScheduleLatentInput": "Batch Prompt Schedule (Latent Input)📅🅕🅝",
|
||||
}
|
||||
print('\033[34mFizzleDorf Custom Nodes: \033[92mLoaded\033[0m')
|
||||
|
||||
Reference in New Issue
Block a user