SpotifyCodeDisplay-Aiden
This is a display of a scannable code that can visit special Spotify playlists. This project strengthened my understanding in Javascript.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| blot-3dgallery | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 12, 2024 10:03pm |
I found this thread about getting spotify codes that may be helpful https://community.spotify.com/t5/Spotify-for-Developers/How-to-generate-a-spotify-code-using-web-api/td-p/5452329
@maxwofford @BrightTheBackpack Thank you for your suggestions. I could use the api to generate the img; however, I can't find an api that will convert the png file into an array of 0s and 1s, which will end up looking like this. Currently, I am having to generate the array with 0s and 1s on my end.
@DominantDuck I bet you can do that in JS! No API needed! Try playing around with the barcode data they give you in JS as a blob or image object.
@maxwofford I am unable to use the Image object via the blot editor.
@DominantDuck the blot editor just runs js, you can edit images in it!
@maxwofford How can I receive the physical blot so I can test it?
I'm out this week, but @BrightTheBackpack is online and can help with review!
@DominantDuck I'm back in person and will review regularly each workday now. You get a blot by getting art approved to the gallery. Currently your art doesn't meet the requirements https://github.com/hackclub/blot/blob/main/docs/GET_A_BLOT.md#1-make-a-unique-piece-of-generative-art
@maxwofford What specific rule do I not meet, so I can make the needed adjustments?
@DominantDuck Your artwork must be algorithmic! I know you included a couple image.txt files in your code people can pick from, but your code should take in something that more people can tinker with b/c it looks like the image.txt files are doing the bulk of the work converting an image to text already. Try getting it to process the image files, or hit an api endpoint for spotify barcodes
Seeing as this hasn't been updated in over a month, I'm going to close the PR for now. You're free to make a new one in the future with the same artwork if you'd like! Reach out to me @\alexren on the slack if you have any questions!