ComfyUI  >  Nodes  >  ComfyUI_Fill-Nodes >  FL Ascii

ComfyUI Node: FL Ascii

Class Name

FL_Ascii

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

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 Ascii Description

Transform images into ASCII art with customizable characters, fonts, and sizes for artistic visual effects.

FL Ascii:

FL_Ascii is a versatile node designed to transform images into ASCII art, leveraging specified characters, fonts, spacing, and font sizes. This node allows you to create stylized visual representations of images using ASCII characters, providing a unique and artistic touch to your projects. You can choose between local or system fonts based on an environment variable, and customize the output by using a sequence of characters or mapping characters based on pixel intensity. The spacing and font size can be set as single values or lists, enabling variations across the image. This tool is particularly useful for AI artists looking to add a creative ASCII art effect to their images.

FL Ascii Input Parameters:

image

This parameter expects an image input that will be converted into ASCII art. The image should be in a format compatible with the node's processing capabilities.

spacing

This integer parameter controls the spacing between ASCII characters in the output image. It can be a single value or a list of values to vary the spacing across the image. The default value is 20, with a minimum of 1 and adjustable in steps of 1. Adjusting the spacing affects the density and clarity of the ASCII art.

font_size

This integer parameter sets the size of the font used for the ASCII characters. Similar to spacing, it can be a single value or a list to vary the font size across the image. The default value is 20, with a minimum of 1 and adjustable in steps of 1. The font size impacts the readability and style of the ASCII art.

characters

This string parameter specifies the characters to be used in the ASCII art. The default value is \._♥♦♣MachineDelusions♣♦♥_./, and you can customize it to include any set of characters you prefer. The choice of characters influences the visual texture and detail of the ASCII art.

font

This parameter allows you to select the font used for the ASCII characters. It can be chosen from a list of available fonts, which can include both local and system fonts depending on the environment variable setting. The default font is combo+.

sequence_toggle

This parameter is a toggle that determines whether the characters are used in sequence or based on pixel intensity. The options are off and on, with the default being off. When set to on, characters are typed in sequence, creating a patterned effect. When off, characters are mapped based on pixel intensity, resulting in a more traditional ASCII art look.

FL Ascii Output Parameters:

image

The output is an image that has been converted into ASCII art. This image retains the original dimensions but is stylized using the specified characters, font, spacing, and font size. The output image can be used in various creative projects, providing a unique and artistic representation of the original input.

FL Ascii Usage Tips:

  • Experiment with different sets of characters to achieve various artistic effects. For example, using a mix of symbols and letters can create intricate patterns.
  • Adjust the spacing and font size to find the optimal balance between detail and readability. Smaller spacing and font sizes can produce more detailed ASCII art, while larger values can create a more abstract look.
  • Use the sequence toggle to switch between a patterned effect and a pixel intensity-based mapping. This can significantly change the visual outcome of the ASCII art.
  • Try different fonts to see how they affect the style and legibility of the ASCII characters. Some fonts may work better for certain types of images.

FL Ascii Common Errors and Solutions:

Error loading font '<font_file>' with size <font_size>: <error_message>

  • Explanation: This error occurs when the specified font file cannot be loaded with the given font size. It may be due to an incorrect font file path or an unsupported font format.
  • Solution: Ensure that the font file path is correct and that the font format is supported. If the problem persists, try using a different font or the default font provided by the node.

Warning: Spacing list index out of range. Using the last value.

  • Explanation: This warning indicates that the index for the spacing list has exceeded its length, and the last value in the list is being used.
  • Solution: Check the length of your spacing list and ensure it matches the expected number of values. Adjust the list to prevent the index from going out of range.

Warning: Font size list index out of range. Using the last value.

  • Explanation: This warning indicates that the index for the font size list has exceeded its length, and the last value in the list is being used.
  • Solution: Verify the length of your font size list and ensure it matches the expected number of values. Adjust the list to prevent the index from going out of range.

FL Ascii 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.