Live data from Hacker News

Google, but for colors

picular.co

101–108 of 108 posts

Re: Google, but for colors

#105

Earlier quoted context omitted.

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://picular.co/sdlkfjsldkfjsldfkj If you put it in quotes, though, Google gives no results and Picular crashes (500 internal server err…

Fixed! There's now a color palette for "sdlkfjsldkfjsldfkj" ;)

What 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?.

Re: Google, but for colors

#107

Earlier quoted context omitted.

Fixed! There's now a color palette for "sdlkfjsldkfjsldfkj" ;)

What 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?.

Good guess! That's almost right, but there's no cache involved. Random colors based on a seed.
Post reply on HN