You can use this for your projects as long as you give me credit.
The code is not that hard to understand, so it should be easy to implement into most projects.