So yesterday I blogged about my updated version of the green blobs. Since then I have made a little progress… More than intended, due to a bit of input from Kevin Ottens and healthy dose of luck.
The problem with the images I demoed to you yesterday was that the committer names (and the date upon which they first contributed) were all over to the left hand side of the picture. Only a small tweak and the text is correctly appearing next to the first steel blue blob. Except there was a problem… Occasionally the text was being truncated. Either the text was not being drawn, or the first blue blob on that row was being drawn over it. In order to determine this, Kevin suggested that I make the blobs semi-transparent. Simple. Doing so quickly revealed that the problem was that blobs were being drawn over the text. Further work fixed this problem and we end up with the following result…
Now here’s where it gets a little interesting… My script is fairly brute-force in places. Most importantly, if a contributor is making multiple commits in the same week, the blob is simply being drawn over and over. Well, by applying a little transparency we get a nice heatmap result. Take a look at the image linked above… Notice the variations in the colour? The darker the blue, the more active the contributor was that week.
Total accident. Kinda neat. And actually makes these pictures ever-so-slightly more useful than they were before.