Inspiration
I’ve always been fascinated by the unseen threads that connect human emotions to the universe. As the Enchantress of Euphoria and a 3D alien, I imagined a way to translate feelings into cosmic experiences — turning joy, sadness, and curiosity into galaxy visuals, soothing sounds, and poetic expressions. The idea: what if emotions could be “felt” in the stars?
What it does
The Cosmic Emotion Engine is a generative AI application that transforms human emotions into multi-sensory outputs: Camera-based emotion detection or manual input Nova-generated poetic reflections Galaxy-themed animations reflecting emotion Relaxation sound frequencies tuned to the user’s mood It leverages Amazon Nova foundation models to generate poetic content that resonates with the detected emotion. Users can experience a personal cosmic journey, whether happy, sad, or curious.
How we built it
Frontend: HTML, CSS, JS Camera access via face-api.js for real-time emotion detection Galaxy animations using canvas + emotion-based colors Relaxing sound frequencies using Web Audio API Backend: Python + Flask /emotion endpoint receives emotion input Returns theme, frequency, and Nova-generated poem Nova Integration: Poetic content generated via Nova foundation model using custom prompts
Challenges we ran into
Challenges Camera permissions & browser restrictions — solved by prompting users and providing manual input fallback. Face-api.js accuracy — tuned detection intervals and model selection for reliable emotion recognition. Real-time multi-sensory updates — coordinated animations, sounds, and text updates without lag. Zero budget constraints — used free libraries (face-api.js, Web Audio API, canvas)
Accomplishments that we're proud of
What we learned
What I Learned Integrating real-time computer vision with generative AI Synchronizing visual, auditory, and textual outputs for a single user experience Handling asynchronous frontend-backend communication efficiently
What's next for Cosmic Emotion Engine
Future Enhancements Add Nova Multimodal Embeddings for video and sound-based emotion analysis Enable multi-user shared cosmic experiences
Built With
- amazon-web-services
- animations
- camera-access
- canvasapi
- css
- curl
- face-api
- html
- javascript
- json
- localhost
- nova2lite
- postman
- python
Log in or sign up for Devpost to join the conversation.