math & physics
What is a physics engine that is free to commercially use?
Bullet is pretty popular. You can also just do a search for open source physics engines.
One that gets used in HTML5/web stuff a lot is Box2D.