]> git.mxchange.org Git - hub.git/blob - codeswarm-config/hub.config
moved for svn-git transission
[hub.git] / codeswarm-config / hub.config
1 # This is a configuration for generating a "code-swarm" video from the hub
2 # project. If you like to create such video, please use the following commands
3 # on Linux-based systems (or similars):
4 #
5 # # Change to 'trunk' and get a logfile
6 # cd ../trunk/
7 # svn log -v > ~/SVN/codeswarm/hub.log
8 # # Copy this hub.config over there
9 # cp ../contrib/hub.config ~/SVN/codeswarm/
10 # # Change there and convert the logfile
11 # cd ~/SVN/codewarm/
12 # python ./convert_logs/convert_logs.py -s hub.log -o hub.xml
13 # # Run codewarm (you may have to alter the Xmx value)
14 # ./run.sh hub.config
15 # # Now the frames are called hub-swarm-XXXXXX.png, e.g. use mencoder:
16 # mencoder "mf://hub-swarm*.png" -mf fps=25 -o hub-codeswarm.avi -ovc lavc -lavcopts vcodec=mpeg4
17 # # This will producea similar movie to mine
18
19 # Frame width
20 Width=800
21
22 # Frame height
23 Height=600
24
25 # Input file
26 InputFile=hub.xml
27
28 # Particle sprite file
29 ParticleSpriteFile=src/particle.png
30
31 #Font Settings
32 Font=SansSerif
33 BoldFont=SansSerif
34 InfoFont=SansSerif
35 FontSize=10
36 BoldFontSize=14
37 InfoFontSize=20
38
39 # Project time per frame
40 MillisecondsPerFrame=21600000
41
42 # Maximum number of Background processes
43 MaxThreads=4
44
45 # Optional Method instead of MillisecondsPerFrame
46 FramesPerDay=10
47
48 # Background in R,G,B
49 Background=0,0,0
50
51 # Color assignment rules
52 # Keep in order, do not skip numbers. Numbers start
53 # at 1.
54
55 # Pattern:  "Label", "regex", R,G,B, R,G,B
56 # Label is optional.  If it is omitted, the regex
57 # will be used.
58 #
59 ColorAssign1="Docs",".*txt", 0,0,255, 0,0,255
60 ColorAssign2="PHP",".*php", 0,255,255, 0,255,255
61 ColorAssign3="Template",".*tpl", 102,0,255, 102,0,255
62 ColorAssign4="CSS",".*css", 255,0,0, 255,0,0
63 ColorAssign5="JavaScript",".*js", 255,255,0, 255,255,0
64 ColorAssign6="Shell",".*sh", 119,68,119, 119,68,119
65 ColorAssign7="XML",".*xml", 136,51,17, 136,51,17
66 ColorAssign8="Code",".*ctp", 250,110,110, 250,110,130
67 #ColorAssign9="Code8",".*src8.*", 238,102,68, 238,102,68
68 #ColorAssign10=".*src9.*", 238,68,119, 238,68,119
69
70 # Save each frame to an image?
71 TakeSnapshots=true
72
73 # Where to save each frame
74 SnapshotLocation=hub-swarm-######.png
75
76 # Draw names (combinatory) :
77 # Draw sharp names?
78 DrawNamesSharp=true
79 # And draw a glow around names? (Runs slower)
80 DrawNamesHalos=true
81
82 # Draw files (combinatory) :
83 # Draw sharp files
84 DrawFilesSharp=false
85 # Draw fuzzy files
86 DrawFilesFuzzy=true
87 # Draw jelly files
88 DrawFilesJelly=true
89
90 # Show the Legend at start
91 ShowLegend=true
92
93 # Show the History at start
94 ShowHistory=true
95
96 # Show the Activity histogram at bottom
97 ShowActivity=true
98
99 # Show the Date at start
100 ShowDate=true
101
102 # Show edges between authors and files, mostly for debug purpose
103 ShowEdges=false
104
105 # Turn on Debug counts.
106 ShowDebug=false
107
108 # Natural distance of files to people
109 EdgeLength=25
110
111 # Amount of life to decrement
112 EdgeDecrement=-2
113 FileDecrement=-2
114 PersonDecrement=-1
115
116 #Speeds.
117 #Optional: NodeSpeed=7.0, If used, FileSpeed and PersonSpeed need not be set.
118 #
119 FileSpeed=7.0
120 PersonSpeed=2.0
121
122 #Masses
123 FileMass=1.0
124 PersonMass=10.0
125
126 # Life of an Edge
127 EdgeLife=250
128
129 # Life of a File
130 FileLife=200
131
132 # Life of a Person
133 PersonLife=255
134
135 # Highlight percent.
136 # This is the amount of time that the person or
137 # file will be highlighted.
138 HighlightPct=5
139
140 ## Physics engine selection and configuration
141 # Directory physics engine config files reside in.
142 PhysicsEngineConfigDir=physics_engine
143 # Force calculation algorithms ("PhysicsEngineLegacy", "PhysicsEngineSimple"...) :
144 PhysicsEngineSelection=PhysicsEngineLegacy
145
146 # OpenGL is experimental. Use at your own risk.
147 UseOpenGL=false