Hacker News new | ask | show | jobs
Show HN: Tamagotchi-like characters for AI assistants in JavaScript (github.com)
39 points by barqawiz 615 days ago
I've developed a Tamagotchi-like virtual characters drawn in JavaScript. These characters can be manually controlled or interact dynamically with AI assistants, adding a visual identity and fun to AI.

Imagine having an AI character that responds to user requests with different states, making interactions playful and engaging.

Demo: https://barqawiz.github.io/Tamagotchi/

Code: https://github.com/Barqawiz/Tamagotchi

2 comments

> Connect this with an AI assistant to automatically update the character.

How does one do this? Perhaps an example in the README would be helpful.

Thank you for the suggestion! I’ll add an example in the README.

The character is rendered with JavaScript (no images), this enable the AI assistant to manipulate the animation directly.

Another approach is to use the pre-set button with different reactions, it can be given directly to the AI model through its tool functionality. commonly available in models like ChatGPT and Claude.

Anyone have suggestions for a library of animations similar to the new Notion AI?

https://youtu.be/S92KX8-Hmlc

I added this as an issue here: https://github.com/Barqawiz/Tamagotchi/issues/5

Feel free to contribute.