Penrose: from mathematical notation to beautiful diagrams
Katherine Ye, Wode Ni, Max Krieger, Dor Ma'ayan, Jenna Wise, Jonathan Aldrich, Joshua Sunshine, Keenan Crane
Abstract
mathematical objects and their visual representation provides new capabilities beyond existing code-or GUI-based tools. Here, for instance, the same set of statements (left) is given three different visual interpretations (right), via Euclidean, spherical, and hyperbolic geometry. (Further samples are shown in Fig. 29.)
We introduce a system called Penrose for creating mathematical diagrams. Its basic functionality is to translate abstract statements written in familiar math-like notation into one or more possible visual representations. Rather than rely on a fixed library of visualization tools, the visual representation is user-defined in a constraint-based specification language; diagrams are then generated automatically via constrained numerical optimization. The system is user-extensible to many domains of mathematics, and is fast enough for iterative design exploration. In contrast to tools that specify diagrams via direct manipulation or low-level graphics programming, Penrose enables rapid creation and exploration of diagrams that faithfully preserve the underlying mathematical meaning. We demonstrate the effectiveness and generality of the system by showing how it can be used to illustrate a diverse set of concepts from mathematics and computer graphics.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext dd65ffab-41c9-4999-a2cb-d548bceb28ebCited by top-tier papers13
- Math Augmentation: How Authors Enhance the Readability of Formulas using Novel Visual Design PracticesAndrew Head, Amber Xie, Marti A. HearstCHI 2022 · 27 citations
- Data Navigator: An Accessibility-Centered Data Navigation ToolkitFrank Elavsky, Lucas Nadolskis, Dominik MoritzIEEE VIS 2023 · 25 citations
- Repulsive ShellsJosua Sassen, Henrik Schumacher, Martin Rumpf, Keenan CraneSIGGRAPH 2024 · 12 citations
- Bluefish: Composing Diagrams with Declarative RelationsJosh Pollock, Catherine Mei, Grace Huang, Elliot Evans et al.UIST 2024 · 12 citations
- Interactive Flexible Style Transfer for Vector GraphicsJeremy Warner, Kyu Won Kim, Bjoern HartmannUIST 2023 · 11 citations
Builds on1
Related papers
- Diagramming Program Values by Spatial RefinementSiddhartha Prasad, Michael Tu, Karan Kashyap, Tim Nelson et al.PLDI 2026
- Interactive Design and Optics-Based Visualization of Arbitrary Non-Euclidean Kaleidoscopic OrbifoldsJinta Zheng, Eugene Zhang, Yue ZhangIEEE VIS 2023 · 1 citation
- GeoLoom: High-quality Geometric Diagram Generation from Textual InputXiaojing Wei, Ting Zhang, Wei He, Jingdong Wang et al.ICML 2026
- Adding interactive visual syntax to textual codeLeif Andersen, Michael Ballantyne, Matthias FelleisenOOPSLA 2020 · 28 citations
- Minkowski Penalties: Robust Differentiable Constraint Enforcement for Vector GraphicsJirí Minarcík, Sam Estep, Wode Ni, Keenan CraneSIGGRAPH 2024 · 8 citations
