Color nerdery ahead: I’ve been a fan of the CIELAB color space ever since I discovered Lab mode in Photoshop 20-ish years ago — it’s so awesome and useful to be able to manipulate color channels separate from luminosity! — and so I’m thrilled that web design is heading that direction as well with the new OKLCH color space in CSS Color 4.
This article from Evil Martians about why they’ve made the switch to OKLCH is a great read on the ins and outs of the new color space and why you should consider using it over the more familiar ancient standards. The TL;DR: unlike hexadecimal or RGBa values, Lab/LCH is much easier to read and adjust directly in CSS as well: want to make a color more saturated? Just adjust the middle value, chroma! Oh, and contrast is preserved between different colors so long as the Luminosity remains the same, which makes conforming to the WCAG-compliant color contrast accessibility guidelines that much easier.
I also learned from this in-depth article that Adobe Photoshop has adopted the OKLab space as a “perceptual” option when generating color gradients. Look at how ugly that “classic” gradient is in their screenshot! Gradients in Photoshop have always been messed up, so this is a pretty huge change that they’ve made.
From Andrew Somers, a great primer on how color vision works and how illuminated display technology maps perception to luminance contrast, color gamut, etc. Especially useful is his writeup of not only WCAG 2’s limitations for determining proper contrast for meeting accessibility needs but also the upcoming standards like APAC (Accessible Perceptual Contrast Algorithm) that will pave the way for more useful and relevant a11y standards.
This is a compelling use of AI for photographic manipulation (in my mind more practical than many of the other AI image generation examples that are flooding the art websites these days): basically the software can analyze a photograph, use AI to generate a pretty accurate depth map of the subject of the photo, and then use that for dynamic relighting (allowing you to add different artificial lights, color gels, etc.). You can try the web-based demo on your own photos! Neat.
If you’re super nerdy and experienced with using Photoshop’s individual color channels to make enhancements or custom masks, you might have noticed that the blue channel has very little influence on the overall sharpness of an RGB image — it never occurred to me that this is inherently a function of our own human eyesight, which is unable to properly focus on blue light, in comparison to other wavelengths!
In conclusion, the optical system of the eye seems to combine smart design principles with outstanding flaws. […] The corneal ellipsoid shows a superb optical quality on axis, but in addition to astigmatism, it is misaligned, deformed and displaced with respect to the pupil. All these “flaws” do contribute to deteriorate the final optical quality of the cornea. Somehow, there could have been an opportunity (in the evolution) to have much better quality, but this was irreparably lost.
Your random number generator not truly random enough for you? Maybe you should try some of the numbers coming off of the Australian National University’s quantum vacuum randomization server. Nothing like minute variations in a field of near-silence to get some unfettered randomness, I guess. They offer access to the vacuum through a few different forms of data – seen above is a chunk of their randomly-colored pixel stream. Science!
From Moby Dick, chapter 42, “The Whiteness of the Whale”:
Is it that by its indefiniteness it shadows forth the heartless voids and immensities of the universe, and thus stabs us from behind with the thought of annihilation, when beholding the white depths of the milky way? Or is it, that as in essence whiteness is not so much a color as the visible absence of color, and at the same time the concrete of all colors; is it for these reasons that there is such a dumb blankness, full of meaning, in a wide landscape of snows – a colorless, all-color of atheism from which we shrink? And when we consider that other theory of the natural philosophers, that all other earthly hues – every stately or lovely emblazoning – the sweet tinges of sunset skies and woods; yea, and the gilded velvets of butterflies, and the butterfly cheeks of young girls; all these are but subtile deceits, not actually inherent in substances, but only laid on from without; so that all deified Nature absolutely paints like the harlot, whose allurements cover nothing but the charnel-house within; and when we proceed further, and consider that the mystical cosmetic which produces every one of her hues, the great principle of light, for ever remains white or colorless in itself, and if operating without medium upon matter, would touch all objects, even tulips and roses, with its own blank tinge – pondering all this, the palsied universe lies before us a leper; and like wilful travellers in Lapland, who refuse to wear colored and coloring glasses upon their eyes, so the wretched infidel gazes himself blind at the monumental white shroud that wraps all the prospect around him. And of all these things the Albino Whale was the symbol. Wonder ye then at the fiery hunt?
Researchers at the Karlsruhe Institute of Technology set a new record by transmitting 26 terabits of a data per second (“the entire Library of Congress in 10 seconds!” as the usual benchmark goes) using a single laser and a clever FFT and frequency comb technique to split the light into 300+ discrete colors:
The Fourier transform is a well-known mathematical trick that can in essence extract the different colours from an input beam, based solely on the times that the different parts of the beam arrive. The team does this optically – rather than mathematically, which at these data rates would be impossible – by splitting the incoming beam into different paths that arrive at different times, recombining them on a detector. In this way, stringing together all the data in the different colours turns into the simpler problem of organising data that essentially arrive at different times.
To be filed under “research I like reading about even if I don’t quite understand how it works”, new studies from the University of Oregon into altering and controlling the color of light on the scale of individual photons in fiber optic signalling:
In experiments led by Raymer’s doctoral student Hayden J. McGuinness, researchers used two lasers to create an intense burst of dual-color light, which when focused into the same optical fiber carrying a single photon of a distinct color causes that photon to change to a new color. This occurs through a process known as Bragg scattering, whereby a small amount of energy is exchanged between the laser light and the single photon, causing its color to change. […]
“In the first study, we worked with one photon at a time with two laser bursts to change the energy and color without using hydrogen molecules,” he said. “In the second study, we took advantage of vibrating molecules inside the fiber interacting with different light beams. This is a way of using one strong laser of a particular color and producing many colors, from blue to green to yellow to red to infrared.”
The laser pulse used was 200 picoseconds long. A picosecond is one-trillionth of a second. Combining the produced light colors in such a fiber could create pulses 200,000 times shorter – a femtosecond (one quadrillionth of a second).
Computational image processing researchers at Northwestern University teamed up with art historians from the Art Institute of Chicago to investigate the colors originally laid down by Matisse while he was working on Bathers by a River:
Researchers at Northwestern University used information about Matisse’s prior works, as well as color information from test samples of the work itself, to help colorize a 1913 black-and-white photo of the work in progress. Matisse began work on Bathers in 1909 and unveiled the painting in 1917.
In this way, they learned what the work looked like midway through its completion. “Matisse tamped down earlier layers of pinks, greens, and blues into a somber palette of mottled grays punctuated with some pinks and greens,” says Sotirios A. Tsaftaris, a professor of electrical engineering and computer science at Northwestern. That insight helps support research that Matisse began the work as an upbeat pastoral piece but changed it to reflect the graver national mood brought on by World War I.
The Art Institute has up a nice mini-site about Bathers and the accompanying research, including some great overlays on top of the old photos to show the various states the painting went through during the years of its creation.
Ancient pigment history is fascinating. From dried beetles (carmine) to sea snails (Tyrian purple) to ground up human and feline mummies (the rather uncreatively-named Mummy brown), colors come from some weird places. I’d heard of Maya Blue before, but didn’t realize that it’s more of a process rather than a specific mineral pigment. The color was made by intercalating indigo (añil) into fine clay over continuous heat. The slow fusing with clay made the paint exceptionally resistant to weather and acidic conditions (and even modern solvents), and the process wasn’t fully understood / rediscovered until a few years ago. Cooking it up may have been ritualistic, as the incense copal was often burned in the same bowls. The color was important in sacrifice rituals as well: when the Sacred Cenote of Chichen Itza was dredged back in 1904, a a layer of blue silt 14-feet-thick was found at the bottom (sensationalism aside, the silt was likely more from all of the blue-painted pots tossed in than the blue-painted people…I hope).
The researchers knew that the Mayans made their blue by heating the pigment with palygorskite (a type of clay); their analysis showed that this heating allowed the pigment to enter tiny channels in the clay which are sealed after the mixture cools, protecting and keeping the pigment true blue for centuries.
BIT.TRIP.RUNNER, one of the best games I’ve played this summer. A hypnotically synaesthetic music platformer, something like an inspired cross between Vib-Ribbon and Michel Gondry’s Star Guitar video. Well worth the few bucks if you’ve got a Wii.
(Seen above is a run of level 1-11 by YouTube user NintenDaan1, the level that I’m currently stuck playing over and over again trying to get all of the bonus gold…)
For those of you with eyes that aren’t easily categorized as simply “brown”, “blue”, or “hazel”: researchers have written up a new genetic model for human eye color phenotyping, published in PLoS Genetics.
We measured human eye color to hue and saturation values from high-resolution, digital, full-eye photographs of several thousand Dutch Europeans. This quantitative approach, which is extremely cost-effective, portable, and time efficient, revealed that human eye color varies along more dimensions than the one represented by the blue-green-brown categories studied previously. Our work represents the first genome-wide study of quantitative human eye color. We clearly identified 3 new loci, LYST, 17q25.3, TTC3/DSCR9, in contributing to the natural and subtle eye color variation along multiple dimensions, providing new leads towards a more detailed understanding of the genetic basis of human eye color.
John Balestrieri is tinkering with generative painting algorithms, trying to produce a better automated “photo -> painting” approach. You can see his works in progress on his tinrocket Flickr stream. (Yes, there are existing Photoshop / Painter filters that do similar things, but this one aims to be closer to making human-like decisions, and no, this isn’t in any way suggestive that machine-generated renderings will replace human artists – didn’t we already get over that in the age of photography?)
Whatever the utility, trying to understand the human hand in art through code is a good way to learn a lot about color theory, construction, and visual perception.
A paper in Nature Photonics describing the waveplate mechanism found in the eye of mantis shrimp (stomatopods). These amazing critters can see hyperspectral color ranging from the infrared to the ultraviolet, can perceive different planes of circular polarized light, and have eyes that operate and dart about (saccade) independently. This paper is basically demonstrating that man-made material science has a lot to learn if we want to catch up with nature’s technology.
Personal side question: what are these shrimp on the lookout for that’s led to such a sophisticated eye??