Tag Archives: colour

Virtual Recreation of Newton’s Two Prism Experiment

Dispersion of light through two prisms rendered in Luxrender

I began by testing if the physically based render program Luxrender  can make a believable simulation of white light passing through a prism. 

Unbiased render engines like Luxrender send out many virtual photons and calculate their paths according to physical laws, and as the ray-tracing algorithm includes colour dispersion, it should work.

Experimentum Crucis

Adding a second prism gives us Isaac Newton’s ‘Experimentum Crucis’: one of a series of experiments performed by Newton in 1666 and reported in a letter to the Royal Society in 1671 (1), showing how white light is composed of a range of colours separable by a prism. 

Newton then demonstrated the colours were a property of the light, not the prism, by using a slit to isolate an individual colour from one prism, and passing it through a second where no further separation of colours occurs – the second prism just refracts the single colour to one side.  Here is Newton’s own drawing of his two-prism experiment.

Experimentum Crucis
Experimentum Crucis

Virtual set-up and approximations

My distances and prism sizes are not accurate, but the simulation still works.   Also, Newton used the sun as a light source: passed through a slit before the first prism or focused through a lens. By contrast, my source is a small rectangular surface radiating in all forward directions followed by a collimating tunnel.

If the real or simulated light source is too ill-defined or unfocused, the separation in the spectrum can look superficially reasonable, but actually comprise several fuzzy overlapping spectra.   As a result, running without the collimator caused the green band to split into further colours.   That said, it’s worth remembering that while Newton reported seeing seven colours, the actual spectrum is a continuum of wavelengths, so a single colour will in fact be made of a range of further dispersible shades – we just don’t discern it.

Results

Here is a close-up of the isolating slit and the green spectral ‘line’ deviated but not dispersed by the second prism.  I’ve also in this picture turned out the background light used solely for dramatic effect in the first picture.

Dispersion through two prisms

And here are wireframe pics of the layout (scene created in Poser and linked to Luxrender via Reality):

Screen-Shot-2014-06-16-at-01.43
Screen-Shot-2014-06-16-at-01.52
Screen-Shot-2014-06-21-at-03.15

Other Observations

An interesting feature of this type of modelling is the need for a so-called Tone Mapping process. This requires the multiple wavelengths to which the ray-tracing maths is applied to simulate dispersion are translated into the red, blue, and green (RGB) that the computer monitor can display.

This sort of progam is limited as a virtual optical bench.  Luxrender cannot, for example, calculate the quantum probability amplitudes necessary to simulate interference as seen in the double slit experiment.

References

(1)  doi: 10.1098/rstl.1671.0072 Phil. Trans. 1 January 1671 vol. 6 no. 69-80 3075-3087 

Also of interest:

Experimentum Crucis
J. A. Lohne
Notes and Records of the Royal Society of London, Vol. 23, No. 2 (Dec., 1968), pp. 169-199
Published by: The Royal Society

Colorful Dining

This piece from last Saturday’s New York Times on food colorings and the influence of color on taste perception takes me back to a Wellcome Trust exhibition I visited in 20031

'Chromatic Diet' by Sophie Calle. At Treat Yourself exhibition, Wellcome/Science Museum 2003 (Photo: Tim Jones)
‘Chromatic Diet’ by Sophie Calle, at Treat Yourself exhibition, Wellcome/Science Museum 2003 (Photo: Tim Jones)

Hosted by the London Science Museum, the Treat Yourself exhibition included an artwork, ‘Chromatic Diet’, by French artist Sophie Calle, that reproduced the colour-based diet followed by a character in Calle’s book Double Game 2.

As I haven’t read it, the appeal of eating a different monochromatic dish each day of the week is beyond me.  But Psychologists have for years studied the effect of colour on taste perception, exposing diners to the likes of green french fries, blue steak, and black spaghetti, sometimes under distorting lighting conditions.

