rmthemegen 0.0.19 → 0.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -59,5 +59,23 @@ class Color::RGB
59
59
  (self.b-rgb.b).abs)/3
60
60
  end
61
61
 
62
+ #returns a random number distributed about a mean (in [0..1) )
63
+ def next_gaussian(mean)
64
+ begin
65
+ w1 = (rand - 0.5)
66
+ w2 = (rand - 0.5)
67
+ w = w1**2 + w2**2
68
+ end while w >= 0.5 || w <= 0
69
+ # y = -Math.log(rand)
70
+ y = (-1*(Math.log(w)))**0.5
71
+ y=y*w2
72
+ # so now y should be in [-0.5 .. 0.5]
73
+ y= y + mean
74
+ y= y > 1.0 ? 1.0 : y
75
+ y= y < 0.0 ? 0.0 : y
76
+ # puts "next_gaussian: "+ y.to_s
77
+ return y
78
+ end
79
+
62
80
  end
63
81
 
@@ -25,9 +25,9 @@ module RMThemeGen
25
25
 
26
26
  attr_reader :xml_save, :schemename
27
27
  attr_reader :xmlout #a huge structure of xml that can be given to XmlSimple.xml_out() to create that actual color theme file
28
-
29
- def initialize
30
28
 
29
+ def initialize
30
+
31
31
  @iterations = 1
32
32
  @iterations = ARGV[0].to_s.to_i if ARGV[0]
33
33
  #bold: <option name="FONT_TYPE" value="1" />
@@ -88,8 +88,54 @@ module RMThemeGen
88
88
 
89
89
 
90
90
  @backgroundcolor= randcolor( :shade_of_grey=>@background_grey, :max_bright=>@background_max_brightness)# "0"
91
-
92
- end
91
+
92
+
93
+ end #def initialize
94
+
95
+
96
+ def reset_colorsets()
97
+ #color sets: add to the variable @color_sets a hash containing 1 or 2 values in [0..1), indicating a shade
98
+ # of red or green that the random colors will interpolate around.
99
+ # if anything exists in @color_sets, the program will, when choosing its next random color, grab a random
100
+ # color set, and then the next random color value produced will have up to 2 of its components (r, g, or b)
101
+ # chosen with the specified r,g, or b as the median for a random gaussian, which will of course be limited
102
+ # to the range [0..1)
103
+
104
+ @color_sets = []
105
+ (rand*4).to_i.times {
106
+ @color_set = {}
107
+ 3.times do
108
+ case
109
+ when rand < 0.333 then @color_set[:r] = rand
110
+ when rand < 0.666 then @color_set[:g] = rand
111
+ else @color_set[:b] = rand
112
+ end
113
+ end #8times
114
+ @color_sets << @color_set
115
+ } #rand*4times
116
+
117
+ # @color_set = {:b => rand, :g=>rand, :r => rand}
118
+ # @color_sets << @color_set
119
+ # puts @color_sets.inspect
120
+
121
+ # trim each color set down to at most 2 colors
122
+ if @color_sets.size > 0
123
+ ncs = []
124
+ # puts @color_sets.inspect
125
+ @color_sets.each do |cs|
126
+ while cs.size > 3 do
127
+ cs.delete(cs.keys[0])
128
+ end
129
+ ncs << cs
130
+ end
131
+ @color_sets = ncs
132
+ # puts "@color_sets "+@color_sets.to_s
133
+ end
134
+ end
135
+
136
+ def clear_color_sets
137
+ @color_sets=[]
138
+ end
93
139
 
94
140
  def randthemename
95
141
  out = " "
@@ -126,21 +172,37 @@ module RMThemeGen
126
172
  df = df.merge opts
127
173
  df[:bg_rgb] = Color::RGB.from_html(df[:bg_rgb]) if df[:bg_rgb]
128
174
  color = brightok = contok = nil;
175
+ cr=Color::RGB.new
176
+ failsafe=10000
177
+ usecolorsets = (!@color_sets.nil? && @color_sets != [])
129
178
  while (!color || !brightok || !contok ) do
130
- r = (df[:r] || rand*256)%256 #mod for robustness
131
- g = (df[:g] || rand*256)%256
132
- b = (df[:b] || rand*256)%256
133
- g = b = r if df[:shade_of_grey] == true
179
+ if df[:shade_of_grey] == true
180
+ g = b = r = rand*256
181
+ elsif usecolorsets && failsafe > 0
182
+ cs = @color_sets.shuffle[0]
183
+ #puts "doing gaussian thing "+cs.inspect
184
+ if cs.keys.include? :r then r = cr.next_gaussian( cs[:r])*256 else r = (df[:r] || rand*256)%256 end
185
+ if cs.keys.include? :g then g = cr.next_gaussian( cs[:g])*256 else g = (df[:g] || rand*256)%256 end
186
+ if cs.keys.include? :b then b = cr.next_gaussian( cs[:b])*256 else b = (df[:b] || rand*256)%256 end
187
+ else
188
+ r = (df[:r] || rand*256)%256 #mod for robustness
189
+ g = (df[:g] || rand*256)%256
190
+ b = (df[:b] || rand*256)%256
191
+ end
192
+
134
193
  color = Color::RGB.new(r,g,b)
