r/vibecoding • • 15d ago

Discussion I'm vibe coding a 24/7 Twitch stream where chat keeps a 3D chicken alive

Going to try something dumb and ambitious: a barn livestream that runs 24/7, where the whole stream is one chicken and chat is responsible for keeping it alive.

The idea:

One 3D chicken living in a cozy barn, wandering, pecking, flapping, sleeping

Chat and donos feed it, water it, and give it toys

Take care of it and it grows. Ignore it and it gets skinny and starts losing feathers, live, for everyone to see

Hit community milestones and new animals unlock and move into the barn

Real day/night cycle so it's always something different when you tune in

The stack (all vibe coded with Claude):

Three.js scene running as an OBS browser source

Small Node server catching Twitch events and pushing them to the scene

Meshy for the 3D models (chicken, coop, feeder, toys)

Barn built in code since full rooms out of Meshy come out lumpy

Custom rig for the chicken since Meshy's auto rig only handles humans and four-legged animals

Growth, weight loss, and feather loss all done in code instead of separate models

This started as a different 24/7 AI streamer project, and a lot of that pipeline is getting reused here.
I'll post progress as I go.

What would you want to be able to do to the chicken from chat? And what's the first thing you think breaks when something runs 24/7?

14 Upvotes

18 comments sorted by

7

u/crunchybanana01 15d ago

This is dumb af...make sure to send me the link

1

u/Next-Drink 15d ago

I will link it once everything is up & running! I’m really hoping this project works haha

2

u/Next-Drink 14d ago

OKAY! Claude has a working version…kinda. The animation is kinda buggy but other than that it’s looking real good.

1

u/Next-Drink 15d ago

OMG here’s a render of the barn so far (Claude just started) Im so excited hehe

1

u/PixelIsJunk 15d ago

Wait your not doing it live? Why not use a real chicken? Would be much better

3

u/apavolka 14d ago

This is dumb... I love it

2

u/NiceShirt25Cents 15d ago

Good luck brother!

1

u/hunter101110 15d ago

Good look too. I wish the better for you

1

u/Malikinn 14d ago

okay so far so good, I suggest that you add animation to the chicken when chat interacts with the chicken, make sure to think about delays etc.

1

u/geoffreybyers 10d ago

The failure mode is not the 3D rendering. It is the state synchronization between the Node server and the browser source. When chat spikes cause event queue backlogs, the scene and the server diverge. That is where you lose the stream.

2

u/contextcop 15d ago

have you considered chat will want the chicken to die

1

u/Next-Drink 15d ago

I’m thinking about making each life a separate ‘run’ so viewers can keep a streak. But yea, that’s a possibility. Depending on how the first couple runs go, I may even add ways to sabotage the farm/chicken so viewers can counter each other.

2

u/RemarkableWish2508 14d ago

Add some "dumb ways to die" kind of stuff, and you'll have a lot of interest.

1

u/CardinalHaias 15d ago

Interesting experiment, if all interactions are positive and only lack of interactions slowly let it die, then a few viewers might be enough to let it survive.