aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-12-08add LICENSE (MIT)Daniel Schadt
2019-12-08add README and screenshotDaniel Schadt
2019-12-08improve line renderingDaniel 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-08formattingDaniel Schadt
2019-12-08add console output for build templatesDaniel Schadt
2019-12-08use iter_mut instead of indexingDaniel Schadt
2019-12-08use if on boolean instead of matchDaniel Schadt
2019-12-08center skills in output imageDaniel Schadt
2019-12-08use imageproc to draw the rectangleDaniel Schadt
Doesn't change the outcome but looks better to read
2019-12-08improve antialiasing of thick linesDaniel 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-08add support for brightness gradientsDaniel Schadt
2019-12-08fix background croppingDaniel Schadt
2019-12-07remove debug outputDaniel Schadt
2019-12-07improve grayscale renderingDaniel 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-07implement chatlink parsingDaniel Schadt
2019-12-07remove debug output from chat link creationDaniel Schadt
2019-12-07basic color supportDaniel Schadt
2019-12-07lint fixesDaniel Schadt
2019-12-07add chatlink + revenant legends supportDaniel Schadt
2019-12-06initial commitDaniel Schadt