genart.dev

VSCode Extension

Use genart.dev with the VSCode extension

VSCode Extension

The @genart/vscode extension provides an integrated infinite canvas editor inside Visual Studio Code.

Installation

Install from the VSCode marketplace:

  1. Open VSCode
  2. Go to Extensions (Cmd+Shift+X)
  3. Search for "genart"
  4. Click Install

Features

  • Infinite canvas — visual workspace with multiple sketch artboards
  • Live preview — selected sketch renders in real-time
  • MCP sidecar — built-in MCP server for AI-assisted editing
  • File integration — open .genart and .genart-workspace files directly

Usage

Open a workspace

Use the command palette (Cmd+Shift+P):

genart: Open Workspace

Or open a .genart-workspace file from the Explorer.

Create a new sketch

genart: Create Sketch

Select a renderer type (p5.js, Three.js, GLSL, Canvas 2D, or SVG) and canvas preset.

Available commands

CommandDescription
genart: Open WorkspaceOpen a .genart-workspace file
genart: Create SketchCreate a new sketch in the workspace
genart: Open SketchOpen a specific .genart file
genart: Save SketchSave the active sketch to disk
genart: Export SketchExport to HTML, PNG, SVG, or ZIP
genart: Capture ScreenshotRender the selected sketch to PNG
genart: Select SketchSelect a sketch on the canvas
genart: Arrange SketchesAuto-layout sketches in a grid
genart: Toggle SidebarShow/hide the sketch panel
genart: Open SettingsOpen extension settings

MCP sidecar

The extension runs a local MCP sidecar server, enabling AI agents to interact with the canvas. When you use Copilot or Claude in VSCode, they can access the same 33 MCP tools to create and modify sketches.

Tips

  • Only the selected artboard renders live — unselected sketches display static thumbnails for performance
  • Use Cmd+S to save the active sketch
  • Drag artboards to reposition them on the canvas