OpenFlight Software Architecture Overview

This document provides a high-level overview of the OpenFlight simulator's architecture, intended for developers looking to understand, maintain, or extend the project.

1. Core Architecture: Client-Server Model

OpenFlight employs a client-server architecture:

2. Backend (Julia) - OpenFlight.jl and src/🟣JULIA🟣/

The Julia backend is the simulation's brain. Its primary responsibilities include:

3. Frontend (JavaScript/Babylon.js) - src/🟡JAVASCRIPT🟡/

The JavaScript frontend handles the user interface and visualization. Its key roles are:

4. Communication Protocol (WebSockets)

5. Configuration (YAML)

6. Data Flow (Simplified Loop)

7. Key Design Principles