Visit ComfyUI Online for ready-to-use ComfyUI environment
Apply motion blur effect to masks for dynamic AI-generated artwork with adjustable blur amount and angle for various motion effects.
The LayerMask: MaskMotionBlur node is designed to apply a motion blur effect to a given mask, enhancing the visual dynamics of your AI-generated artwork. This node allows you to simulate the appearance of motion by blurring the mask in a specified direction and intensity. By adjusting parameters such as the blur amount and angle, you can create a variety of motion effects, from subtle shifts to dramatic streaks. This node is particularly useful for adding a sense of movement or speed to elements within your composition, making your artwork more engaging and visually appealing.
The mask
parameter is the input mask to which the motion blur effect will be applied. This mask defines the areas that will be affected by the blur. It is essential for isolating specific parts of your image for the motion blur effect.
The invert_mask
parameter is a boolean option that determines whether the input mask should be inverted before applying the motion blur. When set to True
(default), the mask is inverted, meaning the areas that were originally masked will become unmasked and vice versa. This can be useful for applying the blur effect to the background or other specific areas of your image.
The blur
parameter is an integer that specifies the intensity of the motion blur effect. It controls how much the mask is blurred, with higher values resulting in a more pronounced blur. The default value is 20, with a minimum of 1 and a maximum of 9999. Adjusting this parameter allows you to fine-tune the strength of the motion effect.
The angle
parameter is a float that defines the direction of the motion blur in degrees. It ranges from -360 to 360, with a default value of 0. This parameter allows you to set the angle at which the blur is applied, enabling you to create motion effects in any direction.
The mask
output parameter is the resulting mask after the motion blur effect has been applied. This mask retains the original dimensions and format but now includes the motion blur effect, which can be used in further processing or directly in your artwork to enhance visual dynamics.
blur
and angle
values to achieve the desired motion effect. Subtle adjustments can significantly impact the final result.invert_mask
parameter to apply the motion blur to different areas of your image, such as the background or specific elements, to create unique visual effects.blur
parameter is set to a value outside the allowed range.blur
value is within the range of 1 to 9999. Adjust the value accordingly to fall within this range.angle
parameter is set to a value outside the allowed range.angle
value is within the range of -360 to 360 degrees. Adjust the value to be within this range.invert_mask
parameter is set appropriately. If the issue persists, try using a different mask or adjusting the mask preprocessing steps.© Copyright 2024 RunComfy. All Rights Reserved.