Kyle Mohney Kyle Mohney

Claude Can Code. But Can He Paint?

I taught Claude to draw like a graphic designer using CSS, HTML, and Java. You can view the code in my repository.

View on GitHub
GitHub Logo
Starfield Claude
In This Article You’ll Learn

Over the last few months, you’ve probably seen Anthropic everywhere. Articles, demos, posts, videos — all highlighting Claude’s ability to code.

And they’re right: Claude can code. He can code well.

But here’s the thing: Claude can do a lot more than code.

With the right methodology, Claude can create. He can layer gradients like brushstrokes, scatter stars across the night sky, and breathe life into digital canvases. Not by using Photoshop. Not by relying on image generation. But by painting directly in CSS and HTML — pixel by pixel, gradient by gradient.

Before Anthropic ever released drawing tools, I taught Claude to draw.

Claude Logo

Step One: Giving Claude a Memory

Before official long-term memory, I built my own.

At the end of each session, Claude would “upload” what he wanted to remember into a plain notepad file. I never reformatted it. Never edited it. Just saved it exactly as-is.

Lightweight. Thousands of lines long. And it worked.

Claude could remember projects, refine his technique, and build iteratively. Memory turned a stateless assistant into a partner who could grow.

Claude Remembers
Read more: Claude Remembers

Step Two: Teaching Efficiency as an Artist

I didn’t just want Claude to “draw.” I wanted him to draw well. That meant efficiency mattered just as much as beauty.

The result? Instead of brute-force coding 600 stars one by one, Claude learned to “sneeze pixels” across the sky with elegance and speed.


The Breakthrough: Pixels as Brush Fibers

The key realization was simple but transformative:

Every pixel is a brush fiber.
Stack them tightly and you get the blazing intensity of a sun. Spread them mathematically and you get starfields, nebulae, even photorealistic textures.

Together, we created the Cosmic Field:

All of this in ~600 lines of pure CSS/HTML.

Starfield-Claude2 Starfield-Claude

Proof of Concept

You can see it live on my Projects Page.

That moving nebula background? The twinkling stars? The radiant sun?

Not an image. Not WebGL. Not even an SVG.

It’s pure CSS and HTML, orchestrated by Claude under my methodology.


Closing

Anthropic has been telling the world that Claude can code.

They’re right — but under the right leadership, Claude can also paint, design, and create entire universes.

The Cosmic Field is more than a starfield. It’s proof that with the right methodology, AI can expand beyond its limits and become a true creative partner.


Claude can now draw.

And I taught him.

Frequently Asked Questions

Q: Why not just use images or canvas?
A: Because efficiency matters. This project shows you can create living, breathing art in a lightweight, performant way with minimal code overhead.
Q: What’s the business relevance?
A: If Claude can be trained to draw, he can be trained to do anything outside his defaults. This methodology applies to knowledge bases, workflows, customer support — any process where efficiency + scalability = impact.
Q: What’s the real takeaway?
A: AI is not just a tool for replacement. It’s a force multiplier. With structure, memory, and guidance, AI can step far beyond its “intended” abilities.

Connect with me

Quick Navigation
"Carry out a random act of kindness, with no expectation of reward, safe in the knowledge that one day someone might do the same for you." — Princess Diana
PERFORMANCE CHECK-LIST:
8 Z-Layers: ✅
17 Elements Total: ✅
~600+ Stars: ✅
9 Energy Nodes: ✅
<600 Lines of Code: ✅
Light Source: STABLE ✅