PixelRedistribution WIP | GlitchNodes:
The PixelRedistribution node is designed to creatively manipulate images by redistributing their pixels based on color distance and specific patterns. This node is particularly useful for generating glitch art effects, where the visual aesthetics of an image are altered in a controlled yet artistic manner. By adjusting various parameters, you can influence how pixels are moved around, creating unique patterns and effects that can range from subtle shifts to dramatic transformations. The node's primary goal is to provide a flexible tool for artists to explore new visual styles by leveraging the inherent color information within an image, allowing for the creation of visually striking and innovative artwork.
PixelRedistribution WIP | GlitchNodes Input Parameters:
image
This parameter represents the input image that you want to process. It serves as the canvas for the pixel redistribution process, where the node will apply its transformations based on the other parameters you set.
distance_mode
This parameter determines the reference point for calculating color distances within the image. Options include "center," "top," "left," and "random," with "center" being the default. The choice of distance mode affects how pixels are redistributed, influencing the overall pattern and flow of the resulting image.
pattern
The pattern parameter specifies the method of pixel redistribution, with options such as "outward," "spiral," "waves," and "diagonal." The default is "outward." This setting dictates the visual style of the transformation, allowing you to create different artistic effects based on the chosen pattern.
color_size
This integer parameter defines the granularity of color quantization, with a default value of 64, a minimum of 2, and a maximum of 256. A smaller color size results in coarser color quantization, which can lead to more pronounced pixel redistribution effects, while a larger size maintains finer color details.
order
This string parameter specifies the order of color channels to be processed, with a default value of "0,1,2." Adjusting the order can influence the direction and nature of pixel movements, providing additional control over the artistic outcome.
strength
This float parameter controls the intensity of the pixel redistribution effect, with a default value of 1.0, a minimum of 0.1, and a maximum of 2.0. Higher strength values result in more dramatic transformations, while lower values produce subtler effects.
contrast
The contrast parameter adjusts the contrast of the resulting image, with a default value of 1.0, a minimum of 0.1, and a maximum of 4.0. Modifying contrast can enhance or soften the visual impact of the pixel redistribution, allowing for further artistic refinement.
brightness
This float parameter alters the brightness of the output image, with a default value of 0.0, a range from -1.0 to 1.0. Adjusting brightness can help balance the overall tone of the image after pixel redistribution, ensuring the final result meets your artistic vision.
invert
This boolean parameter, with a default value of False, determines whether the colors of the output image should be inverted. Inverting colors can create a striking visual contrast and add an additional layer of artistic expression to the transformed image.
PixelRedistribution WIP | GlitchNodes Output Parameters:
image
The output parameter is the transformed image, which has undergone pixel redistribution based on the specified parameters. This image reflects the artistic effects applied, showcasing the unique patterns and color shifts resulting from the node's processing. The output image is ready for further artistic use or display, embodying the creative vision you set through the node's parameters.
PixelRedistribution WIP | GlitchNodes Usage Tips:
- Experiment with different
distance_modeandpatterncombinations to discover unique visual effects that suit your artistic style. - Adjust the
strengthparameter to control the intensity of the effect; start with lower values for subtle changes and increase for more pronounced transformations. - Use the
invertoption to explore contrasting color schemes, which can add a dramatic flair to your artwork.
PixelRedistribution WIP | GlitchNodes Common Errors and Solutions:
Error in PixelRedistribution WIP | GlitchNodes: <specific error message>
- Explanation: This error may occur due to incorrect parameter values or issues with the input image format.
- Solution: Ensure all parameters are set within their valid ranges and verify that the input image is in a compatible format. Double-check the parameter values for any typos or inconsistencies.
