The Scene Object

{
    "name": "test",
    "animations": Array<Animation>
}

Attributes

name (string)

The name of your scene.

Example:

"name": "test"

animations (array of Animation objects)

An array of animations making up a scene.

Example:

"animations": [
    {
        "type": "add",
        "lines": "console.log(\"Hello World!\")\n",
        "start": "1", 
        "end": "2" 
    }
]

fontFamily (string)

(coming soon)

The font family used to display the code in the scene.

Example:

"fontFamily": "RobotoMono"

width (integer)

(coming soon)

The width resolution of the scene in pixels.

Example:

"width": "1080"

height (integer)

(coming soon)

The height resolution of the scene in pixels.

Example:

"height": "1920"

theme (string)

(coming soon)

The color palette of the scene.

Example:

"theme": "dark"