drawtonomy and Scenic
Not a comparison — different layers
Section titled “Not a comparison — different layers”drawtonomy and Scenic are not competing tools. They sit at different layers:
- Scenic — a probabilistic programming language for specifying scenarios as constraints over space and behavior, and sampling many concrete scenes from a single abstract spec. Developed at UC Berkeley.
- drawtonomy — a 2D browser editor for authoring one concrete scenario visually and running it — actions, triggers, and a PASS / FAIL verdict, played in the browser on esmini-WASM.
Scenic answers “what is the space of scenarios I want to test?” drawtonomy answers “author and run this one specific scenario.”
What Scenic covers
Section titled “What Scenic covers”Per the official documentation and GitHub repository, and the original PLDI 2019 paper:
- A domain-specific language for specifying scenarios as probabilistic constraints.
- Scenario sampling — generate many concrete scenes from one abstract specification.
- Interfaces to simulators, with documented CARLA integration.
- Used in academic benchmarks for evaluating autonomous driving systems.
- Open-source under a BSD license.
For testing scenarios at scale — generating fleets of corner cases from a small spec — Scenic is one of the established tools.
How drawtonomy fits
Section titled “How drawtonomy fits”drawtonomy has no DSL, no sampling, no probabilistic generation. It authors one concrete scenario at a time, drawn on a canvas — and runs that scenario in the browser to a PASS / FAIL verdict.
The two tools can sit next to each other in different roles:
- Scenic generates the spectrum of scenarios to test.
- drawtonomy authors and runs one representative concrete scenario — and produces the figure of it for a paper, slide, or test plan — alongside Scenic-generated data.
If you’re using Scenic to generate scenarios, drawtonomy doesn’t replace it. If you’re sketching a single scene by hand and don’t need probabilistic sampling, Scenic isn’t the right tool either.
Part of the same ecosystem
Section titled “Part of the same ecosystem”Scenic is one of the most active research contributions to scenario specification, and it has shaped how the academic AV testing community thinks about probabilistic scenarios. drawtonomy works in a much narrower role — visual single-scene sketching — but emits the same OpenSCENARIO format that Scenic can convert to, and targets the same downstream players. Both tools, alongside CARLA + ScenarioRunner, esmini, scenariogeneration, and others, contribute to the same open scenario-testing community from different angles.
See also
Section titled “See also”- Scenario editor — author and run a concrete scenario in the browser.
- What is OpenSCENARIO?
- Compare: drawtonomy vs scenariogeneration (pyoscx / pyodrx) — another Python-based generation library.
- Sketching ADAS test scenarios