Thor is an open-source and cross-platform C++ library. It extends the multimedia library SFML with higher-level features such as:
- Animations
- Particle systems
- Resource management
- Time measurement utilities
- Event handling and callbacks
- Delaunay triangulation
- Color gradients
- Vector algebra
- ...
For a full list of features as well as tutorials and API documentation, visit the project homepage.
Thor uses the build system CMake and can be compiled for Visual C++, g++ and Clang compilers, as long as they provide at least partial C++11 support. Besides SFML, the library depends on my other project Aurora, which is shipped with Thor.
I am no longer actively developing Thor. The library has reached a state where I'm relatively happy with it, and it's well usable for SFML 2. Improvements are of course always possible, some of them simply because tooling has moved on (e.g. CMake).
There's a chance I will update Thor for SFML 3 once it becomes more stable, but only if there is significant interest and I find the time to work on it.
Both Thor and Aurora are licensed under zlib/libpng, which is very permissive. You can use the code in free and commercial products, open- or closed-source. I would appreciate if you left a short note that you used one my libraries, but it's not required.
Thor has been developed by Jan Haller since 2011.
- E-mail: bromeon@gmail.com
- Project homepage: http://www.bromeon.ch/libraries/thor
- GitHub repository: https://github.com/Bromeon/Thor