{"id":18253901,"url":"https://github.com/prempreetbrar/videoconsumptionandmood","last_synced_at":"2025-07-08T06:42:04.381Z","repository":{"id":214449925,"uuid":"736526043","full_name":"prempreetbrar/VideoConsumptionAndMood","owner":"prempreetbrar","description":"A visualization program that helps provide insights on the effect of video consumption on mood.","archived":false,"fork":false,"pushed_at":"2023-12-31T22:08:27.000Z","size":815,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T17:15:00.835Z","etag":null,"topics":["change-in-mood","controlp5","details-on-demand","duration","filter","information-visualization","intentionality","mood","overview","processing","proxemics","toggle","video-consumption","visualization"],"latest_commit_sha":null,"homepage":"","language":"Processing","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prempreetbrar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-28T06:27:48.000Z","updated_at":"2023-12-28T09:10:58.000Z","dependencies_parsed_at":"2023-12-31T23:18:36.252Z","dependency_job_id":"4194866e-7d42-45df-9def-87096f1205c4","html_url":"https://github.com/prempreetbrar/VideoConsumptionAndMood","commit_stats":null,"previous_names":["prempreetbrar/videoconsumptionandmood"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prempreetbrar%2FVideoConsumptionAndMood","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prempreetbrar%2FVideoConsumptionAndMood/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prempreetbrar%2FVideoConsumptionAndMood/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prempreetbrar%2FVideoConsumptionAndMood/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prempreetbrar","download_url":"https://codeload.github.com/prempreetbrar/VideoConsumptionAndMood/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247934808,"owners_count":21020724,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["change-in-mood","controlp5","details-on-demand","duration","filter","information-visualization","intentionality","mood","overview","processing","proxemics","toggle","video-consumption","visualization"],"created_at":"2024-11-05T10:08:57.960Z","updated_at":"2025-04-08T21:46:35.627Z","avatar_url":"https://github.com/prempreetbrar.png","language":"Processing","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VideoConsumptionAndMood\n\nAn interactive visualization that maps data regarding video consumption habits, helping me determine the influence of the type of video content \n(ie. social media, movie, TV Show, etc) and the duration of the video-watching session (ie. 30 minutes, 60 minutes, etc) on my mood. I then\nused the insight gained from this visualization to change my video consumption habits to improve my overall well-being.\nWatch quick gif(s) and picture(s) of me interacting with it below:\n\n## Overview:\n![image](https://github.com/prempreetbrar/VideoConsumptionAndMood/assets/89614923/9ec08893-f401-4513-b5e6-eccb69e4f340)\nThe research question we chose to answer is: How does the type of video content and duration of session influence a change in mood?  \nIn our visualization, we represented each data entry as its own rectangle. The width of a rectangle is the duration of the session \n(which is one of our explanatory variables), the height is the intensity of the mood (in other words, its score from 1 to 100), and \nthe colour is the mood category (anger is red, sad is blue, happy is yellow, confused is pink, tired is grey, tense is white, afraid is \nblack, and energetic is green), with height and colour combining to encode our response variable. \n\n\u0026nbsp;\n\nWhen you first run the program, you get to see all 283 data entries; this is the \"overview\" interaction technique. Overview is useful because \nit gives you a surface-level view of the dataset and lets you decide what data you’d like to get further insight on. For example, here, the \nreader can see that Liana had data points towards the end where she was happy. They can then swap the view to mood after \nto see how video content influenced mood.\n\n## Filtering to See Certain Moods:\n![Filter](https://github.com/prempreetbrar/VideoConsumptionAndMood/assets/89614923/2db9caac-1826-4e95-840f-055364f4c8ff)\nAnother interaction technique we employed is \"Filter\". Filter is useful because it allows us to get insights on the moods we choose. \nFor example, if a group member wants to know if videos lead to them being less tense (to see if they are a good coping mechanism for the emotion), \nthey can go to the dropdown menu and select the Tense mood, and then examine the change in mood before and after. In the gif, you’d see that longer \nsession durations tend to reduce one’s tenseness, while shorter video sessions (as seen by the width of the rectangle) seem to have a reduced (or no) effect. \nFor example, when me (Prempreet) was tense, only my longer sessions seemed to change my mood.\n\n## Details on Demand:\n![Details](https://github.com/prempreetbrar/VideoConsumptionAndMood/assets/89614923/d359cd47-81fa-4ae5-8b77-03d526161640)\nOur other explanatory variable (type of video content) can be seen by clicking on a rectangle and looking at its detail. This is useful because \nit allows you to see WHAT types of video content influenced mood. For example, when our group was energetic, we saw a large change in our mood's \nafter watching a video. When clicking on the rectangles that changed in category, we saw that a good proportion of them were sessions \nconsisting of long videos and medium videos. From this, we could infer that long and medium videos lead to other moods overtaking energeticness.\n\n## Toggle (Mood Before vs After):\n![ToggleAngry](https://github.com/prempreetbrar/VideoConsumptionAndMood/assets/89614923/7218b51a-08a0-4be8-94bd-a0928ca4f6b9)\nNote that our research question is examining the CHANGE in mood. This is why we have TWO views; one is the mood BEFORE starting a session, \nand the other is the mood AFTER finishing a session. Note that we have the same set of data, but with a different arrangement. \nThis is the \"reconfiguration\" interaction technique. For example, in the gif, one can see that when our group was angry, the duration of session had \nlittle influence on our mood. \n\n\u0026nbsp;\n![ToggleSad](https://github.com/prempreetbrar/VideoConsumptionAndMood/assets/89614923/3174234f-d967-4ace-a9f0-83d400950d3e)\nOn the other hand, in the gif, one can see that when our group was sad, video content had considerable influence in changing our mood category. \nOne can also look at the change in the height of the bars before and after to see how video content influences the intensity of our mood. \nReconfiguration is probably the most important part of this visualization, because it’s what allows us to see the CHANGE in our mood and answer \nour research question.\n\n\n\n## Features\n- Each data point holds the day of the week, the video content type (using 8 different classifications of broadcast, live stream, movie, TV/Web Show,\n  long video, medium video, short video, and social media clip), intentionality (if the decision to START a session was a conscious one), duration of a session\n  (note that a session ends when the user leaves their device, switches apps, or watches a different video content type; so, one session could, for example,\n  include 10 different videos). The current activity before viewing (that you were most engaged in). The mood before and after using the VAMS scale\n  (where you record your strongest mood and its corresponding score), the physical location (which are the walls of the enclosing building), the viewing device\n  (phone, laptop, TV, projector, etc), and the proximity (using Edward T. Hall's four classes of intimate, personal, social, or public).\n- You can toggle using spacebar to display the mood before or mood after, allowing you to see the change in mood from a video consumption session.\n- You can click on a rectangle to see details about the data point. You can click off the rectangle to stop seeing details about the data point.\n- You can filter to only see data points concerning certain moods in the bottom right corner.\n- The width of a rectangle is the duration of the session, the height is the intensity of the mood (or its score), the colour is the mood class (anger is red,\n  sad is blue, happy is yellow, confused is pink, tired is grey, tense is white, afraid is black, energetic is green).\n  \n\u0026nbsp;\n\n## Limitations/Design Choices\n\n- An external Processing library (controlP5) was used to show the filter menu.\n\n\u0026nbsp;\n\n## If you want to start up the project on your local machine:\n1. Download the code as a ZIP:\n\u0026nbsp;\n![Download](https://github.com/prempreetbrar/VideoConsumptionAndMood/assets/89614923/0a6f2c96-1b3b-449d-b823-91e6d80f8a98)\n\u0026nbsp;\n\n2. Open the .pde file. When prompted, keep \"VideoConsumptionAndMood-main\" as the sketch folder:\n\u0026nbsp;\n![Open](https://github.com/prempreetbrar/VideoConsumptionAndMood/assets/89614923/12cd7702-7f18-4666-86ee-0bf1fc02d9d2)\n\u0026nbsp;\n\n3. Click the play button on the processing panel to start the sketch:\n\u0026nbsp;\n![Play](https://github.com/prempreetbrar/VideoConsumptionAndMood/assets/89614923/68730272-ca0c-457c-9054-106f87ceb814)\n\u0026nbsp;\n\n4. Have fun interacting with the visualization!\n\u0026nbsp;\n![image](https://github.com/prempreetbrar/VideoConsumptionAndMood/assets/89614923/9ec08893-f401-4513-b5e6-eccb69e4f340)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprempreetbrar%2Fvideoconsumptionandmood","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprempreetbrar%2Fvideoconsumptionandmood","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprempreetbrar%2Fvideoconsumptionandmood/lists"}