Draw an image and divide it into a grid

Get the brightness of every cell

Draw particles moving from left to right

Update each particle's speed based on the brightness of its position

Fade each particle based on its speed

Do not clear your scene on each frame, to let the particles fade out