public
Description: generate code_swarm data from Wikipedia page histories & user contributions
Homepage: http://jamiedubs.com
Clone URL: git://github.com/jamiew/wikiswarm.git
Jamie Wilkinson (author)
Tue Nov 18 20:49:54 -0800 2008
wikiswarm / code_swarm.wikipedia.config
100755 137 lines (105 sloc) 3.071 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# 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