1 # This is a configuration for generating a "code-swarm" video from the hub
2 # project. If you like to create such video, please use the following commands
3 # on Linux-based systems (or similars):
5 # # Change to 'trunk' and get a logfile
7 # svn log -v > ~/SVN/codeswarm/hub.log
8 # # Copy this hub.config over there
9 # cp ../contrib/hub.config ~/SVN/codeswarm/
10 # # Change there and convert the logfile
12 # python ./convert_logs/convert_logs.py -s hub.log -o hub.xml
13 # # Run codewarm (you may have to alter the Xmx value)
15 # # Now the frames are called hub-swarm-XXXXXX.png, e.g. use mencoder:
16 # mencoder "mf://hub-swarm*.png" -mf fps=25 -o hub-codeswarm.avi -ovc lavc -lavcopts vcodec=mpeg4
17 # # This will producea similar movie to mine
28 # Particle sprite file
29 ParticleSpriteFile=src/particle.png
39 # Project time per frame
40 MillisecondsPerFrame=21600000
42 # Maximum number of Background processes
45 # Optional Method instead of MillisecondsPerFrame
51 # Color assignment rules
52 # Keep in order, do not skip numbers. Numbers start
55 # Pattern: "Label", "regex", R,G,B, R,G,B
56 # Label is optional. If it is omitted, the regex
59 ColorAssign1="Docs",".*txt", 0,0,255, 0,0,255
60 ColorAssign2="PHP",".*php", 0,255,255, 0,255,255
61 ColorAssign3="Template",".*tpl", 102,0,255, 102,0,255
62 ColorAssign4="CSS",".*css", 255,0,0, 255,0,0
63 ColorAssign5="JavaScript",".*js", 255,255,0, 255,255,0
64 ColorAssign6="Shell",".*sh", 119,68,119, 119,68,119
65 ColorAssign7="XML",".*xml", 136,51,17, 136,51,17
66 ColorAssign8="Code",".*ctp", 250,110,110, 250,110,130
67 #ColorAssign9="Code8",".*src8.*", 238,102,68, 238,102,68
68 #ColorAssign10=".*src9.*", 238,68,119, 238,68,119
70 # Save each frame to an image?
73 # Where to save each frame
74 SnapshotLocation=hub-swarm-######.png
76 # Draw names (combinatory) :
79 # And draw a glow around names? (Runs slower)
82 # Draw files (combinatory) :
90 # Show the Legend at start
93 # Show the History at start
96 # Show the Activity histogram at bottom
99 # Show the Date at start
102 # Show edges between authors and files, mostly for debug purpose
105 # Turn on Debug counts.
108 # Natural distance of files to people
111 # Amount of life to decrement
117 #Optional: NodeSpeed=7.0, If used, FileSpeed and PersonSpeed need not be set.
136 # This is the amount of time that the person or
137 # file will be highlighted.
140 ## Physics engine selection and configuration
141 # Directory physics engine config files reside in.
142 PhysicsEngineConfigDir=physics_engine
143 # Force calculation algorithms ("PhysicsEngineLegacy", "PhysicsEngineSimple"...) :
144 PhysicsEngineSelection=PhysicsEngineLegacy
146 # OpenGL is experimental. Use at your own risk.