GraphGlyph Open-Source Tool Encodes Text Into Reversible Graph Images Using GPT-Generated Code

May 22, 2026
GitHub
Article image for GraphGlyph Open-Source Tool Encodes Text Into Reversible Graph Images Using GPT-Generated Code

Summary

GraphGlyph, a new open-source Python tool, encodes text into visually stunning, fully reversible unit-distance graph images — with every line of code written by GPT-4.5 — using Unicode normalization, UTF-8 encoding, and optional compression to produce customizable SVG and JSON outputs.

Key Points

  • GraphGlyph is an open-source Python tool that encodes text into reversible unit-distance graph images using a visual style inspired by OpenAI's unit-distance paper, representing points in a complex algebraic form with edges drawn between projected points at Euclidean distance 1.
  • Text is processed through Unicode NFKC normalization, UTF-8 encoding, and optional zlib compression, with payload data distributed across seeded graph cells where each cell encodes four bits by varying edge strengths, making SVG and JSON outputs fully decodable.
  • Users can customize visual output with color options for edges, nodes, and backgrounds, and the tool supports encoding large texts such as Scott Alexander's 'Meditations on Moloch,' with all code written by GPT 5.5....

Tags

Read Original Article