Extending drawtonomy
drawtonomy is built to be extended. The same SDK that powers the in-tree extensions (AI Scene Generator, Template Preview, Exporter Playground) is what you use.
Pick your extension point
Section titled “Pick your extension point”| You want to… | Read |
|---|---|
| Add a panel, generator, or tool that runs alongside the editor | Extension SDK |
| Add a new export target (CARLA, Unity, SUMO, …) | Exporter SDK |
| Contribute a new SVG template (vehicle, pedestrian, sign) | Templates |
Where the source lives
Section titled “Where the source lives”Everything is in the public drawtonomy GitHub repository:
packages/drawtonomy-sdk/— the SDKpackages/drawtonomy-dev-server/— local editor for developmentextensions/— in-tree extensions, useful as referencestemplates/— built-in shape templates
PRs are welcome. The Template Guide walks through adding a custom shape end-to-end.