28 ms·
Looks like Google image search always has a fallback for a nonsense search query, and the images between Google and Picular exactly match (if you hover over the
by alangpierce 8y ago
Looks like Google image search always has a fallback for a nonsense search query, and the images between Google and Picular exactly match (if you hover over the bottom-right of any color card, it shows the source image):
https://www.google.com/search?tbm=isch&q=sdlkfjsldkfjsldfkj https://www.google.com/search?tbm=isch&q=sdlkfjsldkfjsldfkj
https://picular.co/sdlkfjsldkfjsldfkj https://picular.co/sdlkfjsldkfjsldfkj
If you put it in quotes, though, Google gives no results and Picular crashes (500 internal server error from an XHR):
https://www.google.com/search?tbm=isch&q="sdlkfjsldkfjsldfkj" https://www.google.com/search?tbm=isch&q="sdlkfjsldkfjsldfkj...
https://picular.co/"sdlkfjsldkfjsldfkj" https://picular.co/"sdlkfjsldkfjsldfkj"
- hesselbom 8y agoFixed! There's now a color palette for "sdlkfjsldkfjsldfkj" ;)
- nickelcitymario 8y agoWhat did you change? My guess is you're still doing a Google Image search, but when it returns no results, you return something random and cache this query for consistency. Is that about right?.
- hesselbom 8y agoGood guess! That's almost right, but there's no cache involved. Random colors based on a seed.