Gource Visualization of Powder Toy Repo

  • Sourec
    4th Feb 2015 Member 2 Permalink

    I wanted to put this in "development", but decided that wasn't the best idea since I wasn't sure if it should go there.

     

    Please be aware that this post is very programming/VC-terminology laden. Sorry, there's no way I can cut that, so non-programmers, either be fascinated by the cool visualization, or do that AND look up the terminology used (and thus slowly slip toward the dark programming side of the force).

     

     

    (Link, in case the embed didn't work: https://www.youtube.com/watch?v=zuta3MtedmE)

     

    This is a simple visualization I made with Gource, a neat tool for generating visualizations of the commit histories of Git repositories. This goes one lasts from August 2010 to August 2014, when the last commit was made, meaning that this covers about 4 years, or 1,461 days, in 2 minutes and 48 seconds.

     

    I used a simple Perl script to grab the profile pictures of all the developers off of Gravatar, so you can probably tell who's who.

     

    As for the Gource command I used, after cd'ing to the Git repository directory, it was something like this:

     

    gource .git/ -a 0.2 -s 0.2 -e 0.35 --800x600 --hide filenames -o gource_video.ppm


    Then I used ffmpeg to convert the resulting ppm file (~30 GB) to an mp4 file (~1.4 GB). I admit that I then cheated and used VLMC to convert it to a much more manageable mov file (~80 MB). I probably should've added a sound track to the file.

     

    Anyways, enjoy!

    Edited once by Sourec. Last: 4th Feb 2015
  • Sylvi
    4th Feb 2015 Moderator 0 Permalink

    @Sourec (View Post)

     Nice work! I always wanted to have it in Gource visualization too after I saw the Mojang one. Unfortunately I didn't have time to make such a thing happen. Anyway I might add some catchy music or something in the future.

     

    Thanks again!

  • jacob1
    4th Feb 2015 Developer 0 Permalink
    Pretty cool! Although things like this are a little hard to read ... maybe it just goes by too quickly :P. The huge increase in files I saw was actually just Doxin adding like all of python into the source :|, another huge increase was probably Simon rewriting the game in c++.

    Also the latest source isn't in the 'master' branch, it's actually here: https://github.com/simtr/The-Powder-Toy/tree/develop
    Edited once by jacob1. Last: 4th Feb 2015
  • Sourec
    4th Feb 2015 Member 0 Permalink

    @jacob1 (View Post)

     

    I'll see if I can make a more up-to-date version for the develop branch. It will probably cover everything from august 2014 to Febuary 3rd.

    Edited 2 times by Sourec. Last: 4th Feb 2015
  • jacob1
    4th Feb 2015 Developer 0 Permalink
    Not sure if it's worth it to redo that, there aren't very many commits in that time period lol. I guess it wouldn't take long though.
  • Sourec
    4th Feb 2015 Member 0 Permalink

    @jacob1 (View Post)

     

    Funnily enough, what the Mojang video, among others, doesn't show is that, while Gource runs really smooth when you're not outputting a file, if you are saving a file, it does it LIVE. It's constantly writing to a giant (in this case, around 30 GB) PPM file for every single frame. Of course, just because of the sheer amount of data being written to the disk, this really slows it down All in all, just recording the video takes around 10-15 minutes since the framerate is so low and the camera doesn't seem to handle zooming very well, but it was definitely still worth it.

     

    Regardless, as you mentioned (and i just found out), there aren't many commits, so I probably won't make a more up-to-date one for a while.

    Edited once by Sourec. Last: 4th Feb 2015
  • boxmein
    4th Feb 2015 Former Staff 2 Permalink
    I made one a while ago, too!

  • RedWagon
    4th Feb 2015 Member 0 Permalink

    This looks so cool

    @boxmein (View Post)