And as the NYT piece underlines, for manufacturers of processed foods, colour is a powerful marketing tool.

Yet without any higher scientific motive, I like the idea of inflicting the chromatic diet (or something similar) on an unsuspecting dinner party, just to see what would happen.

O.k., probably lose some friends; but at least it’s mainly natural ingredients and looks quite doable. And having chickened out in 2003, I’m thinking in the age of Heston Blumenthal this might be the moment.  Let me know what happens if you get there before me.

Here are the ingredients list for the dishes in the picture2:

Orange: Purée of carrots, Boiled prawns, Cantaloupe melon, Orange juice

Red: Tomatoes, Steak tartare, Roasted red peppers, Lalande de Pomerol, domaine de Viand, 1990, Pomegranite

White: Flounder, Potatoes, Fromage blanc, Rice, Milk

Green: Cucumber, Broccoli, Spinach, Green basil pasta, Grapes and kiwi fruit, Mint cordial

Yellow: Afghan omelette, Potato salad, Banana, mango ice cream, Pschitt fizzy lemon drink

Pink: Ham, Taramasalata, Strawberry ice cream, Rosé wine from Provence

 

References

(1) Review of Treat Yourself at a-n Magazine

(2)New York Times book review of Double Game

Humphry Davy – Finding Love in the Colourful Age of Romantic Science

You’re a young 33, with an already impressive scientific career under your belt, and – although you only suspect it – a spectacular future ahead of you. Within 10 years, you’ll be elected President of the Royal Society.

But in November 1811, you’ve got something else on your mind.

How exactly would Humphry Davy (he of Davy Lamp fame among many other achievements) impress the first true love of his life – the beautiful widow and heiress Jane Apreece ?

Well, as it turned out……with more science of course.  And unlikely as it might seem, with quotes from the book whose spine forms the header of this very blog: Erasmus Darwin’s Zoonomia. (Erasmus was Charles Darwin’s grandfather….how many times)

Over to you, Humph….

‘There is a law of sensation which may be called the law of continuity & contrast of which you may read in Darwin’s Zoonomia [sic].  An example is – look long on a spot of pink, & close your eyes, the impression will continue for some time & will then be succeeded by a green light.  For some days after I quitted you I had the pink light in my eyes & the rosy feelings in my heart, but now the green hue & feelings – not of jealousy – but of regret are come.’

Smooth, or what?

I’m not the first to spot Davy’s creative application of ground-breaking ideas in colour perception; the above passage is from Richard Holmes’s award-winning Age of Wonder.  But what’s it all about?   Let’s start with Zoonomia.

Erasmus describes his experiments on colour and the eye in Volume I, Section III: Motions of the Retina; and Section XI: Ocular Spectra.

In his letter to Jane Apreece, Davy is referring to this experiment (Warning for the unfamiliar: f = s):

Zoonomia Vol1 Section III, p.20

Later, Erasmus restates the experiment and proposes a mechanism for the observed effect:

Zoonomia Vol1 Section III

Red Spot (Zoonomia V1 S.III p.14)

Darwin’s experiments covered a range of colour and contrast effects.  Here in his ‘tadpole’ experiment he interprets the bright after-image  we see after staring at a dark object, explained again in terms of conditioning and sensitivity of the retina.


Erasmus’s ‘tadpole’ (a little smudged after 200 years)

The drawings in Zoonomia are individually hand drawn and hand coloured.  In this passage, Erasmus encourages his readers to partake of some drawing-room diversion using silks of many colours:

Erasmus encourages his readers to lay down silks

Readers are encourgaged to lay down coloured silks

All exciting stuff, not least for Erasmus, who betrays his giddiness in this chuckling wind up to his analysis, where he curries favour with the incumbent president of the Royal Society, Sir Joseph Banks.

