Contents



DH_CharacterBitmapDriver

Next

Function:

Converts a text string into a series of values that provide for each character in the string the Animation Position for the corresponding frame in a Bitmap Image that contains the characters of a font.

The module provides a way to create dynamic displays that use any font you like, without having to worry about whether or not your users have that font installed on their machines. To do this:

  1. Create a graphic image of any font, one character per frame, as a .png or .bmp file, and make the usual .txt file that tells SynthEdit the animation type and frame layout.
     

  2. Use that graphic in a Bitmap Image module, and make enough copies for the number of characters you want in your text display.
     

  3. Provide the DH_CharacterBitmapDriver's Char List pin with a list of the characters used in your graphic, in the same order that they appear in your frames. (See example below.)
     

  4. Connect the Animation Position pin of each Bitmap Image module to a blue Float pin on the DH_CharacterBitmapDriver. (See example below.)

The Bitmap Images will display the characters of a string input at the Input Text pin.

Left-hand side pins:

Input Text - The text to be displayed.

Char List - A text string that contains the characters to be used in the same order that they occur in the graphic frames.

Output or Spare (autoduplicates and automatically renames itself when connected) - Each of these pins outputs the Animation Position in the graphic of the frame that contains the character at the position in the Input Text that corresponds to the pin's position, counting from the top down.

Parameters (right-click Properties):

Output Mode - Animation Position or Value. Use Animation Position when connecting directly to Bitmap Image modules. Value mode outputs the numeric position in the character list of each Input Text character.
 

Next

Connection Example:


Inside LED Display Container:

 
<-- .png file           .txt file:

 

type animated
frame_size 14, 20
; extra space at: top, bottom, left, right
padding 0, 0, 0, 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Top