blot icon indicating copy to clipboard operation
blot copied to clipboard

SpotifyCodeDisplay-Aiden

Open DominantDuck opened this issue 1 year ago • 11 comments

This is a display of a scannable code that can visit special Spotify playlists. This project strengthened my understanding in Javascript.

DominantDuck avatar Jul 12 '24 22:07 DominantDuck

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

vercel[bot] avatar Jul 12 '24 22:07 vercel[bot]

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

BrightTheBackpack avatar Jul 14 '24 08:07 BrightTheBackpack

@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. image

DominantDuck avatar Jul 15 '24 15:07 DominantDuck

@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 avatar Jul 15 '24 21:07 maxwofford

@maxwofford I am unable to use the Image object via the blot editor.

DominantDuck avatar Jul 16 '24 02:07 DominantDuck

@DominantDuck the blot editor just runs js, you can edit images in it!

maxwofford avatar Jul 18 '24 15:07 maxwofford

@maxwofford How can I receive the physical blot so I can test it?

DominantDuck avatar Jul 18 '24 15:07 DominantDuck

I'm out this week, but @BrightTheBackpack is online and can help with review!

maxwofford avatar Jul 24 '24 03:07 maxwofford

@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 avatar Jul 29 '24 02:07 maxwofford

@maxwofford What specific rule do I not meet, so I can make the needed adjustments?

DominantDuck avatar Jul 29 '24 14:07 DominantDuck

@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

maxwofford avatar Aug 02 '24 15:08 maxwofford

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!

qcoral avatar Aug 27 '24 18:08 qcoral