Claude P5.js Drawings

Claude P5.js Drawings

I'm checking in on LLMs' ability to draw things using P5.js. It seems like things have improved a lot since the last time I tried some of these same experiments in 2022 (post). I used claude.ai to generate p5.js code, then copied the result into the p5.js playground and grabbed screenshots. The model must have a deep understanding of the context for these scenes, and how to break them down into basic shapes and position things correctly relative to each other.

Monkey fighting a dragon
Horse on a skateboard
Wiener dog bungee jumping
Elephant scuba diving
Cat popping out of a chimney

I asked Claude to reproduce a low poly 3D model using p5.js, and I'm impressed by how close it was able to get. I really don't understand how this is possible 😥.