Fundamentals -> Getting Started

Rendering without using a template

Sometimes a template is too limiting, for instance when each video needs a different structure. Then you can describe the whole video or image in code and send it to the API. That code is RenderScript, a format based on JSON. Just as HTML is the source code of a web page, RenderScript can be thought of as the source code of a video or image.

RenderScript is for developers. Most users never need it, because a template covers the common cases.

A video described in code

A RenderScript document lists the elements of a video with their properties: where each one sits, when it plays, and how it animates. Because it's data, a program can put it together. For example, a loop can add a scene for every product in a list. The document goes to the same API endpoint as a template, and the result is a video like any other.

RenderScript in the editor

Every template is a RenderScript document that the editor writes as you design: move an element on the canvas, and its coordinates change in the document. The { } button in the toolbar opens that document next to the canvas, so you can watch the RenderScript change while you edit the template. It's the quickest way to understand RenderScript.