ComfyUI > Nodes > ComfyUI_Fill-Nodes > FL Paper Drawn

ComfyUI Node: FL Paper Drawn

Class Name

FL_PaperDrawn

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 Paper Drawn Description

Apply shader effect for hand-drawn paper-like images, enhancing AI-generated art with customizable parameters.

FL Paper Drawn:

FL_PaperDrawn is a node designed to apply a shader effect to images, giving them a hand-drawn appearance on paper. This node is particularly useful for AI artists looking to add a unique, artistic touch to their digital creations. By leveraging OpenGL shaders, FL_PaperDrawn processes images to simulate various drawing techniques, such as line width variations and vignette effects. The node is highly customizable, allowing you to adjust parameters like angle number, sample number, line width, vignette intensity, and frames per second (fps) to achieve the desired artistic effect. The main goal of FL_PaperDrawn is to provide a versatile tool for transforming digital images into stylized, hand-drawn artworks, enhancing the creative possibilities for AI-generated art.

FL Paper Drawn Input Parameters:

image

This is the primary input for the node, where you provide the image(s) you want to process. The input should be in the form of an image tensor.

angle_num

This parameter controls the number of angles used in the shader effect, influencing the complexity and style of the drawn lines. The value ranges from 1.0 to 10.0, with a default of 3.0. Higher values result in more intricate line patterns.

samp_num

This parameter determines the number of samples taken for the shader effect, affecting the smoothness and detail of the drawing. The value ranges from 1.0 to 10.0, with a default of 2.2. Higher values produce smoother and more detailed results.

line_width

This parameter sets the width of the lines in the drawing effect. The value ranges from 0.1 to 10.0, with a default of 1.0. Adjusting this parameter allows you to create thicker or thinner lines, depending on the desired artistic style.

vignette

This parameter controls the intensity of the vignette effect, which darkens the edges of the image to draw focus to the center. The value ranges from 0.0 to 1.0, with a default of 0.0. Higher values result in a more pronounced vignette effect.

fps

This parameter sets the frames per second for the shader effect, which is particularly useful when processing a sequence of images or a video. The value ranges from 1 to 120, with a default of 30. Adjusting this parameter can help synchronize the shader effect with the desired playback speed.

FL Paper Drawn Output Parameters:

IMAGE

The output of the node is an image tensor that has been processed with the shader effect. This output retains the original dimensions of the input image but now features the hand-drawn, paper-like appearance created by the shader.

FL Paper Drawn Usage Tips:

  • Experiment with different angle_num and samp_num values to achieve various artistic styles, from simple sketches to detailed drawings.
  • Use the line_width parameter to adjust the thickness of the lines, which can significantly change the visual impact of the effect.
  • Apply a subtle vignette effect to enhance the focus on the central part of the image, especially for portraits or focal subjects.
  • When processing a sequence of images or a video, ensure the fps parameter matches the desired playback speed to maintain a smooth and consistent effect.

FL Paper Drawn Common Errors and Solutions:

"Invalid image input"

  • Explanation: This error occurs when the provided image input is not in the correct format or is None.
  • Solution: Ensure that the image input is a valid image tensor and not empty.

"Parameter out of range"

  • Explanation: This error occurs when one of the input parameters is set outside its allowed range.
  • Solution: Verify that all input parameters are within their specified ranges: angle_num (1.0 to 10.0), samp_num (1.0 to 10.0), line_width (0.1 to 10.0), vignette (0.0 to 1.0), and fps (1 to 120).

"Shader compilation failed"

  • Explanation: This error occurs when the OpenGL shader fails to compile, possibly due to syntax errors or unsupported features.
  • Solution: Check the shader code for any syntax errors or compatibility issues with the OpenGL version being used. Ensure that your system supports the required OpenGL features.

"Texture binding error"

  • Explanation: This error occurs when there is an issue with binding the textures required for the shader effect.
  • Solution: Ensure that the textures are correctly generated and bound before rendering. Check for any issues in the texture setup code.

FL Paper Drawn 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.