Hi all,

I couldn't find a code swarm video for Drupal. So I made one; but I need some help to make the config file(to porduce video) better.

If someone have any idea about how to do it I could render it :D.

I've made a first attempt and put it on blip.tv:
http://blip.tv/file/1105334

The parameters are simple, but more ideas makes it better.

Please post them here or contact me by the contact form.

Here is the config file I've used:

# This is a sample configuration file for code_swarm

# Frame width
Width=640

# Frame height
Height=480

# Input file
InputFile=data/drupal_log.xml

# Particle sprite file
ParticleSpriteFile=src/particle.png

# Project time per frame
MillisecondsPerFrame=21600000

# Optional Method instead of MillisecondsPerFrame
#FramesPerDay=4

# Background in R,G,B
Background=0,0,0

# Color assignment rules
# Keep in order, do not skip numbers. Numbers start
# at 1.
# 
# Pattern:  "Label", "regex", R,G,B, R,G,B
# Label is optional.  If it is omitted, the regex
# will be used.
#
ColorAssign1="modules",".*modules.*", 50,50,200, 50,50,255
ColorAssign2="themes",".*themes.*", 179,50,50, 179,50,60
#ColorAssign3="Code2",".*src2.*", 49,60,60, 49,60,80
#ColorAssign4="Code3",".*src3.*", 192,70,70, 192,70,90
#ColorAssign5="Code4",".*src4.*", 116,80,80, 116,80,100
#ColorAssign6="Code5",".*src5.*", 200,90,90, 200,90,110
#ColorAssign7="Code6",".*src6.*", 225,100,100, 225,100,120
#ColorAssign8="Code7",".*src7.*", 250,110,110, 250,110,130
#ColorAssign9="Code8",".*src8.*", 255,255,0, 255,255,140
#ColorAssign10=".*src9.*", 255,0,0, 255,10,150

# Save each frame to an image?
TakeSnapshots=true

# Where to save each frame
SnapshotLocation=frames/drupal-code_swarm1-#####.png

# Draw names (combinatory) :
# Draw sharp names?
DrawNamesSharp=true
# And draw a glow around names? (Runs slower)
DrawNamesHalos=true

# Draw files (combinatory) :
# Draw sharp files
DrawFilesSharp=true
# Draw fuzzy files
DrawFilesFuzzy=false
# Draw jelly files
DrawFilesJelly=true

# Show the Legend at start
ShowLegend=true

# Show the History at start
ShowHistory=false

# Show the Date at start
ShowDate=true

# Show edges between authors and files, mostly for debug purpose
ShowEdges=false

# Turn on Debug counts.
ShowDebug=false

# Natural distance of files to people
EdgeLength=25

# Life of an Edge
EdgeLife=250

# Life of a File
FileLife=200

# Life of a Person
PersonLife=255

## Physical engine selection and configuration
# Force calculation algorithms ("PhysicalEngineLegacy", ...) :
PhysicalEngineSelection="PhysicalEngineLegacy"

# OpenGL is experimental. Use at your own risk.
UseOpenGL=false

Comments

marvil07’s picture

drupal project have a special workflow: no so much people have commit access, but log message have the people names who are contributing.

So, I'm trying to parse the log message to get right attributions, an specially apropos Contributors to Drupal 7.x - Code Freeze Looming Update, I've made a drupal 7 branch video to test the scripts I've done.

So, if anyone is interest I could make the whole history video :-)

I put files outside(can not attach in forum), like I mentioned in g.d.o:
- code swarm files
- slow log parser

marvil07’s picture