ComfyUI > Nodes > ComfyUI_Fill-Nodes > FL PixelSort

ComfyUI Node: FL PixelSort

Class Name

FL_PixelSort

Category
🏵️Fill Nodes
Author
filliptm (Account age: 1737days)
Extension
ComfyUI_Fill-Nodes
Latest Updated
2024-06-23
Github Stars
0.12K

How to Install ComfyUI_Fill-Nodes

Install this extension via the ComfyUI Manager by searching for ComfyUI_Fill-Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI_Fill-Nodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

FL PixelSort Description

Sort image pixels by saturation for artistic effects with FL_PixelSort node.

FL PixelSort:

FL_PixelSort is a powerful node designed to manipulate the pixels of an image based on their saturation values, creating visually striking effects. This node sorts the pixels in an image according to their saturation, which can be adjusted to create various artistic effects. By leveraging parameters such as direction, threshold, smoothing, and rotation, you can control the sorting process to achieve the desired visual outcome. The primary goal of FL_PixelSort is to provide a flexible and creative tool for AI artists to enhance their images with unique pixel sorting effects, making it an essential addition to your artistic toolkit.

FL PixelSort Input Parameters:

images

This parameter accepts a list of images that you want to apply the pixel sorting effect to. The images should be in a compatible format that the node can process.

direction

This optional parameter determines the direction in which the pixels will be sorted. You can choose between "Horizontal" and "Vertical". The default value is "Horizontal". Changing the direction can significantly alter the visual effect of the pixel sorting.

threshold

This optional parameter sets the threshold for pixel sorting based on saturation values. It ranges from 0.0 to 1.0, with a default value of 0.5. Pixels with saturation values above this threshold will be sorted, while those below will remain unchanged. Adjusting the threshold allows you to control the intensity of the sorting effect.

smoothing

This optional parameter controls the smoothing of the edges where pixel sorting occurs. It ranges from 0.0 to 1.0, with a default value of 0.1. Higher values result in smoother transitions between sorted and unsorted areas, while lower values create sharper edges.

rotation

This optional parameter specifies the rotation of the image before sorting. It ranges from 0 to 3, with a default value of 0. The rotation is applied in 90-degree increments, allowing you to sort pixels in different orientations without manually rotating the image beforehand.

FL PixelSort Output Parameters:

IMAGE

The output is an image with the pixel sorting effect applied. This image retains the original dimensions and format but features the unique visual alterations created by sorting the pixels based on their saturation values. The result is a visually enhanced image that showcases the artistic potential of pixel sorting.

FL PixelSort Usage Tips:

  • Experiment with different threshold values to find the perfect balance between sorted and unsorted pixels for your specific image.
  • Use the smoothing parameter to create either sharp or smooth transitions, depending on the desired artistic effect.
  • Try rotating the image before sorting to achieve unique patterns and effects that wouldn't be possible with a single orientation.
  • Combine horizontal and vertical sorting in separate passes to create complex and intricate designs.

FL PixelSort Common Errors and Solutions:

"Input image format not supported"

  • Explanation: The provided image format is not compatible with the node.
  • Solution: Ensure that the input images are in a format supported by the node, such as JPEG or PNG.

"Threshold value out of range"

  • Explanation: The threshold parameter is set outside the allowed range of 0.0 to 1.0.
  • Solution: Adjust the threshold value to be within the range of 0.0 to 1.0.

"Smoothing value out of range"

  • Explanation: The smoothing parameter is set outside the allowed range of 0.0 to 1.0.
  • Solution: Adjust the smoothing value to be within the range of 0.0 to 1.0.

"Rotation value out of range"

  • Explanation: The rotation parameter is set outside the allowed range of 0 to 3.
  • Solution: Adjust the rotation value to be within the range of 0 to 3.

FL PixelSort Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_Fill-Nodes
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.