194
+ # puts color.inspect
135
195
  #puts "bg" + @backgroundcolor if df[:bg_rgb]
136
196
  #puts "color "+color.html
137
197
  #puts "contrast "+color.contrast(df[:bg_rgb]).to_s if df[:bg_rgb]
138
198
  contok = df[:bg_rgb] ? (df[:min_cont]..df[:max_cont]).include?( color.contrast(df[:bg_rgb]) ) : true
139
199
  #puts "contok "+contok.to_s
140
200
  brightok = (df[:min_bright]..df[:max_bright]).include?( color.to_hsl.brightness )
141
-
201
+
142
202
  #puts "brightok "+brightok.to_s
143
- end
203
+ failsafe -= 1
204
+ if failsafe == 0 then puts "failsafe reached " end;
205
+ end #while
144
206
  cn = color.html
145
207
  cn= cn.slice(1,cn.size)
146
208
  return cn
@@ -166,7 +228,8 @@ module RMThemeGen
166
228
  newopt << {:name=> o, :value => randcolor(:bg_rgb=>@backgroundcolor, :min_cont=>0.03,:max_cont=>0.09,:shade_of_grey=>@background_grey) }
167
229
  elsif o.include?("READONLY_FRAGMENT_BACKGROUND") then
168
230
  newopt << {:name=> o, :value => randcolor(:bg_rgb=>@backgroundcolor, :min_cont=>0.03,:max_cont=>0.09,:shade_of_grey=>@background_grey) }
169
-
231
+ elsif o.include?("INDENT_GUIDE") then
232
+ newopt << {:name=> o, :value => randcolor(:bg_rgb=>@backgroundcolor, :min_cont=>0.08,:max_cont=>0.22,:shade_of_grey=>@background_grey) }
170
233
  else
171
234
  # puts "bgc"+@backgroundcolor
172
235
  newopt << {:name=> o, :value => randcolor(:bg_rgb=>@backgroundcolor, :min_cont=>@min_cont,:max_cont=>@max_cont,:shade_of_grey=>@background_grey).to_s }
@@ -280,12 +343,15 @@ module RMThemeGen
280
343
  end
281
344
 
282
345
  def make_theme_file(outputdir = ENV["PWD"], bg_color_style=0)
346
+ #bg_color_style: 0 = blackish, 1 = whitish, 2 = any color
283
347
  defaults = {}
284
348
  defaults[:outputdir] = outputdir
285
349
  defaults[:bg_color_style] = bg_color_style
286
350
  opts = defaults
287
351
  @bg_color_style = opts[:bg_color_style]
288
352
  @background_grey = (opts[:bg_color_style] < 2) #whitish or blackish bg are both "grey"
353
+
354
+ reset_colorsets
289
355
 
290
356
  case opts[:bg_color_style]
291
357
  when 0 #blackish background
@@ -1,3 +1,3 @@
1
1
  module Rmthemegen
2
- VERSION = "0.0.19"
2
+ VERSION = "0.0.20"
3
3
  end
