Television Simulator supports loading JSON files consisting of pages of text with rich formatting. You can import Google fonts and load background images into your text lines.

<aside> šŸ‘‰ Iā€™m hoping to develop a utility that will let you edit these data files more easily so that users can generate them using a WYSIWYG interface instead of writing them manually.

</aside>

<aside> šŸš§ Transitions are not yet supported and subject to change. Iā€™m trying to figure out which ones to support.

</aside>

Data file structure

The JSON data file has two main components:

Example:

{
  "pages": [
    {
      "lines": [
        {
          "text": "Welcome to Television Simulator!",
          "fontSize": "24px",
          "color": "#FF5733",
          "fontFamily": "Roboto",
          "textAlign": "center",
          "isBold": true
        }
      ],
      "background": "url('background.jpg')",
      "duration": 5,
      "transitionIn": "fade",
      "transitionOut": "slide"
    }
  ],
  "googleFonts": ["Roboto"]
}

Page

Each Page may contain:

Lines

Each line of text is defined by a Line object, which can include: