“Make It Real” AI prototype wows devs by turning drawings into working software

is super fun. I iterated through ~10 builds today and it cost me $0.90 using GPT4. The pong game is playable as described.

Enlarge / A shot of tldraw's "Make it Real" in action, provided by Ashe on X: "Ok...@tldraw is super fun. I iterated through ~10 builds today and it cost me $0.90 using GPT4. The pong game is playable as described." (credit: Ashe Oro)

On Wednesday, a collaborative whiteboard app maker called "tldraw" made waves online by releasing a prototype of a feature called "Make it Real" that lets users draw an image of software and bring it to life using AI. The feature uses OpenAI's GPT-4V API to visually interpret a vector drawing into functioning Tailwind CSS and JavaScript web code that can replicate user interfaces or even create simple implementations of games like Breakout.

"I think I need to go lie down," posted designer Kevin Cannon at the start of a viral X thread that featured the creation of functioning sliders that rotate objects on screen, an interface for changing object colors, and a working game of tic-tac-toe. Soon, others followed with demonstrations of drawing a clone of Breakout, creating a working dial clock that ticks, drawing the snake game, making a Pong game, interpreting a visual state chart, and much more.

Users can experiment with a live demo of Make It Real online. However, running it requires providing an API key from OpenAI, which is a security risk. If others intercept your API key, they could use it to rack up a very large bill in your name (OpenAI charges by the amount of data moving into and out of its API). Those technically inclined can run the code locally, but it will still require OpenAI API access.

Read 4 remaining paragraphs | Comments

文 » A