OpenPencil Interactive Vector Whiteboard & Canvas Bridge

OpenPencil Interactive Vector Whiteboard & Canvas Bridge

@zseven-w/openpencil·v1.2.4·tools

A bidirectional vector whiteboard and visual thinking bridge for DeepSeek Harness. Compiles prompts into native Excalidraw schemas with auto-layout and hand-drawn rendering.

Vector-Canvas · Excalidraw · Whiteboard · Diagram-Gen

GitHubNPM
Installation & Integration
bash
manager:
$ pnpm add @zseven-w/openpencil

Architecture

OpenPencil Canvas provides DeepSeek Harness agents with an infinite visual thinking surface. Linear text is poorly suited for depicting non-linear brainstorming, complex entity relations, or branching workflow maps. This plugin implements native Excalidraw schema compilation inside Cordis. Using force-directed layout algorithms and ergonomic styling presets, agents compose charming hand-drawn diagrams, user journey maps, and technical system flows that remain fully editable in any modern vector canvas.

Core Features

01

Native Excalidraw Compatibility: 100% compliant with standard Excalidraw schemas and editors

02

Collision-Free Auto-Layout: Automatically spaces nodes and routes non-intersecting curved arrows

03

Charming Hand-Drawn Aesthetic: Produces polished sketches with organic stroke roughness and palettes

04

High-DPI SVG/PNG Export: Automatically compiles vector graphics ready for documentation embeds

Core Workflow

01

Concept Graph Extraction

Decomposes business concepts into discrete canvas nodes, arrows, and groups.

02

Force-Directed Layout

Runs force-directed algorithms to ensure even spacing and avoid overlapping edges.

03

Vector Element Styling

Applies hand-drawn rough styling, harmonious color palettes, and arrowheads.

04

Canvas Export & Sync

Exports native `.excalidraw` files and vector SVGs for browser editing.

Configuration Parameters Reference (YAML / JSON)

ParameterTypeDefaultDescription
roughnessnumber1Hand-drawn stroke roughness (0-2)
defaultThemestringlightDefault canvas color theme
autoExportSvgbooleantrueAutomatically compile companion SVG file