Joseph BanksI was surprised, and agreeably amused, with the following experiment.  I covered a paper about four inches square with yellow, and with a pen filled with a blue colour wrote upon the middle of it the word BANKS in capitals, and sitting with my back to the sun, fixed my eyes for a minute exactly on the centre of the letter N in the middle of the word;after closing my eyes, and shading them somewhat with my hand, the word was dinstinctly seen in the spectrum in yellow letters on a blue field; and then, on opening my eyes on a yellowish wall at twenty feet distance, the magnified name of BANKS appeared written on the wall in golden characters.” [Banks was elected President of the Royal Society in 1778].

Erasmus saw Banks’s name in large golden letters on his garden wall

Did Erasmus get it right with all that stuff about flexing of the antagonist fibres and analogy to the muscles? Well, he wasn’t a million miles away from the truth.   Indeed, it looks like yet another case of Erasmus Darwin not getting the credit he deserves for being ahead of the game.

Here’s a modern popular version of the tadpole ‘trick’ (Credit: from here)

The idea is you stare at the bulb for 20 or 30 seconds then look at the white space to the right of it.  The popular description of the effect is in terms of  the retina cells stimulated by the light portions of the image being desensitized more than those which respond to the dark part of the image – so that the least depleted cells react more strongly when the eye switches to the more uniform all-white image next to the bulb.

Davy Lamp (Wiki Commons)

The modern authors note also that the size of the afterimage varies directly with the distance of the surface on which it is viewed: a manifestation of Emmert’s Law.  This is consistent with Erasmus’s report of the name BANKS writ large on his garden wall.

Likewise, the modern interpretation of colour afterimages is popularly framed in terms of how ‘fatigued’ cells respond to light (See how fatigued’ aligns with Erasmus’s muscular references).  Erasmus didn’t know we have two types of light-sensitive cells in the eye: cones (that broadly speaking detect colour) and rods (that are more sensitive to absolute brightness), and that the cones themselves are sub-divided to be maximally sensitive to red , blue and green (RGB).

But he did understand the concept of complementary colours, and recognised that whatever part of the retina detects the colour red becomes fatigued through over-exposure; he’d got the principle that green appears againt white as a kind of negative red ).

If we dig a little deeper we find the brain-proper conspires with the retina to consider what we see in terms of black-white, red-green, and blue-yellow opponencies.  And the corresponding three sets of retinal cells operate in a pretty arithmetical fashion: the electrical impulse sent to the brain by the red-green cells is proportional to the net red-green exposure to light that the cell has experienced in recent time; likewise the blue-yellow sensitive cells.

That’s all clear then.

What bugs me a wee bit is that in my research for this post I never once saw a reference to Erasmus Darwin.  Rather, the standard historical reference seems to be the German psychologist Ewald Hering (1834-1919), who is credited with the first observations of the phenomenon.

Hold the horses – it’s Valentines Day

Ok, we got a bit lost in the science there.  And I got a bit hot under the collar; eh-hem.   So, the real question is: did Davy’s colourful overtures hit the mark?  Well, sort of.  Humphry Davy and Jane Apreece married the following year in 1812.  The bad news is it didn’t really work out longterm.

All the same, Davy shone ever bright in his science.  Already famous for discovering a whole range of new chemical elements, including via separation by electrolysis potassium and sodium, and chlorine gas; he went on to discover elemental iodine and, for good measure, invented the Davy Lamp – thereby saving who knows how many thousands of lives in the mining indistry.   In 1820, when Banks’s death ended his 40+ year run at the head of the Royal Society, Davy was elected President.

All of which doubtless kept a bit of colour in his cheeks.

Shop-front in Penzance where Davy served his early apprenticeship (Tks S.Klinge)

Sources

Darwin, Erasmus. Zoonomia Vol 1 Pub. J.Johnson 1796 (photos are from author’s copy)

Holmes, Richard. Age of Wonder. Pub. Harper Press (the softback is out for about £7 now – buy it!)

And Resources

The Guttenburg version of Zoonomia Vol 1 is here.