# This is a configuration for generating a "code-swarm" video from the hub # project. If you like to create such video, please use the following commands # on Linux-based systems (or similars): # # # Change to 'trunk' and get a logfile # cd ../trunk/ # svn log -v > ~/SVN/codeswarm/hub.log # # Copy this hub.config over there # cp ../contrib/hub.config ~/SVN/codeswarm/ # # Change there and convert the logfile # cd ~/SVN/codewarm/ # python ./convert_logs/convert_logs.py -s hub.log -o hub.xml # # Run codewarm (you may have to alter the Xmx value) # ./run.sh hub.config # # Now the frames are called hub-swarm-XXXXXX.png, e.g. use mencoder: # mencoder "mf://hub-swarm*.png" -mf fps=25 -o hub-codeswarm.avi -ovc lavc -lavcopts vcodec=mpeg4 # # This will producea similar movie to mine # Frame width Width=800 # Frame height Height=600 # Input file InputFile=hub.xml # Particle sprite file ParticleSpriteFile=src/particle.png #Font Settings Font=SansSerif BoldFont=SansSerif InfoFont=SansSerif FontSize=10 BoldFontSize=14 InfoFontSize=20 # Project time per frame MillisecondsPerFrame=21600000 # Maximum number of Background processes MaxThreads=4 # Optional Method instead of MillisecondsPerFrame FramesPerDay=10 # 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="Docs",".*txt", 0,0,255, 0,0,255 ColorAssign2="PHP",".*php", 0,255,255, 0,255,255 ColorAssign3="Template",".*tpl", 102,0,255, 102,0,255 ColorAssign4="CSS",".*css", 255,0,0, 255,0,0 ColorAssign5="JavaScript",".*js", 255,255,0, 255,255,0 ColorAssign6="Shell",".*sh", 119,68,119, 119,68,119 ColorAssign7="XML",".*xml", 136,51,17, 136,51,17 ColorAssign8="Code",".*ctp", 250,110,110, 250,110,130 #ColorAssign9="Code8",".*src8.*", 238,102,68, 238,102,68 #ColorAssign10=".*src9.*", 238,68,119, 238,68,119 # Save each frame to an image? TakeSnapshots=true # Where to save each frame SnapshotLocation=hub-swarm-######.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=false # Draw fuzzy files DrawFilesFuzzy=true # Draw jelly files DrawFilesJelly=true # Show the Legend at start ShowLegend=true # Show the History at start ShowHistory=true # Show the Activity histogram at bottom ShowActivity=true # 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 # Amount of life to decrement EdgeDecrement=-2 FileDecrement=-2 PersonDecrement=-1 #Speeds. #Optional: NodeSpeed=7.0, If used, FileSpeed and PersonSpeed need not be set. # FileSpeed=7.0 PersonSpeed=2.0 #Masses FileMass=1.0 PersonMass=10.0 # Life of an Edge EdgeLife=250 # Life of a File FileLife=200 # Life of a Person PersonLife=255 # Highlight percent. # This is the amount of time that the person or # file will be highlighted. HighlightPct=5 ## Physics engine selection and configuration # Directory physics engine config files reside in. PhysicsEngineConfigDir=physics_engine # Force calculation algorithms ("PhysicsEngineLegacy", "PhysicsEngineSimple"...) : PhysicsEngineSelection=PhysicsEngineLegacy # OpenGL is experimental. Use at your own risk. UseOpenGL=false