+1 tag for Google+

Tuesday, 8 December 2015

Particles Colour Change by Distance

20150909 Particles Colour Change by Distance from Patrick Woo on Vimeo.

Here's a test that I created a few months ago.

In this test, all particles were created to have random colours.

I then attached an expression to the colour in a per-particle context to gradually change colour to the nearest cube's colour, if the particle is within a pre-defined distance of any cube.

When the particles again leave the proximity of a cube, it again changes it's colour back to it's original colour.

The challenge for me this time round was to have the particles gradually change their colours, instead of popping in and out of the colours from one frame to the next.


  1. Way cool. Can you make a tutorial if you get a chance? Just stumbled upon your blog today, a lot of useful stuff. Thank you for all the teaching.

  2. Thank you for dropping by and for your kind words, Goose Girl! I'll do one and update this post when I have the chance. :)