🧠 Emotionpedia
March 31, 2025 · View on GitHub
Welcome to my Swift Student Challenge 2025 submission! Click to check out the demo.
Emotionpedia is an interactive app that helps autistic children understand and manage their emotions in a fun and intuitive way. Designed with accessibility in mind: no sensory overload! Engaging activities with soft colors, simple layouts, clear language, and optional sound toggles make everything easy to process. :)
It focuses on two main emotions: happiness and anger.
🔍 What does the app do?
- Exploring situations: Kids explore different scenarios, tapping on objects to see how they might trigger emotions.
- Mimicking expressions: Using ARKit, they practice facial expressions. The app tracks key facial features (eyebrows, eyes, nose, cheeks, mouth) and gives real-time feedback on accuracy!
- Expressing and managing: Fun activities help with emotional expression and regulation. Happy? Clap along with the music: Vision-based hand tracking ensures it works even with soft claps! Angry? Blow into the mic to pop virtual soap bubbles!
- Reward system: After completing an emotion cycle, RealityKit displays a snapshot taken during facial tracking. It can be saved or printed as a study card!
- Pause and Breathe: A break button triggers a guided counting exercise using Apple’s Speech framework for overwhelming moments.
👩🏻💻 Technologies used
SwiftUI, Combine, CoreText, ARKit, RealityKit, Vision, AVFoundation, Speech.
🤝 Third-party content credits
🎵 Sound Effects:
- "Success" sound by Andy Rhode: freesound.org/s/320657/ (Attribution 3.0 License)
- "Tap" sound by Saroop Daiya: freesound.org/s/718438/ (Creative Commons 0)
🔤 Fonts:
- Gribouille by Célia Astori: dafont.com/gribouille-2.font
- Handwriting by user "athy!!": dafont.com/handwriting-16.font
- Cutesy by Jeron Aguinaldo: dafont.com/cutesy.font
🎉 Confetti animation:
- Based on a tutorial by Jared Cassoutt: medium.com/@jaredcassoutt
🖥️ External code:
- Font registration code by Alessandra Luana Nascimento Pereira (MIT License)
⚖️ License
This project is licensed under the MIT License. You are free to use, modify, and distribute this code, as long as proper credit is given to the original author.
Growing up, I realized how life-changing emotional skills can be. As I explored this, I came across the unique challenges that many autistic children face in recognizing and managing emotions. That's how Emotionpedia was born, and creating it felt like a big hug. 🫂
Made by Vitória Beltrão Wenceslau do Ó for the Swift Student Challenge (and for life <3). 🍎