I was experimenting with colour distances at work today. I need to find out how similar two colours are, so I wrote a little test program and it was surprisingly pretty.
The algorithm is simple:
Fill the canvas with random colours.
Set the first pixel (top left) to red.
For all pixels, find the most similar pixel and move it next to the current pixel.
To determine the similarity, I calculated the 3D distance in the RGB, HSV and YUV color spaces, which brought very different results. Now, it's quite possible that my HSV and YUV conversion functions were just broken, but that's okay.
We unexpectedly lost Gracie today; she'd successfully hidden her symptoms until recently, and we'd gotten her to the vet as soon as possible, but with the benefit of hindsight we can see what happened. It explains a lot of things.
The worst part is I hardly have any photos of her and George, her bonded mate, who is now looking for her.
It's been a shitty month. Here are a couple of the few photos I have of her.
This is Rainbow. Inspired by colorForth. I've defined 4 FORTH stack manipulation operators with tests (in teal and orange) and demonstrated usage (in yellow).
They are actually all defined by the "—" operator which takes a quotation and uses the elements as labels for values that are further popped from the stack. So you can almost use standard stack effect notation to define a word! #Rainbow#FORTH#showcase
I couldn't resist this "Progress Pride" colour from Knitted Wit -- I'm hoping I get some pooling but even if it ends up in chaos at least the socks will be colourful! 🏳️🌈
I created a #logo for arabi.gay! It's the same #mastodon logo, but I rotated the m on it's side and edited it to make the letter ع for عربي (arabi), and added the #rainbow. The background bubble-elephant-thing kinda looks like the letter م, so that almost completes the #Arabic acronym for LGBT (م.ع.). #wardiPublicPost
#TheMetalDogArticleList #louderlouder
What happened when AC/DC went on tour with Ritchie Blackmore's Rainbow
"I'll be honest here I think they blew us off stage every single night"
There are dragons that shoot rainbows in the D&D universe, and I feel like Hasbro has missed out on a marketing opportunity 🌈 #vintage#book#dnd#rainbow#dragon