1 |
dpavlin |
825 |
# This is a sample configuration file for code_swarm |
2 |
|
|
|
3 |
|
|
Width=800 |
4 |
|
|
Height=480 |
5 |
|
|
|
6 |
|
|
#Width=320 |
7 |
|
|
#Height=200 |
8 |
|
|
|
9 |
|
|
# Input file |
10 |
|
|
InputFile=/home/dpavlin/x/Frey/var/codeswarm/activity.xml |
11 |
|
|
|
12 |
|
|
# Particle sprite file |
13 |
|
|
ParticleSpriteFile=/rest/cvs/codeswarm/src/particle.png |
14 |
|
|
|
15 |
|
|
#Font Settings |
16 |
|
|
Font=SansSerif |
17 |
|
|
FontSize=14 |
18 |
|
|
BoldFontSize=16 |
19 |
|
|
|
20 |
|
|
# Project time per frame |
21 |
|
|
MillisecondsPerFrame=21600000 |
22 |
|
|
|
23 |
|
|
# Maximum number of Background processes |
24 |
|
|
MaxThreads=4 |
25 |
|
|
|
26 |
|
|
# Optional Method instead of MillisecondsPerFrame |
27 |
|
|
#FramesPerDay=4 |
28 |
|
|
|
29 |
|
|
# Background in R,G,B |
30 |
|
|
Background=0,0,0 |
31 |
|
|
|
32 |
|
|
# Color assignment rules |
33 |
|
|
# Keep in order, do not skip numbers. Numbers start |
34 |
|
|
# at 1. |
35 |
|
|
# |
36 |
|
|
# Pattern: "Label", "regex", R,G,B, R,G,B |
37 |
|
|
# Label is optional. If it is omitted, the regex |
38 |
|
|
# will be used. |
39 |
|
|
# |
40 |
|
|
ColorAssign1="php",".*php.*", 0,0,255, 0,0,255 |
41 |
|
|
ColorAssign2="html",".*htm.*", 0,255,255, 0,255,255 |
42 |
|
|
ColorAssign3="js",".*src2.*", 102,0,255, 102,0,255 |
43 |
|
|
ColorAssign4="sql",".*sql.*", 255,0,0, 255,0,0 |
44 |
|
|
ColorAssign5="sh",".*sh.*", 255,255,0, 255,255,0 |
45 |
|
|
ColorAssign6="tpl",".*tpl.*", 119,68,119, 119,68,119 |
46 |
|
|
ColorAssign7="images",".*(png|jpg|gif).*", 136,51,17, 136,51,17 |
47 |
|
|
ColorAssign8="css",".*css.*", 250,110,110, 250,110,130 |
48 |
|
|
#ColorAssign9="Code8",".*src8.*", 238,102,68, 238,102,68 |
49 |
|
|
#ColorAssign10=".*src9.*", 238,68,119, 238,68,119 |
50 |
|
|
|
51 |
|
|
# Save each frame to an image? |
52 |
|
|
TakeSnapshots=true |
53 |
|
|
|
54 |
|
|
# Where to save each frame |
55 |
|
|
SnapshotLocation=/home/dpavlin/x/Frey/var/codeswarm/frames/#####.png |
56 |
|
|
|
57 |
|
|
# Draw names (combinatory) : |
58 |
|
|
# Draw sharp names? |
59 |
|
|
DrawNamesSharp=true |
60 |
|
|
# And draw a glow around names? (Runs slower) |
61 |
|
|
DrawNamesHalos=false |
62 |
|
|
|
63 |
|
|
# Draw files (combinatory) : |
64 |
|
|
# Draw sharp files |
65 |
|
|
DrawFilesSharp=false |
66 |
|
|
# Draw fuzzy files |
67 |
|
|
DrawFilesFuzzy=true |
68 |
|
|
# Draw jelly files |
69 |
|
|
DrawFilesJelly=false |
70 |
|
|
|
71 |
|
|
# Show the Legend at start |
72 |
|
|
ShowLegend=true |
73 |
|
|
|
74 |
|
|
# Show the History at start |
75 |
|
|
ShowHistory=true |
76 |
|
|
|
77 |
|
|
# Show the Date at start |
78 |
|
|
ShowDate=true |
79 |
|
|
|
80 |
|
|
# Show edges between authors and files, mostly for debug purpose |
81 |
|
|
ShowEdges=false |
82 |
|
|
|
83 |
|
|
# Turn on Debug counts. |
84 |
|
|
ShowDebug=true |
85 |
|
|
|
86 |
|
|
# Natural distance of files to people |
87 |
|
|
EdgeLength=25 |
88 |
|
|
|
89 |
|
|
# Amount of life to decrement |
90 |
|
|
EdgeDecrement=-2 |
91 |
|
|
FileDecrement=-2 |
92 |
|
|
PersonDecrement=-1 |
93 |
|
|
|
94 |
|
|
#Speeds. |
95 |
|
|
#Optional: NodeSpeed=7.0, If used, FileSpeed and PersonSpeed need not be set. |
96 |
|
|
# |
97 |
|
|
FileSpeed=7.0 |
98 |
|
|
PersonSpeed=2.0 |
99 |
|
|
|
100 |
|
|
#Masses |
101 |
|
|
FileMass=1.0 |
102 |
|
|
PersonMass=10.0 |
103 |
|
|
|
104 |
|
|
# Life of an Edge |
105 |
|
|
EdgeLife=250 |
106 |
|
|
|
107 |
|
|
# Life of a File |
108 |
|
|
FileLife=200 |
109 |
|
|
|
110 |
|
|
# Life of a Person |
111 |
|
|
PersonLife=255 |
112 |
|
|
|
113 |
|
|
# Highlight percent. |
114 |
|
|
# This is the amount of time that the person or |
115 |
|
|
# file will be highlighted. |
116 |
|
|
HighlightPct=5 |
117 |
|
|
|
118 |
|
|
## Physics engine selection and configuration |
119 |
|
|
# Directory physics engine config files reside in. |
120 |
|
|
PhysicsEngineConfigDir=physics_engine |
121 |
|
|
# Force calculation algorithms ("PhysicsEngineLegacy", "PhysicsEngineSimple"...) : |
122 |
|
|
PhysicsEngineSelection=PhysicsEngineLegacy |
123 |
|
|
|
124 |
|
|
# OpenGL is experimental. Use at your own risk. |
125 |
|
|
UseOpenGL=false |