Scene Setup
Every animation starts by defining the canvas. This must be the first line in your .markdy file.
scene width=800 height=400 fps=30 bg=#fafafa | Property | Default | Description |
|---|---|---|
width | 800 | Canvas width in pixels |
height | 400 | Canvas height in pixels |
fps | 30 | Frame rate for the rendering engine |
bg | white | Any CSS color value (e.g. #1a1a2e) |
duration | auto | Override total length in seconds |