I have figured a way to make lots of sparks continuously with a 12V motor. Basically what you do is wire a motor up so that the electricity flows through a wire, onto a bit of metal resting on the shaft of the moter, flows through the bearing and into the moters frame, through a wire and into the motor, then out and back to the power source. This means that when you turn on the power, the spindle moves and the bit of metal resting on it bounces on and off, making one tiny blue spark and lots of orange ones. The pictures of the one I made wouldn't work in a cannon because its too delicate and fiddly, but I'm sure somone on this forum would be able to make a better version to put in a cannon. One way to improve it would be to flatten the shaft slightly, and put a spring on the metal, pusing it against the shaft. This would make it bounce on the shaft much better, and still be strong enough to mount in a cannon. The one I made is bad because the shaft is too smooth to make the bit of metal (the bolt) bounce if it has any force applied to it, so it relys on gravity to hold it against the shaft.
Here are pics

These are a couple of 2 second exposures while it was running.








