How the container shape changes the motion, and a colour transition added after the simulation.
Colour transition
The particles are split in two groups: the top takes its colour from shot 4b, the base from the painted image. A second pass recolours only the top group, with a random offset per particle so the change ripples through instead of switching at once.
float offset = fit01(rand(@id), -10, 10);
float t = clamp((@Frame + offset - chf("start_frame")) / (chf("end_frame") - chf("start_frame")), 0, 1);
t = clamp(t + noise(@P * 5) * 0.05, 0, 1);
@Cd = lerp(v@particlesCol, v@targetCol, t);


Container and light
The container gets an inset from Poly Extrude, and Light Linker separates which lights hit the particles and which hit the container.

