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