AI Paints by Writing Editable JavaScript Instead of Generating Images

floguo · x · 2026-08-27

This project presents a novel approach to AI painting: instead of generating pixel images directly, it uses reinforcement learning and human-rated examples to teach Qwen 3.5 how to write editable JavaScript code to create watercolor paintings. This 'code-as-brush' method yields highly editable and procedural results.

Related event: RL Trains Qwen 3.5 to Paint Watercolors in JavaScript(2 posts)→

Original post →

More from Fun

Fun channel →