Have you seen sparklers?
A sparkler is a type of hand-held firework that burns slowly while emitting colored flames, sparks, and other effects.
The "classic" type of sparkler consists of a stiff metal wire approximately 20 cm (8 inches) long that has been dipped in a thick batter of slow-burning pyrotechnic composition and allowed to dry.
(The composition contains these components, one or more of each category: Metallic fuel, mandatory to make sparks; size of particles influences appearance of the sparks, Aluminum or magnesium or magnalium, producing white sparks, Iron, producing orange branching sparks, Titanium, producing rich white sparks, Ferrotitanium, for yellow-gold sparkles, Additional fuel, optional, modifying the burning speed, Sulfur, Charcoal, Oxidizer, mandatory, Potassium nitrate, Barium nitrate, Strontium nitrate, Potassium perchlorate, more powerful but potentially explosive, Optional pyrotechnic colorants, for colored flames, chlorides and nitrates of metals, e.g. barium, strontium, or copper, Combustible binder, holding the composition together, Dextrin, Nitrocellulose, The colored spot on the top of each rod indicates the color of the sparkles emitted when ignited)