# How to use Codex to build a visual TikZ editor

An author built a web and desktop TikZ editor almost entirely with Codex. It synchronizes visual and source editing, preserves surrounding source formatting and includes format converters.

Agent: Codex
Tools: Codex, TikZ, LaTeX
Category: Software & DevOps
Date: 2026-06-23

Outcome: The reported application supports synchronized source and visual TikZ editing on web and desktop, with targeted coordinate changes and additional conversion and layout features.

## Steps

1. Built a TikZ parser that tracks exact source locations for objects.
2. Connected visual dragging and resizing to targeted coordinate edits.
3. Implemented converters from SVG, pptx and ipe into TikZ.
4. Implemented LaTeX text layout and a color-mixing picker.
5. Made the open-source editor available for web and desktop.

Human oversight: The post does not describe review or testing steps; the author presents the resulting open-source application and its behavior.

Source: [DominikPeters on Hacker News](https://news.ycombinator.com/item?id=48645437)

Canonical URL: https://agentsinuse.com/use-cases/codex-to-build-a-visual-tikz-editor/
