Skip to content

A starter template for 3D, Three.js based real-time twitch emote animations

Notifications You must be signed in to change notification settings

moonscreens/intro-example-threejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3D intro screen

A starter template for Three.js based animations that tie in with users posting emotes through Twitch chat in real time. Uses the twitch-chat-emotes-threejs library to interact with chat.

Confused? Learn more about the project.

If you're looking for a more basic template or are more comfortable using the canvas API yourself, check out intro-example.

Include ?channel=moonmoon, or ?channel=channel1,channel2,channel3... in your URL to connect to a specific channel, great for testing!

Include ?stats=true to enable performance stats (should pop up in the top left corner).

Development

Before you start, you should have NodeJS installed.

npm install
npm run dev

After running dev, open localhost:5173. The page should automatically refresh when you make a change.

Building & Deploying

npm run build

Outputs static files to /dist/.

Services like Netlify have free tiers that can easily deploy simple static webpages like this.

About

A starter template for 3D, Three.js based real-time twitch emote animations

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published