How does the coloring of the particles in the Pixelflow Library work?

I am using the DwParticle2D, as in the examples Fluid_VerletParticleCollisionSystem or the FlowFieldParticles_OpticalFlowCapture.

I am aware that the particle's color respond to the movement of the particles, but I don't understand the math behind it. It confuses me that if you color the particles in e.g. white, you get orange and blue as a result.

Help would be much appreciated, thanks in advance

Sign In or Register to comment.