Project 2^19 points onto a texture, calculate blur, use the gradients to update the particle positions, mumble a magic spell and you get a beautiful shader / WebGL powered effect like this by Felix Woitzel (@Flexi23). Move the mouse through the particle field to play with the fire.