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>
The JSON data file has two main components:
{
"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"]
}
Each Page
may contain:
Line
objects representing the text lines on the page.Each line of text is defined by a Line
object, which can include: