Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 137 lines (105 sloc) 3 KB
# Wikipedia-tuned code_swarm configuration
# authors have significantly less TTL
# edges are turned on, which is mutually exclusive with the histogram
# :: Jamie Wilkinson <http://jamiedubs.com>
# Frame width
Width=1280
# Frame height
Height=720
# Input file
InputFile=data/activity_obama.xml
# Particle sprite file
# ParticleSpriteFile=src/particle.png
ParticleSpriteFile=src/particle.png
#Font Settings
Font=SansSerif
FontSize=15
BoldFontSize=18
# Save each frame to an image?
#TakeSnapshots=true
TakeSnapshots=true
SnapshotLocation=frames_obama3/code_swarm-#####.png
# Maximum number of Background processes
MaxThreads=2
# Project time per frame
# MillisecondsPerFrame=2160000
# Optional Method instead of MillisecondsPerFrame
FramesPerDay=1
# FramesPerDay=1
# Background in R,G,B
# Background=255,255,255
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="Barack Obama",".*", 0,0,255, 0,0,255
# ColorAssign2="John McCain","John McCain", 255,0,0, 255,0,0
# ColorAssign3="Hillary Clinton","Hillary Rodham Clinton", 102,102,255, 102,102,255
# ColorAssign4="Sarah Palin","Sarah Palin", 255,255,0, 255,255,0
# ColorAssign5="Ron Paul","Ron Paul", 119,68,119, 119,68,119
# ColorAssign6="Joe Biden","Joe Biden", 0,255,255, 0,255,255
# ColorAssign7="Code6",".*src6.*", 136,51,17, 136,51,17
# ColorAssign8="Code7",".*src7.*", 250,110,110, 250,110,130
# ColorAssign9="Code8",".*src8.*", 238,102,68, 238,102,68
# ColorAssign10=".*src9.*", 238,68,119, 238,68,119
# Draw names (combinatory) :
# Draw sharp names?
DrawNamesSharp=true
# And draw a glow around names? (Runs slower)
DrawNamesHalos=false
# Draw files (combinatory) :
# Draw sharp files
DrawFilesSharp=false
# Draw fuzzy files
DrawFilesFuzzy=true
# Draw jelly files
DrawFilesJelly=false
# Show the Legend at start
ShowLegend=true
# Show the History at start
ShowHistory=true
# Show the Date at start
ShowDate=true
# Show edges between authors and files, mostly for debug purpose
ShowEdges=true
# Turn on Debug counts.
ShowDebug=true
# Natural distance of files to people
EdgeLength=120
# Amount of life to decrement
EdgeDecrement=-2
FileDecrement=-2
PersonDecrement=-7
#Speeds.
#Optional: NodeSpeed=7.0, If used, FileSpeed and PersonSpeed need not be set.
#
FileSpeed=2.0
PersonSpeed=0.1
#Masses
FileMass=100.0
PersonMass=10.0
# Life of an Edge
# EdgeLife=250
EdgeLife=250
# Life of a File
FileLife=1000
# Life of a Person
# PersonLife=255
PersonLife=500
# Highlight percent.
# This is the amount of time that the person or
# file will be highlighted.
# HighlightPct=5
HighlightPct=10
## 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
Something went wrong with that request. Please try again.