Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-12-10 | avoid crashing with empty build templates | Daniel Schadt | |
This would occur if e.g. only the profession was given. | |||
2019-12-10 | make skill lookup table static | Daniel Schadt | |
2019-12-10 | sanitize ID before accessing or sending to the API | Daniel Schadt | |
2019-12-08 | improve line rendering | Daniel Schadt | |
This makes it so that instead of always going from the middle of the minor trait, they will now adjust based on where they are going to. This means if the chosen trait is the top one, the line will start a bit further to the top, which makes it better to look at. | |||
2019-12-08 | formatting | Daniel Schadt | |
2019-12-08 | add console output for build templates | Daniel Schadt | |
2019-12-08 | use iter_mut instead of indexing | Daniel Schadt | |
2019-12-08 | use if on boolean instead of match | Daniel Schadt | |
2019-12-08 | center skills in output image | Daniel Schadt | |
2019-12-08 | use imageproc to draw the rectangle | Daniel Schadt | |
Doesn't change the outcome but looks better to read | |||
2019-12-08 | improve antialiasing of thick lines | Daniel Schadt | |
As it turns out, the algorithm for drawing convex polygons is very bad at handling aliasing, and the line height looked off as well. The new algorithm fixes the issue by first drawing a horizontal filled rectangle, then rotating the rectangle by the required angle (using bicubic filtering) and finally overlaying the rectangle onto the target. This improves both the looks of the line height and the aliasing effects. | |||
2019-12-08 | add support for brightness gradients | Daniel Schadt | |
2019-12-08 | fix background cropping | Daniel Schadt | |
2019-12-07 | remove debug output | Daniel Schadt | |
2019-12-07 | improve grayscale rendering | Daniel Schadt | |
Apparently, turning the picture to grayscale also messes with the alpha channel. A lot of trait icons have a small transparent border though. Therefore, we want to preserve the alpha channel by copying it back from the original trait icon. This improves render quality and removes some of the artifacts. | |||
2019-12-07 | implement chatlink parsing | Daniel Schadt | |
2019-12-07 | remove debug output from chat link creation | Daniel Schadt | |
2019-12-07 | basic color support | Daniel Schadt | |
2019-12-07 | lint fixes | Daniel Schadt | |
2019-12-07 | add chatlink + revenant legends support | Daniel Schadt | |
2019-12-06 | initial commit | Daniel Schadt | |