Replaced all instances of `<canvas>` and `<canvasPaint>` with `<surface>` and `<surfacePaint>` across the codebase. Updated related documentation to reflect this change, ensuring consistency in naming and usage. Adjusted rendering logic and component imports to support the new surface functionality, enhancing the drawing capabilities for various context types (2D, WebGL, WebGPU). This refactor improves the overall clarity and usability of the rendering system.
Diffusion Studio documentation
Diffusion Studio is driven through dapi, its CLI. Start here:
- Getting started: install the CLI, open a project, first mount, first export
- CLI reference: every command, its options, and its output
- Writing compositions: the JSX API with elements, timing, paints, generative assets, and captions
- Working with media: the asset library and the vision/audio toolchain
The exhaustive specification these docs are distilled from lives with the CLI source: apps/cli/reference, one file per command, with the JSX code syntax in apps/cli/reference/jsx.