Last active
August 29, 2015 14:13
-
-
Save xupeng/19be4274a0ec61211502 to your computer and use it in GitHub Desktop.
code swarm config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a sample configuration file for code_swarm | |
# Input file | |
InputFile=log.xml | |
# 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="Python", ".*py$", 0,0,255, 0,0,255 | |
ColorAssign2="PTL", ".*ptl$", 0,255,255, 0,255,255 | |
ColorAssign3="C/C++", ".*(c|cc|cpp|h|hpp)$", 102,0,255, 102,0,255 | |
ColorAssign4="HTML/Mako", ".*(html|mako|mak)$", 255,0,0, 255,0,0 | |
ColorAssign5="Javascript", ".*js$", 255,255,0, 255,255,0 | |
ColorAssign6="CSS", ".*css$", 119,68,119, 119,68,119 | |
ColorAssign7="Media", ".*(gif|jpg|png)$", 136,51,17, 136,51,17 | |
ColorAssign8="Shell", ".*sh$", 250,110,110, 250,110,130 | |
ColorAssign9="Go", ".*go$", 238,102,68, 238,102,68 | |
ColorAssign10="Pyrex/Cython/SWIG", ".*(pyx|i)$", 238,68,119, 238,68,119 | |
# Save each frame to an image? | |
TakeSnapshots=true | |
# Where to save each frame | |
SnapshotLocation=code_swarm_frames/#####.png | |
# Show a histogram of edits over time | |
ShowHistory=false | |
#Is the input xml sorted by date? It's faster and uses much less memory if it is | |
IsInputSorted=true | |
# - All of the given scripts for producing repository xml files produce sorted data | |
# - Please file a bug if one doesn't | |
# Uncomment to not use avatars | |
#AvatarFetcher=NoAvatar | |
# To use local avatars, uncomment this line: | |
AvatarFetcher=LocalAvatar | |
# then place png files named after the usernames of committers in | |
# the data/local_avatars directory | |
# data/local_avatars/default.png is used by default | |
#Font Settings | |
Font=Monaco | |
FontSize=20 | |
BoldFont=Monaco | |
BoldFontSize=20 | |
FontColor=255,255,255 | |
DateColor=255,255,0 | |
# Frame size | |
Width=1280 | |
Height=720 | |
Background=0,0,0 | |
FramesPerDay=5 | |
# Particle sprite file | |
ParticleSpriteFile=src/particle.png | |
#DrawNamesSharp=false | |
#DrawNamesHalos=false | |
#DrawFileSharp=false | |
#DrawFileFuzzy=false | |
#DrawFileJelly=false | |
FileSpeed=7.0 | |
PersonSpeed=2.0 | |
EdgeLength=30 | |
EdgeDecrement=-2 | |
FileDecrement=-2 | |
FileLife=110 | |
EdgeLife=110 | |
PersonLife=260 | |
FileMass=1.0 | |
PersonMass=120.0 | |
HighlightPct=5 | |
PhysicsEngineSelection=PhysicsEngineOrderly | |
#PhysicsEngineSelection=PhysicsEngineSimple | |
UseOpenGL=true | |
ShowUserName=false | |
AvatarSize=48 | |
ShowLegend=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment