add a .env
file in repository and fill it with the following environment variables
CLIENT_ID="<client id>"
CLIENT_SECRET="<secret token>"
you can get those tokens from the Spotify Web API Developer Console
The aim of this project is to develop a more aesthetically pleasing and user-friendly solution. The focus here is on improved visualization, usability and user-friendliness in order to facilitate the exploration of musical genres from user libraries and make it a pleasant experience.
- authentication and data retrieval:
- The user logs in to Spotify (see Figure 1) to grant access to their listening habits. The data is then retrieved via the Spotify API.
- data processing:
- The genres of the most listened to artists are extracted and transferred into a meaningful hierarchy.
- Graph generation:
- Based on the processed data, the FDG is generated. The main genres are positioned at regular intervals around the root node, while subgenres are distributed dynamically.
- interaction:
- The user can manually move or zoom in on the graph to get a customized view.
For a visually appealing design of the application, a shader reminiscent of plasma was implemented for certain backgrounds and textures. This was based on an already published shader from a godot user and was modified to server our puproses.