@@ -0,0 +1 @@
1
+ gruen ,gruen,AMDM4A,16.05.2011 10:21,file:///home/gruen/.libreoffice/3;
@@ -0,0 +1,1004 @@
1
+ TEST TEST TEST
2
+
3
+ Mac: Copy xml files to ~/Library/Preferences/RubyMine/color. You must restart RubyMine on the Mac, then look for new color schemes.
4
+
5
+ 0.421111235443624
6
+ 0.106940740806561
7
+ 0.202678621504182
8
+ 0.102201062470379
9
+ 0.448047506436031
10
+ 0.188717273933061
11
+ 0.19523322194989
12
+ 0.170406630136957
13
+ 0.424516987009221
14
+ 0.185851234996454
15
+ 0.303219603164234
16
+ 0.448561534477168
17
+ 0.117698677398082
18
+ 0.273346869765798
19
+ 0.135687311728737
20
+ 0.131696557506849
21
+ 0.205199195105314
22
+ 0.259313956310145
23
+ 0.103402994217237
24
+ 0.20395181445533
25
+ 0.103605210556335
26
+ 0.103908673345912
27
+ 0.170750088299193
28
+ 0.369928448659655
29
+ 0.204318515164555
30
+ 0.121643816629432
31
+ 0.238634957564777
32
+ 0.176634536741224
33
+ 0.341661139970196
34
+ 0.365797580696033
35
+ 0.258244921927489
36
+ 0.304047129131437
37
+ 0.149595022580152
38
+ 0.389041304462721
39
+ 0.145183180485436
40
+ 0.127394431222396
41
+ 0.36970194700931
42
+ 0.346046570250043
43
+ 0.210020751701697
44
+ 0.2119417516784
45
+ 0.435654591191628
46
+ 0.246988109700496
47
+ 0.292188671917708
48
+ 0.226941557039909
49
+ 0.204971010076976
50
+ 0.31068834665424
51
+ 0.252664621330779
52
+ 0.136497174402759
53
+ 0.139344180559525
54
+ 0.34869921168008
55
+ 0.452893200379466
56
+ 0.129690510863011
57
+ 0.275431298896067
58
+ 0.435186361553569
59
+ 0.266955830230432
60
+ 0.389529052322614
61
+ 0.100273322834453
62
+ 0.30282809705719
63
+ 0.228931553101505
64
+ 0.503223120781249
65
+ 0.290577253568483
66
+ 0.487519928739141
67
+ 0.211149044061702
68
+ 0.111191366923785
69
+ 0.136778201766475
70
+ 0.112217237798799
71
+ 0.231997256804628
72
+ 0.450941929856282
73
+ 0.197872439207595
74
+ 0.13855568315508
75
+ 0.115575288732957
76
+ 0.471961598419415
77
+ 0.342699120159728
78
+ 0.113819194108954
79
+ 0.167711639266222
80
+ 0.305411227564666
81
+ 0.339583467618806
82
+ 0.127852800495427
83
+ 0.201302715007268
84
+ 0.369500544732351
85
+ 0.126077510791749
86
+ 0.19513766622338
87
+ 0.436132243299689
88
+ 0.297639045784869
89
+ 0.100201079357282
90
+ 0.140626227876238
91
+ 0.462266402632424
92
+ 0.414403695245654
93
+ 0.176691756773939
94
+ 0.123356386887816
95
+ 0.300957204516015
96
+ 0.262044638730942
97
+ 0.103101004564345
98
+ 0.132455273516524
99
+ 0.409194114158499
100
+ 0.101491416683491
101
+ 0.186644375071771
102
+ 0.302133918104017
103
+ 0.111821659741326
104
+ 0.1141734613563
105
+ 0.202267453460072
106
+ 0.104527741910161
107
+ 0.314277294338739
108
+ 0.40283466010027
109
+ 0.282512621027229
110
+ 0.219857930678768
111
+ 0.23304444184296
112
+ 0.285068139971211
113
+ 0.101038353321576
114
+ 0.218191494211622
115
+ 0.176832814560609
116
+ 0.401796452223879
117
+ 0.275892062683964
118
+ 0.322180513951622
119
+ 0.100006437827518
120
+ 0.35590202485802
121
+ 0.179115998866695
122
+ 0.480350026051237
123
+ 0.43779428053463
124
+ 0.265309671904408
125
+ 0.145206633873364
126
+ 0.106188058499507
127
+ 0.100163667982143
128
+ 0.276995351703135
129
+ 0.436088414714397
130
+ 0.291768826940895
131
+ 0.209690070022406
132
+ 0.163516479931072
133
+ 0.351516591224256
134
+ 0.388913597587383
135
+ 0.100008655565979
136
+ 0.205661129911054
137
+ 0.142206412025529
138
+ 0.104457746305101
139
+ 0.148225326941518
140
+ 0.100207591872873
141
+ 0.35228361348456
142
+ 0.351704138567661
143
+ 0.112928289805447
144
+ 0.463660386870817
145
+ 0.269171154722717
146
+ 0.344362368712066
147
+ 0.214185163470596
148
+ 0.128236785278991
149
+ 0.496630598974541
150
+ 0.411361754737922
151
+ 0.219751010859123
152
+ 0.102872992201768
153
+ 0.280351838561544
154
+ 0.113100866670945
155
+ 0.395866667504008
156
+ 0.174353651390022
157
+ 0.210905213066573
158
+ 0.251955575182715
159
+ 0.289892492574912
160
+ 0.122252863368446
161
+ 0.203691557428523
162
+ 0.363273206152997
163
+ 0.265786592382153
164
+ 0.150309425288644
165
+ 0.39716107449651
166
+ 0.285045874496802
167
+ 0.123411411850459
168
+ 0.50433493636878
169
+ 0.487809085777178
170
+ 0.414911247136649
171
+ 0.270720760822797
172
+ 0.120414957090653
173
+ 0.259398907836072
174
+ 0.367753737704471
175
+ 0.264196083792661
176
+ 0.407713895911523
177
+ 0.123165082415599
178
+ 0.303767874821601
179
+ 0.124164439144025
180
+ 0.121470648806337
181
+ 0.134846171562801
182
+ 0.20393472742744
183
+ 0.485085988234131
184
+ 0.236835613060524
185
+ 0.500710180882484
186
+ 0.120987704483798
187
+ 0.103784233591828
188
+ 0.100180079669222
189
+ 0.434227819198856
190
+ 0.210711914271096
191
+ 0.346310138209584
192
+ 0.174964731165234
193
+ 0.197448655483821
194
+ 0.175822901787855
195
+ 0.175978441634371
196
+ 0.223489635745344
197
+ 0.348335211726058
198
+ 0.288585863804445
199
+ 0.227875894132737
200
+ 0.321736161752032
201
+ 0.368863555984939
202
+ 0.49854745931825
203
+ 0.134556188076498
204
+ 0.210263257498283
205
+ 0.475653426387868
206
+ 0.136154871682393
207
+ 0.219229466376417
208
+ 0.31822449835046
209
+ 0.236439956677321
210
+ 0.231099847822714
211
+ 0.3038151504655
212
+ 0.161421998640364
213
+ 0.373471274267142
214
+ 0.173587617048356
215
+ 0.104087721042024
216
+ 0.386593467236662
217
+ 0.150296099443906
218
+ 0.426836489990588
219
+ 0.21083402676383
220
+ 0.12439584987289
221
+ 0.331886528525095
222
+ 0.339451138923874
223
+ 0.333924570350885
224
+ 0.160442062843667
225
+ 0.331015805700292
226
+ 0.184112901018671
227
+ 0.389671846025156
228
+ 0.381373926899461
229
+ 0.180571450474457
230
+ 0.136803659987785
231
+ 0.115590680398992
232
+ 0.427763537991929
233
+ 0.111898325803607
234
+ 0.495162606622165
235
+ 0.233143315319712
236
+ 0.100423898941618
237
+ 0.303400242964199
238
+ 0.121084720485412
239
+ 0.149792575011235
240
+ 0.344833208453652
241
+ 0.200966761362044
242
+ 0.104112580385664
243
+ 0.374898013633483
244
+ 0.417124498985252
245
+ 0.41380434855597
246
+ 0.235622417454738
247
+ 0.330737502645319
248
+ 0.329837667346825
249
+ 0.264667044067384
250
+ 0.107492262486425
251
+ 0.11853337314519
252
+ 0.107155499426651
253
+ 0.392512782427037
254
+ 0.132799315212258
255
+ 0.181682780709446
256
+ 0.18762750530874
257
+ 0.464619181282056
258
+ 0.458220976318593
259
+ 0.124363292898335
260
+ 0.1815501227483
261
+ 0.319322180055284
262
+ 0.391075359948116
263
+ 0.435013357871532
264
+ 0.181341517491514
265
+ 0.114769673176949
266
+ 0.415559750437145
267
+ 0.158144134019547
268
+ 0.296270172403711
269
+ 0.467488074747556
270
+ 0.345160057127834
271
+ 0.11147288560116
272
+ 0.217811116194996
273
+ 0.141369698898688
274
+ 0.352745635966027
275
+ 0.109985305623949
276
+ 0.101535432140159
277
+ 0.356249165562657
278
+ 0.13562213243311
279
+ 0.389761309492549
280
+ 0.294648957688527
281
+ 0.114513386648387
282
+ 0.376373345046456
283
+ 0.130222259358285
284
+ 0.241515069218593
285
+ 0.182665392677944
286
+ 0.382681163201642
287
+ 0.141787212023455
288
+ 0.119459795491826
289
+ 0.103367061965556
290
+ 0.366623395596081
291
+ 0.100231472502983
292
+ 0.436087546004799
293
+ 0.152928608164651
294
+ 0.345628911079455
295
+ 0.110977591906903
296
+ 0.329814333793136
297
+ 0.107270955505256
298
+ 0.121226044411378
299
+ 0.419014903522178
300
+ 0.502475636088271
301
+ 0.253084093620292
302
+ 0.148991942506569
303
+ 0.123808226397103
304
+ 0.385272375922579
305
+ 0.131132528476418
306
+ 0.232860046778943
307
+ 0.472897619763797
308
+ 0.101792574019143
309
+ 0.125907395618639
310
+ 0.131208431815174
311
+ 0.358633628330464
312
+ 0.470905631963505
313
+ 0.133828135984867
314
+ 0.218982394812972
315
+ 0.322278719538214
316
+ 0.131616346432136
317
+ 0.126237710113798
318
+ 0.408632912745479
319
+ 0.221745160558525
320
+ 0.227631415735647
321
+ 0.455365127092442
322
+ 0.397941819834687
323
+ 0.119999054673695
324
+ 0.266477878897686
325
+ 0.27928513355363
326
+ 0.103316678971966
327
+ 0.13447695863549
328
+ 0.106893735160074
329
+ 0.119864107417536
330
+ 0.186984847932596
331
+ 0.199478826128065
332
+ 0.102364053212211
333
+ 0.242541119659533
334
+ 0.352024966792158
335
+ 0.157492783931491
336
+ 0.345657087032051
337
+ 0.127647261587107
338
+ 0.301760725366887
339
+ 0.103061435796152
340
+ 0.219120556658054
341
+ 0.426737192637094
342
+ 0.305701242844569
343
+ 0.351040632984122
344
+ 0.202939563197852
345
+ 0.308239023562887
346
+ 0.454300099113933
347
+ 0.284562586188769
348
+ 0.454963105467176
349
+ 0.270230583314069
350
+ 0.478187828480878
351
+ 0.101013215315316
352
+ 0.479727912683144
353
+ 0.133513185991524
354
+ 0.103398663695153
355
+ 0.51362832130624
356
+ 0.256494209619816
357
+ 0.106816274961524
358
+ 0.189696244763475
359
+ 0.101970108286395
360
+ 0.328592892162921
361
+ 0.407790361718237
362
+ 0.39683628597155
363
+ 0.412538391606721
364
+ 0.207615483099958
365
+ 0.274638023118377
366
+ 0.329927644076318
367
+ 0.182246442934862
368
+ 0.188196291772828
369
+ 0.148413899167051
370
+ 0.154929967068759
371
+ 0.493592938919883
372
+ 0.120374119628438
373
+ 0.209866959625
374
+ 0.379473477327917
375
+ 0.174420071457287
376
+ 0.443115311187536
377
+ 0.481774868315088
378
+ 0.118859862641195
379
+ 0.11062395157922
380
+ 0.175194001398969
381
+ 0.395351211004252
382
+ 0.114809855587954
383
+ 0.101563406086128
384
+ 0.244634211410135
385
+ 0.355881557774662
386
+ 0.353878325993175
387
+ 0.117314695897703
388
+ 0.127064379701105
389
+ 0.103109570220487
390
+ 0.210081778897634
391
+ 0.29371171661704
392
+ 0.224395283768284
393
+ 0.380836401485551
394
+ 0.224924116564569
395
+ 0.47203391771158
396
+ 0.125161862740695
397
+ 0.263972337557572
398
+ 0.148705300723898
399
+ 0.295182881305796
400
+ 0.374875615399301
401
+ 0.284697507554863
402
+ 0.380954345311976
403
+ 0.277685701047296
404
+ 0.408768534257063
405
+ 0.454843877876929
406
+ 0.172480667863407
407
+ 0.406468799344492
408
+ 0.107471782182435
409
+ 0.508511679085137
410
+ 0.171413900914615
411
+ 0.256496146725967
412
+ 0.187966007728875
413
+ 0.100012511260997
414
+ 0.105369626538348
415
+ 0.253515707471442
416
+ 0.505610109533401
417
+ 0.396149437231469
418
+ 0.107901750731275
419
+ 0.275174714911323
420
+ 0.107350602490696
421
+ 0.340933456305837
422
+ 0.203029736453469
423
+ 0.311950941845632
424
+ 0.464664876337763
425
+ 0.311899684103176
426
+ 0.262957215654153
427
+ 0.107173467478067
428
+ 0.312022139084116
429
+ 0.101815020008169
430
+ 0.135226850114166
431
+ 0.11090122745788
432
+ 0.120172725176433
433
+ 0.203169308625328
434
+ 0.289932243373679
435
+ 0.308791718739404
436
+ 0.157957963761763
437
+ 0.222429938774304
438
+ 0.133953811503769
439
+ 0.1720223659537
440
+ 0.111235438334995
441
+ 0.468987431975704
442
+ 0.190081102735559
443
+ 0.478285751760488
444
+ 0.44934327638211
445
+ 0.187566151071441
446
+ 0.167154969533505
447
+ 0.229835792879619
448
+ 0.114563305126217
449
+ 0.215219834127641
450
+ 0.458032160615246
451
+ 0.132821454870816
452
+ 0.136756517744445
453
+ 0.154951605842913
454
+ 0.33706011712252
455
+ 0.187789756109278
456
+ 0.159548570233682
457
+ 0.198097895941311
458
+ 0.136212342783791
459
+ 0.463767014603251
460
+ 0.37242499675122
461
+ 0.209882111886025
462
+ 0.37209430285831
463
+ 0.111290364197428
464
+ 0.120463072983336
465
+ 0.255668180912832
466
+ 0.387696373040249
467
+ 0.31242540230623
468
+ 0.101370334751089
469
+ 0.422055180617275
470
+ 0.261047523175048
471
+ 0.329382078737881
472
+ 0.440970609691236
473
+ 0.431119915766825
474
+ 0.113581091123656
475
+ 0.145146911769505
476
+ 0.113878381398811
477
+ 0.187364416381141
478
+ 0.129037163260549
479
+ 0.111848837650194
480
+ 0.150089456356081
481
+ 0.100004182687193
482
+ 0.46145205013269
483
+ 0.160789928405611
484
+ 0.110895486049642
485
+ 0.110986041985122
486
+ 0.104197018258119
487
+ 0.245564638745351
488
+ 0.14468233703715
489
+ 0.341301420983476
490
+ 0.485364953304572
491
+ 0.272001182216444
492
+ 0.41496023860768
493
+ 0.387499901065652
494
+ 0.310604684429599
495
+ 0.453057542912691
496
+ 0.455929323587389
497
+ 0.477231348647127
498
+ 0.361757963973142
499
+ 0.503942616077013
500
+ 0.404967847502211
501
+ 0.219211616154604
502
+ 0.428668761634562
503
+ 0.115934732784006
504
+ 0.229232295511974
505
+ 0.445836015575259
506
+ 0.367699404751611
507
+ 0.472883988507472
508
+ 0.211029265267535
509
+ 0.48972022065092
510
+ 0.297701701791996
511
+ 0.210396982337433
512
+ 0.475773058839011
513
+ 0.117531906478348
514
+ 0.196827215625706
515
+ 0.121128881812908
516
+ 0.262845898256901
517
+ 0.239285560458077
518
+ 0.455704615810778
519
+ 0.432536366451994
520
+ 0.279437067551089
521
+ 0.312055866486443
522
+ 0.14973903985678
523
+ 0.330180224627733
524
+ 0.210490993278546
525
+ 0.350318216314874
526
+ 0.491132533999809
527
+ 0.377036187133312
528
+ 0.147259759817569
529
+ 0.308615308724962
530
+ 0.421967755608907
531
+ 0.104533236770637
532
+ 0.218014112929044
533
+ 0.23518040144408
534
+ 0.297286707540889
535
+ 0.101318743092449
536
+ 0.496514348394492
537
+ 0.114991014417154
538
+ 0.281040326551492
539
+ 0.273154506011786
540
+ 0.445885892954348
541
+ 0.270496253913553
542
+ 0.264302069051569
543
+ 0.333164097058108
544
+ 0.102534323729664
545
+ 0.379273676119675
546
+ 0.228299104102636
547
+ 0.455656256069946
548
+ 0.117520705422937
549
+ 0.123461896371697
550
+ 0.273813332215201
551
+ 0.144372514247753
552
+ 0.238722200029797
553
+ 0.264486105407125
554
+ 0.101549664532005
555
+ 0.404490140700912
556
+ 0.304275459234877
557
+ 0.414626540439155
558
+ 0.339275403179674
559
+ 0.325577905158242
560
+ 0.375813424135818
561
+ 0.106797850921421
562
+ 0.101376852925838
563
+ 0.16442736246289
564
+ 0.490879786644228
565
+ 0.331055959219247
566
+ 0.114863124210894
567
+ 0.185256365003224
568
+ 0.441208713655013
569
+ 0.122983231784617
570
+ 0.38138134469904
571
+ 0.335480683086824
572
+ 0.473353147234318
573
+ 0.141666900172653
574
+ 0.230847253007492
575
+ 0.272516431060864
576
+ 0.202793531295813
577
+ 0.123969630424149
578
+ 0.130334940192936
579
+ 0.105669164894299
580
+ 0.317679085410694
581
+ 0.249190418130916
582
+ 0.271284142965032
583
+ 0.140200402263366
584
+ 0.372656824156711
585
+ 0.389301399048346
586
+ 0.125277644790358
587
+ 0.211857356107857
588
+ 0.222443213543024
589
+ 0.135891045467306
590
+ 0.493948725072068
591
+ 0.145598353538195
592
+ 0.159590448261994
593
+ 0.463482084341117
594
+ 0.187105492963388
595
+ 0.515888794892161
596
+ 0.424721490809496
597
+ 0.217953191835292
598
+ 0.434017849822939
599
+ 0.503302373939025
600
+ 0.452262031520622
601
+ 0.152668136391047
602
+ 0.11067717220972
603
+ 0.144190219865548
604
+ 0.249968943610298
605
+ 0.105003973380675
606
+ 0.102300071192436
607
+ 0.159802545468566
608
+ 0.182005712598468
609
+ 0.271350236451182
610
+ 0.16827498276188
611
+ 0.357461781365093
612
+ 0.369437667654891
613
+ 0.122236064171094
614
+ 0.114112830391958
615
+ 0.122567291356066
616
+ 0.101664483457893
617
+ 0.102045295829409
618
+ 0.441047536386506
619
+ 0.16376336343735
620
+ 0.1068417288357
621
+ 0.468788024376723
622
+ 0.182204845045153
623
+ 0.13162167892108
624
+ 0.487912928298983
625
+ 0.426278866014283
626
+ 0.199442316574577
627
+ 0.274262846852519
628
+ 0.194385937190438
629
+ 0.442605791701229
630
+ 0.393661593998793
631
+ 0.245697524866781
632
+ 0.119281315078872
633
+ 0.120370653538169
634
+ 0.310067145363069
635
+ 0.154767113583709
636
+ 0.36130427290753
637
+ 0.105929498065931
638
+ 0.311719039208304
639
+ 0.457258713279603
640
+ 0.147829372763444
641
+ 0.4874181040353
642
+ 0.110576768934396
643
+ 0.142351679035085
644
+ 0.150178296834292
645
+ 0.116439973673041
646
+ 0.105801456167064
647
+ 0.157349703986764
648
+ 0.18254671460456
649
+ 0.397207877737467
650
+ 0.435301774128909
651
+ 0.102878520423385
652
+ 0.245470739860721
653
+ 0.432071720610056
654
+ 0.185818219184703
655
+ 0.324675593967122
656
+ 0.350601116901389
657
+ 0.488701840995839
658
+ 0.140864733038483
659
+ 0.331393962875521
660
+ 0.419081637519074
661
+ 0.101208330743345
662
+ 0.473697425872663
663
+ 0.135602177427866
664
+ 0.264838127507119
665
+ 0.409789920163751
666
+ 0.10462983015607
667
+ 0.460385687879776
668
+ 0.320272600485956
669
+ 0.121260094650146
670
+ 0.212206610443476
671
+ 0.461985982612554
672
+ 0.212537550880901
673
+ 0.104862215130643
674
+ 0.398655053306987
675
+ 0.36397750951726
676
+ 0.35349107700987
677
+ 0.102554883506666
678
+ 0.117594194676464
679
+ 0.459215524912362
680
+ 0.1020766783039
681
+ 0.100444593818467
682
+ 0.146158366213582
683
+ 0.227917510477586
684
+ 0.471813779136228
685
+ 0.100485174719933
686
+ 0.212081529782029
687
+ 0.213206822978533
688
+ 0.182467692685597
689
+ 0.305929772981902
690
+ 0.246685010535304
691
+ 0.302974804267336
692
+ 0.151805553364256
693
+ 0.286650711337064
694
+ 0.248120644202502
695
+ 0.100043196082216
696
+ 0.247991881583878
697
+ 0.103867413341039
698
+ 0.108776346267239
699
+ 0.100089202987358
700
+ 0.407327095516369
701
+ 0.19191294157037
702
+ 0.368190567289265
703
+ 0.219864908873834
704
+ 0.137045021875576
705
+ 0.101241711959791
706
+ 0.296817933380225
707
+ 0.413266293069988
708
+ 0.350927973316626
709
+ 0.369199232862081
710
+ 0.459980103330742
711
+ 0.380341822047627
712
+ 0.217087505489147
713
+ 0.165090111865355
714
+ 0.411131589604605
715
+ 0.148725559991247
716
+ 0.458960004062131
717
+ 0.110091442948995
718
+ 0.448828641422221
719
+ 0.488576452513451
720
+ 0.119910361774221
721
+ 0.384167129114687
722
+ 0.345778526059048
723
+ 0.10870809114198
724
+ 0.137036064078806
725
+ 0.127558422863969
726
+ 0.373500522206444
727
+ 0.11452850269035
728
+ 0.497057507220444
729
+ 0.261568445064976
730
+ 0.233686253110631
731
+ 0.327265329417861
732
+ 0.41240636575039
733
+ 0.260291548101395
734
+ 0.21702661726705
735
+ 0.279582895671727
736
+ 0.104516531176614
737
+ 0.101281737956226
738
+ 0.43000392000183
739
+ 0.295220222978302
740
+ 0.108986297419916
741
+ 0.343255273451878
742
+ 0.298023170792444
743
+ 0.265245538225928
744
+ 0.299118939095967
745
+ 0.323600237327161
746
+ 0.476528244471349
747
+ 0.23838283279218
748
+ 0.125615166481647
749
+ 0.144063409161068
750
+ 0.420225631082486
751
+ 0.130979965686292
752
+ 0.209329749743064
753
+ 0.175454283886913
754
+ 0.104104810639901
755
+ 0.468393930865985
756
+ 0.435316332425226
757
+ 0.453685933448307
758
+ 0.310545148039281
759
+ 0.136711289062533
760
+ 0.100079847963586
761
+ 0.482941923069419
762
+ 0.265212918139646
763
+ 0.28435151388422
764
+ 0.284030379191128
765
+ 0.310321554699731
766
+ 0.439585378294489
767
+ 0.346284956821447
768
+ 0.182638841970851
769
+ 0.194551759016492
770
+ 0.102971913992804
771
+ 0.255737207539791
772
+ 0.103464250276231
773
+ 0.100049735326723
774
+ 0.124667244751243
775
+ 0.168605468707328
776
+ 0.318707253289624
777
+ 0.100734813818188
778
+ 0.426452722696772
779
+ 0.268388314026208
780
+ 0.103937490040382
781
+ 0.103948813966897
782
+ 0.309927355974802
783
+ 0.34003490392301
784
+ 0.397258931257673
785
+ 0.105264819697866
786
+ 0.153555608238606
787
+ 0.204013548562201
788
+ 0.106728279275367
789
+ 0.306525558556216
790
+ 0.118415890543551
791
+ 0.452876402646221
792
+ 0.28314177954642
793
+ 0.109087026753802
794
+ 0.29459564723173
795
+ 0.152225547139486
796
+ 0.100071914373821
797
+ 0.102537309464382
798
+ 0.361678069994552
799
+ 0.132234763126755
800
+ 0.118491134437125
801
+ 0.23915768503029
802
+ 0.368461541990031
803
+ 0.144966077540168
804
+ 0.223631212140889
805
+ 0.183725641587059
806
+ 0.367464900937102
807
+ 0.477695410261389
808
+ 0.112810103553988
809
+ 0.104816084546819
810
+ 0.373819175865886
811
+ 0.118615002415508
812
+ 0.127808262757025
813
+ 0.367038373044627
814
+ 0.211545296458482
815
+ 0.220331610299869
816
+ 0.203877781791173
817
+ 0.208636188553893
818
+ 0.333261423948563
819
+ 0.363505491203274
820
+ 0.483683716522026
821
+ 0.325246037183482
822
+ 0.513944721878418
823
+ 0.364665584895866
824
+ 0.110898240665386
825
+ 0.471120468922395
826
+ 0.365796471982954
827
+ 0.206410523880093
828
+ 0.200832310779099
829
+ 0.414100628749501
830
+ 0.364282056619647
831
+ 0.139371324007496
832
+ 0.486077266745991
833
+ 0.100669918186623
834
+ 0.367959024369502
835
+ 0.10000734554742
836
+ 0.499198740605389
837
+ 0.281564743989704
838
+ 0.482365026883173
839
+ 0.114375231703274
840
+ 0.441398101077132
841
+ 0.484016713152202
842
+ 0.47297537679529
843
+ 0.134712926584461
844
+ 0.39486369609528
845
+ 0.105625143833371
846
+ 0.505890614170243
847
+ 0.364476917255775
848
+ 0.450877335963114
849
+ 0.105561633980685
850
+ 0.227936876122865
851
+ 0.482168197215036
852
+ 0.241711921670172
853
+ 0.218716357371094
854
+ 0.482770764474062
855
+ 0.452533747884181
856
+ 0.340392751353135
857
+ 0.107056004251068
858
+ 0.43655383123877
859
+ 0.396454854981871
860
+ 0.135600689622066
861
+ 0.130188272087698
862
+ 0.253466209693642
863
+ 0.160899286077267
864
+ 0.271706755332896
865
+ 0.104920174190182
866
+ 0.151711568060197
867
+ 0.483320528405347
868
+ 0.253153024910575
869
+ 0.430497166330421
870
+ 0.225500053431298
871
+ 0.100879886491754
872
+ 0.331654720727745
873
+ 0.218911148545972
874
+ 0.100212112762748
875
+ 0.359286511545229
876
+ 0.219823047862245
877
+ 0.123530792285157
878
+ 0.439407200814639
879
+ 0.355344476106769
880
+ 0.496000715133086
881
+ 0.203506499803735
882
+ 0.365193233052475
883
+ 0.100245180202392
884
+ 0.232927735543759
885
+ 0.161695093306622
886
+ 0.355645045785291
887
+ 0.134669416170224
888
+ 0.313890042356315
889
+ 0.439381777766731
890
+ 0.119243234108999
891
+ 0.11129525606806
892
+ 0.479351963498409
893
+ 0.258838606210309
894
+ 0.123785565005093
895
+ 0.135643082967686
896
+ 0.195894968055529
897
+ 0.289970111730832
898
+ 0.408900676638579
899
+ 0.118013013072581
900
+ 0.13368609014609
901
+ 0.10013912162746
902
+ 0.320478233073838
903
+ 0.115474300545806
904
+ 0.295532964652247
905
+ 0.486308661791212
906
+ 0.488562930900056
907
+ 0.483562106356907
908
+ 0.448705325841798
909
+ 0.241868183131062
910
+ 0.162424444206374
911
+ 0.245113857509217
912
+ 0.165601090889492
913
+ 0.353667142471363
914
+ 0.392426370253892
915
+ 0.100486038669667
916
+ 0.230436342996861
917
+ 0.100031029535226
918
+ 0.473246604576163
919
+ 0.165555541061553
920
+ 0.276544575792948
921
+ 0.455241743214662
922
+ 0.255978655160991
923
+ 0.293877665942231
924
+ 0.203542679082638
925
+ 0.38965734761678
926
+ 0.167375804872445
927
+ 0.102943325614493
928
+ 0.301448902893579
929
+ 0.206608078528429
930
+ 0.121321080855753
931
+ 0.373698833334336
932
+ 0.29032173056465
933
+ 0.180253267047894
934
+ 0.432730167951069
935
+ 0.213290748167155
936
+ 0.10899999582108
937
+ 0.154090745498724
938
+ 0.134303733197731
939
+ 0.167029808622334
940
+ 0.130326102753382
941
+ 0.337010453425841
942
+ 0.154834464271038
943
+ 0.113416196415571
944
+ 0.100708673971847
945
+ 0.312006778904803
946
+ 0.104361316776092
947
+ 0.438141935311544
948
+ 0.103720372984351
949
+ 0.100190794974572
950
+ 0.215604304942022
951
+ 0.174496673834028
952
+ 0.141118003334663
953
+ 0.112008062653833
954
+ 0.284540488037635
955
+ 0.250226270083978
956
+ 0.420967020986883
957
+ 0.193890404679811
958
+ 0.472447897467045
959
+ 0.44311858420728
960
+ 0.173974043346033
961
+ 0.361165211148833
962
+ 0.481116414385017
963
+ 0.115171285098901
964
+ 0.252641029011238
965
+ 0.102004433560589
966
+ 0.185828362593019
967
+ 0.167552154887286
968
+ 0.477668008649316
969
+ 0.102320251350742
970
+ 0.154514081683459
971
+ 0.21779224147611
972
+ 0.374637981519987
973
+ 0.107336494879008
974
+ 0.190617080753242
975
+ 0.177821211988574
976
+ 0.113146851040955
977
+ 0.124596762345021
978
+ 0.382102242221093
979
+ 0.18588389760054
980
+ 0.374231240745171
981
+ 0.159933381042366
982
+ 0.413074389499549
983
+ 0.110273409780109
984
+ 0.135351198117359
985
+ 0.106015957619382
986
+ 0.276411497615541
987
+ 0.266967086317469
988
+ 0.150299034396644
989
+ 0.101475548090843
990
+ 0.270561716194287
991
+ 0.391119586581946
992
+ 0.142130975631254
993
+ 0.122449461868531
994
+ 0.217302238553145
995
+ 0.426593528826438
996
+ 0.16908095551542
997
+ 0.398295326286215
998
+ 0.208121144304573
999
+ 0.320834681539306
1000
+ 0.361706452078567
1001
+ 0.200124233892995
1002
+ 0.367646808187992
1003
+ 0.291285672215101
1004
+ 0.185478000636211