Language Models as Visual Compilers: An Exploratory Study of Programmatic Graphics and Educational Video Production

This study explores the use of large language models to produce editable visual content through code rather than generating images directly. In the proposed workflow, a model translates a natural-language request into SVG graphics or Python animation code, which is then rendered, inspected, and revised. Exploratory examples include stick-figure characters, pixel art, scientific diagrams, and short educational videos. The experiments produced useful visual artifacts but also revealed errors in geometry, scientific representation, animation transitions, audio levels, and caption timing. Human feedback played a central role in identifying and correcting these problems. The study therefore presents the workflow as a human–AI collaboration, not a fully autonomous or formally verified system. The findings suggest that code-based visual generation can support reuse and targeted editing, while highlighting the need for structural checks, scientific review, and visual inspection. Future work will evaluate these properties systematically and investigate whether generated character assets can be combined with skeletal animation.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-02
DOI
https://doi.org/10.5281/zenodo.24749276
Primary Topic
Generative Adversarial Networks and Image Synthesis
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Language Models as Visual Compilers: An Exploratory Study of Programmatic Graphics and Educational Video Production

Lamin Youssef
1 links
Zenodo (CERN European Organization for Nuclear Research)
Generative Adversarial Networks and Image Synthesis
preprint

Language Models as Visual Compilers: An Exploratory Study of Programmatic Graphics and Educational Video Production

Lamin Youssef
preprint en

Abstract

This study explores the use of large language models to produce editable visual content through code rather than generating images directly. In the proposed workflow, a model translates a natural-language request into SVG graphics or Python animation code, which is then rendered, inspected, and revised. Exploratory examples include stick-figure characters, pixel art, scientific diagrams, and short educational videos. The experiments produced useful visual artifacts but also revealed errors in geometry, scientific representation, animation transitions, audio levels, and caption timing. Human feedback played a central role in identifying and correcting these problems. The study therefore presents the workflow as a human–AI collaboration, not a fully autonomous or formally verified system. The findings suggest that code-based visual generation can support reuse and targeted editing, while highlighting the need for structural checks, scientific review, and visual inspection. Future work will evaluate these properties systematically and investigate whether generated character assets can be combined with skeletal animation.

Zenodo (CERN European Organization for Nuclear Research)
Generative Adversarial Networks and Image Synthesis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon