Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread little AI game
Sun, Apr 27 2025 1:25 AMPermanent Link

erickengelke

Avatar


Tonight I decided to make a little AI based game using EWB to do the UI.

In it, you draw a little picture of anything you wish and it guesses what you drew.  

You can make complicated scenes like a village of houses, or flower in the sun, a bunny walking a dog, etc.  Keep adding detail and it will change its predictions.

It's sort of like Solitaire meets Pictionary.

There is an undo button which removes lines.

It also knows about many memes and will call them out.

Have fun: the url is   https://maggot4.uwaterloo.ca/draw

I haven't tested on a cell phone, you might need to rotate 90 degrees for the display to work.


The system works by taking a small low-resolution thumbnail of the picture (AI doesn't need high res and high-res slows it down with needless detail), sending it to a server and using an LLM (Gemma3) to guess and describe the picture.  The results get sent back to your display.

As always, feedback appreciated.

Have fun

Erick
EWB Programming Books and Nice Component Library
See my EWB BLOG posts, at:
http://www.erickengelke.com
Wed, Apr 30 2025 9:00 PMPermanent Link

Bruno Larochelle

way cool! works as you described, thanks for highlighting all the possibilities with EWB!


erickengelke wrote:


Tonight I decided to make a little AI based game using EWB to do the UI.

In it, you draw a little picture of anything you wish and it guesses what you drew.  

You can make complicated scenes like a village of houses, or flower in the sun, a bunny walking a dog, etc.  Keep adding detail and it will change its predictions.

It's sort of like Solitaire meets Pictionary.

There is an undo button which removes lines.

It also knows about many memes and will call them out.

Have fun: the url is   https://maggot4.uwaterloo.ca/draw

I haven't tested on a cell phone, you might need to rotate 90 degrees for the display to work.


The system works by taking a small low-resolution thumbnail of the picture (AI doesn't need high res and high-res slows it down with needless detail), sending it to a server and using an LLM (Gemma3) to guess and describe the picture.  The results get sent back to your display.

As always, feedback appreciated.

Have fun

Erick
EWB Programming Books and Nice Component Library
See my EWB BLOG posts, at:
http://www.erickengelke.com
Thu, May 1 2025 4:03 PMPermanent Link

erickengelke

Avatar

Bruno Larochelle wrote:
> way cool! works as you described, thanks for highlighting all the possibilities with EWB!

Thanks Bruno.

My kids and friends had a fun time trying to stump it.   

I appreciate the fine folks who have released open models, allowing us to build cool things with just a bit of code.

The LLM I used for this was Gemma 3, a model provided by Google.

Sometimes the tech giants do good things for the community, even though it's in the hope of future profits, this is one of those times.

Erick

>> Have fun: the url is   https://maggot4.uwaterloo.ca/draw
EWB Programming Books and Nice Component Library
See my EWB BLOG posts, at:
http://www.erickengelke.com
Image