A web-based OpenScenario2 Studio — edit, validate in real-time, and preview 3D scenes. No installation required.
OSC2 Studio is a web-based OpenScenario2 integrated development environment. It is not just a simple editor, but a comprehensive platform designed to help you write scenarios efficiently, detect syntax errors instantly, and verify effects conveniently — all in your browser with zero installation.
The editor implements the official OpenScenario2 standard, providing professional syntax highlighting, intelligent code completion, and real-time syntax & semantic error checking powered by a high-performance C++ core compiled to WebAssembly.
A standout feature is the integrated 3D scene preview — after writing a scenario, you can preview the driving scene directly within the editor, enabling rapid iteration and validation without switching between tools.
Whether you are developing autonomous driving simulations, researching traffic scenarios, or teaching OSC2, OSC2 Studio provides a smooth, efficient, and powerful workflow.
Everything you need for professional OpenScenario2 development, right in your browser.
Preview your OpenScenario2 scenarios in real-time 3D directly within the editor. Visualize vehicle movements, road layouts, and event sequences to validate your scenario logic at a glance.
Instant feedback on syntax and semantic errors as you type. Our high-performance C++ engine checks your code against the official OpenScenario2 standard, catching errors early.
A full-featured editor with advanced syntax highlighting, intelligent code completion, bracket matching, and code folding, providing a professional coding experience.
Implements the official OpenScenario2 (OSC2) standard, supporting scenario, actor, action, event definitions, type system, unit declarations, and import statements.
Core algorithms including parsing, semantic analysis, and 3D rendering are implemented in C++ and compiled to WebAssembly, delivering desktop-class performance in the browser.
Fully web-based — open your browser and start creating scenarios instantly. No downloads, no setup, no configuration required.
Upload existing OpenScenario2 files, download your creations, and manage your scenarios with the built-in workspace system.
Dark and light themes to suit your preference. Available in English and Chinese.
Secure login and guest access system. Create an account to save your work across sessions.
OSC2 Studio provides comprehensive support for the OpenScenario2 language specification.
Including:
Example Code
# Define a simple cut-in scenario scenario CutInScenario: ego: vehicle npc: vehicle do serial: approach: parallel(duration: 10s): ego.drive() with: speed(60kph) lane(1) npc.drive() with: speed(50kph) lane(2) cut_in: parallel(duration: 5s): ego.drive() with: speed(60kph) npc.drive() with: speed(55kph) lane(1, at: end)
Getting started with OSC2 Studio is simple — just follow these steps.
No installation needed — just open the app
Log in or continue as a guest to start editing
Syntax highlighting and code completion as you type
Syntax and semantic errors flagged instantly
Click preview to visualize your scenario
Export your completed scenario for simulation
If you find this tool useful, consider supporting its development.