Skip to main content

Block Generator

Intro

Create text blocks and optionally use Behaviours to populate paragraphs, lines, words and characters.

This can be used for many use cases including with pictographic fonts and for FUI text generation.

UI

Paragraphs - Number of paragraphs to generate.

Lines - Number of lines per paragraph.

Words - Number of words per line.

Characters - Number of characters per word.

Mode - Select a mode for the generator:

  • Unicode Code Point - Enter values used to define a font's code point.
  • String - Enter a string.

Code Point - When Mode is set to Unicode Code Point, enter a value to define the code point for the character. For example, 33 for "!" is the first code point for most western fonts.

String - When Mode is set to String, enter the string.

Word Delimiter - Enter a string to appear between words.

Line Delimiter - Enter a string to appear between lines.

Code point guide

Basic Latin

Code point rangeSymbols
48–57Digits (0–9)
65–90Uppercase letters (A–Z)
97–122Lowercase letters (a–z)
33–47Punctuation (! " # $ % & ' ( ) * + , - . /)
58–64Punctuation (: ; < = > ? @)

Extended Characters

Code point rangeSymbols
161–255Latin-1 Supplement (accented letters, symbols like ¿ ñ ü)
913–937Greek uppercase (Α–Ω)
945–969Greek lowercase (α–ω)
1040–1071Cyrillic uppercase (А–Я)
1072–1103Cyrillic lowercase (а–я)

Symbols & Shapes

Code point rangeSymbols
9632–9727Geometric shapes (■ □ ▲ ● ◆)
9728–9983Miscellaneous symbols (☀ ☁ ☂ ★ ☎)
9984–10175Dingbats (✂ ✈ ✉ ✓ ✗)
8592–8703Arrows (← → ↑ ↓ ↔ ⇒)
8704–8959Mathematical operators (∀ ∂ ∃ ∑ √ ∞)
9472–9599Box drawing (─ │ ┌ ┐ └ ┘ ├ ┤)
9600–9631Block elements (▀ ▄ █ ░ ▒ ▓)
Example
  1. Create Text Shape.
  2. Click the Button iconGenerator button and select Block.
  3. Set:
    1. Words to 3.
    2. Characters to 1.
    3. Mode to String.
  4. Right click on the String attribute and choose Add Array > String Array.
  5. Click the Button iconAdd twice on the String Array to add two new indices.
  6. Enter Y and Z into the two new indices.
  7. Enter a , (comma) into the Word Delimiter attribute of the Block String Generator.

This will create the string X,Y,Z. Try replacing the String Array with a Value Array (via a Value String Generator). This will create a string like 1,2,3 which can then be connected to attributes that accept comma separated strings like the Indices attribute of an Apply Font Size.

Example
  1. Create Text Shape.
  2. Click the Button iconGenerator button and select Block.
  3. Right click on the Characters attribute and choose Add Behaviour > Random.
  4. Set the Random's Minimum to 2 and Maximum to 6.
  5. Set the Block String Generator's Words attribute to 5.
  6. Right click on the Block String Generator's Code Point attribute and choose Add Behaviour > Random.
  7. Set this Random's Minimum to 8678 and Maximum to 8681.
  8. Enter several space characters into the Word Delimiter attribute of the Block String Generator.

This will create a string similar to ⇦⇨ ⇧⇦⇧⇩⇧ ⇩⇨⇩ ⇦⇨ ⇨⇧⇦⇧ ⇦⇨⇨⇧⇨. Try changing the Seed of either of the Random Behaviours.