# Noodles.gl > A node-based editor for animated maps and geospatial data visualizations, running entirely in the browser on DuckDB-Wasm and deck.gl ## Overview Noodles.gl is a node-based editor for geospatial visualizations and animations. A project is a document of nodes and edges that Noodles compiles to queries and runs in DuckDB in the browser, so a slider or the timeline re-runs only what a change needs. Key Features: - A node graph, a layers list and a properties panel, arranged in workspaces - The whole graph runs in DuckDB-Wasm; per-row values are columns made by expressions - Layers drawn with deck.gl over a MapLibre basemap - A keyframe timeline for any number parameter - CSV, JSON, Parquet, GeoJSON, GeoParquet, shapefiles and SQL queries - Export to MP4 video and PNG images ## Use with an AI agent - Overview of the ways to use Noodles.gl with an agent (in-app assistant, driving a running editor, writing project files): https://noodles.gl/users/ai-agents - Quick start prompt for Claude Code: https://noodles.gl/claude-code-prompt.txt. It clones the repo, installs, starts the editor, registers the WebMCP relay, changes an example map, and shows a screenshot. - Quick start prompt for other agents (Codex, Gemini CLI, Cursor, VS Code, any MCP client): https://noodles.gl/agent-prompt.txt. Same steps, with one restart after the relay is registered. - Driving a running editor: the `noodles-live` skill at https://github.com/joby-aviation/noodles.gl/blob/main/.claude/skills/noodles-live/SKILL.md - Writing and validating noodles.json without a browser: the `noodles` MCP server at https://github.com/joby-aviation/noodles.gl/blob/main/noodles-mcp/README.md and the validator at https://github.com/joby-aviation/noodles.gl/blob/main/noodles-validate/README.md - JSON Schema for noodles.json (file shape only; the validator checks operators and connections): https://noodles.gl/schema/noodles-project.schema.json, with a copy per version at https://noodles.gl/schema/noodles-document.v.schema.json (projects saved before documents: https://noodles.gl/schema/noodles-project.v20.schema.json) - WebMCP setup and tool list: https://github.com/joby-aviation/noodles.gl/blob/main/dev-docs/claude-code-workflow.md ## Primary Documentation ### Getting Started - Start here (open the editor or an example): https://noodles.gl/intro - Editor Basics: https://noodles.gl/users/getting-started - Developer Guide: https://noodles.gl/developers/overview ### Core Documentation - Introduction: https://noodles.gl/intro - Comparison with Other Tools: https://noodles.gl/users/comparison - Data Guide: https://noodles.gl/users/data-guide - AI Assistant: https://noodles.gl/users/ai-assistant - Use Noodles with your AI agent: https://noodles.gl/users/ai-agents - Operators Guide: https://noodles.gl/users/operators-guide - Animation and Rendering: https://noodles.gl/users/animation-and-rendering ### Developer Documentation - Developer Overview: https://noodles.gl/developers/overview - Node-Based Tools: https://noodles.gl/developers/node-based-tools - Paths and Subnets: https://noodles.gl/developers/paths-containers - Data Flow: https://noodles.gl/developers/data-flow - Framework Extension: https://noodles.gl/developers/framework-extension - Creating Operators: https://noodles.gl/developers/creating-operators - Field System: https://noodles.gl/developers/field-system ## Repository Structure ``` /packages/planner/ # Operators, the document format, lowering and the query planner /noodles-editor/ # The editor (React + TypeScript) /src/editor/ # Network, properties panel, layers, workspaces, project files /src/runtime/ # Engine, DuckDB worker, deck operators, host operators /src/runtime/migrate/ # Converting older operator-graph projects to documents /src/noodles/ # Field widgets and the remaining host operator classes /src/examples/ # Example projects /noodles-mcp/ # MCP server: operator schemas, docs, examples, validation /noodles-validate/ # Project file validator and the operator registry /docs/ # Documentation markdown (served by the website) /website/ # Documentation site (Docusaurus) /dev-docs/ # Development and architecture documentation ``` ## Technology Stack ### Core Technologies - **React** - UI framework - **TypeScript** - Type-safe JavaScript - **DuckDB-Wasm** - Runs the compiled graph in a worker - **Deck.gl** - WebGL-powered geospatial visualization - **MapLibre GL JS** - Map rendering - **Vite** - Build tool and development server ### Key Libraries - **Zustand** - State management - **React Flow** - Node-based editor UI - **Apache Arrow** - Moves rows and layer buffers out of DuckDB ## Contributing - Repository: https://github.com/joby-aviation/noodles.gl - Contributing Guide: https://github.com/joby-aviation/noodles.gl/blob/main/CONTRIBUTING.md - License: Apache 2.0 ### Development Setup ```bash # Install dependencies (npm workspaces) npm ci # Start the editor cd noodles-editor && npm start # Build the editor and the website, from the repo root cd .. && npm run build:all ``` ### Testing - Unit tests with Vitest - Integration tests with Playwright - Tests co-located with source files (*.test.ts) ## Use Cases - **Visualization Experts**: Create high-quality, presentation-ready graphics - **Developers**: Rapid visualization prototyping - **Data Scientists**: Data exploration and analysis - **Research Teams**: Publishing polished geospatial analysis and insights ## Architecture - A project is an `EditorDoc`: nodes (`op`, `name`, `params`) joined by edges between ports. - `@noodles.gl/planner` lowers the document to relations, attribute expressions and layers, and decides how each parameter is applied: a deck prop, a uniform, a CPU pass, a requery or a rematerialize. A value change never recompiles. - The engine worker runs the relations in DuckDB-Wasm and hands deck.gl binary attribute buffers. - A few operators that can't compile (code that reads `op()` or the timeline, geocoding, directions, charts, tiles) run on the main thread as host operators. - Subnets group nodes; a node's path is its name under its subnets' names (`/subnet/filter`). - Any number parameter can be keyframed on the timeline. ## Additional Resources - Website: https://noodles.gl - GitHub: https://github.com/joby-aviation/noodles.gl - Issues: https://github.com/joby-aviation/noodles.gl/issues