I've only dabbled at this in the past with codeswarm but I never got too far. Then I came across gource, I found it pretty easy to use and, it's fast as well. Here's what I did to generate a visualisation of the cports repo that I have:

$ gource --hide filenames,dirnames,bloom --seconds-per-day 1 -720x480 \
--title cports -o cports.ppm
$ ffmpeg -y -b 3000K -r 60 -f image2pipe -vcodec ppm -i cports.ppm \
-vpre libx264-default -vcodec libx264 cports.x264.avi

Or if you are lazy you can do this...

$ gource --hide filenames,dirnames,bloom --seconds-per-day 1 -720x480 \
--title cports -o - | ffmpeg -y -b 3000K -r 60 -f image2pipe -vcodec ppm \
-i - -vpre libx264-default -vcodec libx264 cports.x264.avi

The result,

The result wasn't too interesting since the history is pretty linear, and the files in the repo are pretty organised to begin with. So I decided to visualise my irods-hpce2 repo,

I think I will visualise the smeagol electron transport code next with something like this,

gource -a 0.5 -s 0.15 -i 0 --highlight-users --multi-sampling --hide filenames
Bookmark and Share