Homemade gunpowder for physics project?

I'm doing a hand gun for my physics project. Today I got some tubes steel and wood, but the problem is to obtain chemicals. When I casually asked the clerk if the pharmaceutical products sold potassium nitrate (KNO3) promply asked me out. So where I can get sulfur, potassium nitrate? In addition, activated carbon for aquarium work filter instead of coal? Is it illegal to make gunpowder in Canada? Its has to be classical physics and I did not bring any explosives to school, obviously. I video recording experiments.

You should be able to get as much dust and black smoleless any gun shop that sells supplies for muzzleloaders wepons. I suggest that an adult to buy for you (which probably will not sell to minors). I'm in the U.S., but I think they sell it in Canada too. I really surprising that lets you bring something like this in school, taking into account how paranoid you are about wepons in schools now. I check with your instructor and receive approval written to bring it to school / class just to meet their **. one also please be careful, steel pipes is not as strong as the alloys used for guns, start with a small amount of dust and being behind a strong barrier of some kind until you know how it will work. You can gradually increase the load until projectile is launched at a decent speed. It is not double the speed of a real gun, showing only his proof of concept, do not want to explode and take the whole class! Is may be able to make one that would use the small CO2 cylinders used in BB guns or something like it would be safer and easier, probably.