hn.today

Painting 1990s anime scenes in Python

fofr.ai19 points10 comments
Screenshot of Painting 1990s anime scenes in Python

The project uses an LLM to write a Python program that paints an image, inspect the rendered result, then revise the code until the scene looks right. Commenters were impressed by the use of perspective, lighting, textures, and measurements, and by the fact that the resulting Python file can generate the art again without further model use. One commenter found the idea unsurprising and dismissed the agent-written post as saying little; others connected it to experiments using LLMs to simulate brushes or draw with Fourier curves. A commenter who built a restricted drawing language for retro adventure-game scenes said the same approach can work across models, though outputs differ.

Commenters disagreed about how well the images demonstrate the technique and what drives quality. One found Gemini’s result strongest, attributing that partly to its spending more time reasoning; tests with other models produced rougher, sometimes unexpectedly three-dimensional images, and higher effort appeared to improve results. Another liked a messy high-effort image for its Paper Mario-like mix of 3D perspective and paper-cutout forms. They noted that LLM image-making can take 30-60 minutes and consume substantial token budgets, while constrained drawing languages run faster. Model size, reasoning effort, and randomness all shape the result: seeds seem to change details more than the overall composition.

Read on fofr.ai10 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Source Control from Hell

Source Control from Hell

An early software job relied on a shared folder, manual change descriptions, and a tech lead copying code by hand, with coworkers announcing when they needed access to avoid overwriting each other. Discovering Git showed Alex how version control could make collaboration faster and safer, but his company kept its old process for years because it worked well enough for them. (frantic.im)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.