Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

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

$
0
0

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


Viewing all articles
Browse latest Browse all 2896

Trending Articles