Write a detailed prompt to create a JS/HMTL demonstration of projectile motion that shows the numerical solution of equations of motion, as well as the effects of initial velocity, gravity, and air resistance. It should also show a comparison with the closed-form solution where available.