-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
773 lines (746 loc) · 30.1 KB
/
index.html
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-155844497-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-155844497-1');
</script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="This website calculate shell performance of ships in World of Warships such as penetration, flight time, impact angle.
It also checks for angle need to penetrate, fuse, and overpenetrate for given armor thicknesses.">
<title>World of Warships Ballistics Calculator</title>
</head>
<body>
<script defer src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<link defer rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<script defer src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
<link defer href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<script defer src="https://unpkg.com/wasm-feature-detect/dist/umd/index.js"></script>
<script defer src='https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.js'></script>
<script defer src='https://chartjs.org/samples/latest/utils.js'></script>
<script defer src="wasm/shellWasm.js"></script>
<script defer src="wasm/shellWasmV.js"></script>
<script defer src='javascript/index.min.js' charset="UTF-8"></script>
<style>
table{
border: 15px solid white;
background-color: white;
}
td{
border: 5px solid white;
background-color: white;
}
tr {
border: 5px solid white;
background-color: white;
}
th{
border: 15px solid white;
background-color: white;
}
canvas{
background-color: white;
}
input{
box-shadow: 0px 0px #888888;
border-style: solid;
border-width: 2px;
}
select{
box-shadow: 0px 0px #888888;
border-style: solid;
border-width: 2px;
}
.btn-info{
background-color: teal;
border-color: teal;
}
.btn-info:hover{
background-color: rgb(0,96,96);
border-color: rgb(0,96,96);
}
.btn-info:not(:disabled):not(.disabled).active,
.btn-info:not(:disabled):not(.disabled):active,
.show>.btn-info.dropdown-toggle {
background-color: rgb(0,96,96);
border-color: rgb(0,96,96);
}
.btn-info:not(:disabled):not(.disabled).active:focus,
.btn-info:not(:disabled):not(.disabled):active:focus,
.btn-info.focus, .btn-info:focus,
.show>.btn-info.dropdown-toggle:focus {
box-shadow: 0 0 0 0.2rem rgba(0,96,96,.5);
}
.btn-primary{
background-color: orange;
border-color: orange;
}
.btn-primary:hover{
background-color: rgb(192,124,0);
border-color: rgb(192,124,0);
}
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
background-color: rgb(192,124,0);
border-color: rgb(192,124,0);
}
.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary.focus, .btn-primary:focus,
.show>.btn-primary.dropdown-toggle:focus {
box-shadow: 0 0 0 0.2rem rgba(192,124,0,.5);
}
.btn-success{
background-color: purple;
border-color: purple;
}
.btn-success:hover{
background-color: rgb(96,0,96);
border-color: rgb(96,0,96);
}
.btn-success:not(:disabled):not(.disabled).active,
.btn-success:not(:disabled):not(.disabled):active,
.show>.btn-success.dropdown-toggle {
color: #fff;
background-color: rgb(96,0,96);
border-color: rgb(96,0,96);
}
.btn-success:not(:disabled):not(.disabled).active:focus,
.btn-success:not(:disabled):not(.disabled):active:focus,
.btn-success.focus, .btn-success:focus,
.show>.btn-success.dropdown-toggle:focus {
box-shadow: 0 0 0 0.2rem rgba(96,0,96,.5);
}
.margin-bottom {
margin-bottom:5px;
}
.download-align{
margin-left: 45%;
width: 10%;
margin-right: 45%;
margin-bottom: 10px;
}
.th-header{
margin-bottom: .5rem;
font-family: inherit;
font-weight: 500;
line-height: 1.2;
color: inherit;
}
.th-h3{
font-size: 1.75rem;
}
</style>
<h1 style="text-align: center;">World of Warships Ballistics Calculator</h1>
<button id="descriptionsToggle" class="btn btn-info btn-lg btn-block"
data-toggle="collapse" data-target="#descriptions">Description
<span class="fa fa-chevron-up fa-resize-full"></span>
</button>
<div class="collapse" id=descriptions style="width: 100%;">
<div style="padding-left: 2em;">
<h4>Functionality</h4>
<h5 style="padding-left: 2em;">Calculate shell performance at impact and in flight</h5>
<p style="padding-left: 4em;">Belt/Deck penetration - Belt/Deck Impact Angle - Impact Velocity - Flight Time</p>
<p style="padding-left: 4em;">Includes all shell types (AP, HE, SAP(CS)) - only for 0.9.1.1 and later</p>
<h5 style="padding-left: 2em;">Calculate Critical Angles</h5>
<p style="padding-left: 4em;">Maximum angle for penetration - Minimum angle for fusing - Lateral ricochet angles</p>
<h5 style="padding-left: 2em;">Calculate AP performance post penetration</h5>
<p style="padding-left: 4em;">Shell detonation distance after penetration - Checking whether the armor is thick enough to arm the shell</p>
<p>Overpen calculations are experimental - further testing may be needed to confirm results.</p>
<p>Site will be updated if and when more accurate information becomes available.</p>
</div>
</div>
<button id="parametersToggle" class="btn btn-info btn-lg btn-block"
data-toggle="collapse" data-target="#parameters">Input Data
<span class="fa fa-chevron-up fa-resize-full"></span>
</button>
<div class="collapse" id=parameters style="width: 100%; background-color: lightgray;" >
<table id=parameterTable style="width: 100%;">
<tr style="width: 100%;">
<th style="text-align: center" class="th-header th-h3"><u>Predefined Shells</u>
</th>
<th style="text-align: center" class="th-header th-h3"><u>Shell Data</u>
</th>
<th style="text-align: center" class="th-header th-h3"><u>Target Data</u>
</th>
</tr>
<tr style="width: 100%;">
<td>
<form>
<div class="row margin-bottom">
<div class="col-sm-4"><h4>Ship A:</h4></div>
<div class="col-sm-8"></div>
</div>
<div class="form-row margin-bottom">
<label class="col-sm-4 col-form-label">Version</label>
<div class="col-sm-8">
<select id=version0 class="form-control" onchange="onChangeVersion('version0')"></select>
</div>
</div>
<div class="form-row margin-bottom">
<label class="col-sm-4 col-form-label">Nation</label>
<div class="col-sm-8">
<select id=nation0 class="form-control" onchange="onChangeNation('nation0')"></select>
</div>
</div>
<div class="form-row margin-bottom">
<label class="col-sm-4 col-form-label">Type</label>
<div class="col-sm-8">
<select id=type0 class="form-control" onchange="onChangeType('type0')"></select>
</div>
</div>
<div class="form-row margin-bottom">
<label class="col-sm-4 col-form-label">Ship</label>
<div class="col-sm-8">
<select id=ship0 class="form-control" onchange="onChangeShip('ship0')"></select>
</div>
</div>
<div class="form-row margin-bottom">
<label class="col-sm-4 col-form-label">Artillery</label>
<div class="col-sm-8">
<select id=shell0 class="form-control" onchange="onChangeShell('shell0')"></select>
</div>
</div>
<div class="form-row margin-bottom">
<label class="col-sm-4 col-form-label">Shell Type</label>
<div class="col-sm-8">
<select id=shellType0 class="form-control" onchange="onChangeShellType('shellType0')"></select>
</div>
</div>
<div class="form-row margin-bottom">
<div class="col-sm-4">
<button type="button" class="btn btn-success btn-block" id="apply0">Apply</button>
</div>
<div class="btn-group-toggle" data-toggle="buttons">
<label class="btn btn-block btn-info active">
<input id="autoApply0" type="checkbox" checked> Apply On Change
</label>
</div>
</div>
<div class="row margin-bottom">
<div class="col-sm-4"><h4>Ship B:</h4></div>
<div class="col-sm-8"></div>
</div>
<div class="form-row margin-bottom">
<label class="col-sm-4 col-form-label">Version</label>
<div class="col-sm-8">
<select id=version1 class="form-control" onchange="onChangeVersion('version1')"></select>
</div>
</div>
<div class="form-row margin-bottom">
<label class="col-sm-4 col-form-label">Nation</label>
<div class="col-sm-8">
<select id=nation1 class="form-control" onchange="onChangeNation('nation1')"></select>
</div>
</div>
<div class="form-row margin-bottom">
<label class="col-sm-4 col-form-label">Type</label>
<div class="col-sm-8">
<select id=type1 class="form-control" onchange="onChangeType('type1')"></select>
</div>
</div>
<div class="form-row margin-bottom">
<label class="col-sm-4 col-form-label">Ship</label>
<div class="col-sm-8">
<select id=ship1 class="form-control" onchange="onChangeShip('ship1')"></select>
</div>
</div>
<div class="form-row margin-bottom">
<label class="col-sm-4 col-form-label">Artillery</label>
<div class="col-sm-8">
<select id=shell1 class="form-control" onchange="onChangeShell('shell1')"></select>
</div>
</div>
<div class="form-row margin-bottom">
<label class="col-sm-4 col-form-label">Shell Type</label>
<div class="col-sm-8">
<select id=shellType1 class="form-control" onchange="onChangeShellType('shellType1')"></select>
</div>
</div>
<div class="form-row margin-bottom">
<div class="col-sm-4">
<button type="button" class="btn btn-success btn-block" id="apply1">Apply</button>
</div>
<div class="btn-group-toggle" data-toggle="buttons">
<label class="btn btn-block btn-info active">
<input id="autoApply1" type="checkbox" checked> Apply On Change
</label>
</div>
</div>
</form>
</td>
<td>
<form>
<div class="row margin-bottom">
<div class="col-sm-4"><h4>Shell Attributes</h4></div>
<div class="col-sm-4"><h4>Ship A:</h4></div>
<div class="col-sm-4"><h4>Ship B:</h4></div>
</div>
<div class="form-row margin-bottom">
<label id="caliberL" class="col-sm-4 col-form-label">Caliber (m)</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" min="0" id="caliber0" value="">
</div>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" min="0" id="caliber1" value="">
</div>
</div>
<div class="form-row margin-bottom">
<label id="mvL" class="col-sm-4 col-form-label">Muzzle Velocity (m/s)</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" min="0" id="mv0" value="">
</div>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" min="0" id="mv1" value="">
</div>
</div>
<div class="form-row margin-bottom">
<label id="cDL" class="col-sm-4 col-form-label">Drag Coefficent</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" min="0" id="cD0" value="">
</div>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" min="0" id="cD1" value="">
</div>
</div>
<div class="form-row margin-bottom">
<label id="massL" class="col-sm-4 col-form-label">Mass (kg)</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" min="0" id="mass0" value="">
</div>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" min="0" id="mass1" value="">
</div>
</div>
<div class="form-row margin-bottom">
<label id="kruppL" class="col-sm-4 col-form-label">Krupp</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" min="0" id="krupp0" value="">
</div>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" min="0" id="krupp1" value="">
</div>
</div>
<div class="form-row margin-bottom">
<label id="fusetimeL" class="col-sm-4 col-form-label">Fusetime (s)</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" min="0" id="fusetime0" value="">
</div>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" min="0" id="fusetime1" value="">
</div>
</div>
<div class="form-row margin-bottom">
<label id="thresholdL" class="col-sm-4 col-form-label">Fusing Threshold (mm)</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" min="0" id="threshold0" value="">
</div>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" min="0" id="threshold1" value="">
</div>
</div>
<div class="form-row margin-bottom">
<label id="normalL" class="col-sm-4 col-form-label">Normalization (°)</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" min="0" max="91" id="normal0" value="">
</div>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" min="0" max="91" id="normal1" value="">
</div>
</div>
<div class="form-row margin-bottom">
<label id="ra0L" class="col-sm-4 col-form-label">Start Ricochet (°)</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" min="0" max="91" id="ra0_0" value="">
</div>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" min="0" max="91" id="ra0_1" value="">
</div>
</div>
<div class="form-row margin-bottom">
<label id="ra1L" class="col-sm-4 col-form-label">Always Ricochet (°)</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" min="0" max="91" id="ra1_0" value="">
</div>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" min="0" max="91" id="ra1_1" value="">
</div>
</div>
<div class="form-row margin-bottom">
<label id="HESAPL" class="col-sm-4 col-form-label">HE/SAP penetration (mm)</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" min="0" id="HESAP0" value="0">
</div>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" min="0" id="HESAP1" value="0">
</div>
</div>
<div class="form-row margin-bottom">
<label class="col-sm-4 col-form-label">Graph Label</label>
<div class="col-sm-4">
<input class="form-control" id="shipName0" value="">
</div>
<div class="col-sm-4">
<input class="form-control" id="shipName1" value="">
</div>
</div>
<div class="row margin-bottom">
<div class="col-sm-4"></div>
<div class="col-sm-4">
<div class="btn-group-toggle" data-toggle="buttons">
<label class="btn btn-block btn-info active">
<input id="graphShip0" type="checkbox" checked> Graph
</label>
</div>
</div>
<div class="col-sm-4">
<div class="btn-group-toggle" data-toggle="buttons">
<label class="btn btn-block btn-info active">
<input id="graphShip1" type="checkbox" checked> Graph
</label>
</div>
</div>
</div>
</form>
</td>
<td>
<h4>Target Armor</h4>
<form>
<div class="form-row margin-bottom">
<label class="col-sm-5 col-form-label"
title="Thickness in milimeters of the targeted plate.">Armor (mm)</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" min="0" id="armor" value="70">
</div>
</div>
<div class="form-row margin-bottom">
<label class="col-sm-5 col-form-label"
title="Vertical inclination angle of the armor: 0° - perpendicular to sea level; >0° - turtleback; <0° - angled towards keel.">Armor Inclination (°)</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" min="-90" max="180" id="inclination" value="0">
</div>
</div>
<div class="form-row margin-bottom">
<label class="col-sm-5 col-form-label"
title="Width (Beam) of the targeted ship in meters.">Ship Width (m)</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" min="0" id="width" value="18">
</div>
</div>
</form>
<h4 title="For post-penetration graphs only.">Horizontal Impact Angles</h4>
<form>
<div class="form-row margin-bottom">
<label class="col-sm-5 col-form-label">Angle 0 (°)</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" id="angle0" value="0" >
</div>
</div>
<div class="form-row margin-bottom">
<label class="col-sm-5 col-form-label">Angle 1 (°)</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" id="angle1" value="5" >
</div>
</div>
<div class="form-row margin-bottom">
<label class="col-sm-5 col-form-label">Angle 2 (°)</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" id="angle2" value="10" >
</div>
</div>
<div class="form-row margin-bottom">
<label class="col-sm-5 col-form-label">Angle 3 (°)</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" id="angle3" value="15" >
</div>
</div>
<div class="form-row margin-bottom">
<label class="col-sm-5 col-form-label">Angle 4 (°)</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" id="angle4" value="20" >
</div>
</div>
<div class="form-row margin-bottom">
<label class="col-sm-5 col-form-label">Angle 5 (°)</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" id="angle5" value="25" >
</div>
</div>
<div class="form-row margin-bottom">
<label class="col-sm-5 col-form-label">Angle 6 (°)</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" id="angle6" value="30" >
</div>
</div>
<div class="form-row margin-bottom">
<label class="col-sm-5 col-form-label">Angle 7 (°)</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" id="angle7" value="35" >
</div>
</div>
</form>
</td>
</tr>
</table>
<div style="background-color: white;"><button id=generate class="btn btn-success btn-lg btn-block" style="margin-left:auto; margin-right:auto; width: 50%; margin-bottom: 20px;">Generate Graphs</button></div>
</div>
<button id="settingsToggle" class="btn btn-info btn-lg btn-block"
data-toggle="collapse" data-target="#settingsTab">Settings
<span class="fa fa-chevron-up fa-resize-full"></span>
</button>
<div class="collapse" id=settingsTab style="width: 100%">
<table>
<tr>
<th class="th-header th-h3">Graphs</th>
<th class="th-header th-h3">Calculation Method</th>
<th class="th-header th-h3">Calculation Parameters</th>
</tr>
<tr>
<td>
<form>
<div class="form-row margin-bottom">
<label class="col-sm-5 col-form-label">Minimum Distance</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" id="minDist" value="0" >
</div>
</div>
<div class="form-row margin-bottom">
<label class="col-sm-5 col-form-label">Maximum Distance</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" id="maxDist" value="" >
</div>
</div>
<div class="form-row margin-bottom">
<label class="col-sm-5 col-form-label">Tick Size</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" id="tickDist" value="1000" >
</div>
</div>
<div class="form-row margin-bottom">
<label class="col-sm-5 col-form-label">Rounding</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" id="rounding" value="3" >
</div>
</div>
<div class="col-sm-8">
<div class="btn-group-toggle" data-toggle="buttons">
<label class="btn btn-block btn-info">
<input id="shortNames" type="checkbox" checked> Short Names
</label>
</div>
</div>
<div class="col-sm-8">
<div class="btn-group-toggle" data-toggle="buttons">
<label class="btn btn-block btn-info">
<input id="enableFills" type="checkbox"> Enable Fills
</label>
</div>
</div>
</form>
</td>
<td>
<div class="btn-group-vertical btn-group-toggle" data-toggle="buttons">
<label class="btn btn-info">
<input type="radio" onchange="setComputation('AB5')"> Adams-Bashforth 5
</label>
<label class="btn btn-info">
<input type="radio" onchange="setComputation('RK2')"> Runge-Kutta 2
</label>
<label class="btn btn-info">
<input type="radio" onchange="setComputation('RK4')"> Runge-Kutta 4
</label>
<label class="btn btn-info active">
<input type="radio" onchange="setComputation('FE')" checked> Forward Euler
</label>
</div>
</td>
<td>
<div class="form-row margin-bottom">
<label class="col-sm-6 col-form-label">Time Step (s)</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" min=".00001" max="10" id="timeStep" value="0.01" >
</div>
</div>
<div class="form-row margin-bottom">
<label class="col-sm-6 col-form-label">Minimum Launch Angle (°)</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" min="-90" max="90" id="minLaunch" value="0" >
</div>
</div>
<div class="form-row margin-bottom">
<label class="col-sm-6 col-form-label">Maximum Launch Angle (°)</label>
<div class="col-sm-4">
<input class="form-control" type="number" step="any" min="-90" max="90" id="maxLaunch" value="25" >
</div>
</div>
</td>
</tr>
</table>
</div>
<h2 style="text-align:center">Graphs</h2>
<button id=impactChartToggle class="btn btn-primary btn-lg btn-block"
data-toggle="collapse" data-target="#impactCharts">At Impact
<span class="fa fa-chevron-up fa-resize-full"></span>
</button>
<div class="collapse" id=impactCharts>
<button class="btn btn-info btn-lg btn-block"
data-toggle="collapse" data-target="#pC0" id="PCT0"> Horizontal Penetration
<span class="fa fa-chevron-up fa-resize-full"></span>
</button>
<div class='collapse' id="pC0">
<div class='col-sm-12'>
<canvas id="penChart0" width="1200" height="300"></canvas>
</div>
<a id='penChartLink0' class='btn btn-success download-align'>Download Graph</a>
</div>
<button class="btn btn-info btn-lg btn-block"
data-toggle="collapse" data-target="#pC1" id="PCT1"> Deck Penetration
<span class="fa fa-chevron-up fa-resize-full"></span>
</button>
<div class='collapse' id="pC1">
<div class='col-sm-12'>
<canvas id="penChart1" width="1200" height="300"></canvas>
</div>
<a id='penChartLink1' class='btn btn-success download-align'>Download Graph</a>
</div>
<button class="btn btn-info btn-lg btn-block"
data-toggle="collapse" data-target="#pC2" id="PCT2"> Shell Speed
<span class="fa fa-chevron-up fa-resize-full"></span>
</button>
<div class='collapse' id="pC2">
<div class='col-sm-12'>
<canvas id="penChart2" width="1200" height="300"></canvas>
</div>
<a id='penChartLink2' class='btn btn-success download-align'>Download Graph</a>
</div>
</div>
<button id=angleChartToggle class="btn btn-primary btn-lg btn-block"
data-toggle="collapse" data-target="#angleCharts">Critical Lateral Angles
<span class="fa fa-chevron-up fa-resize-full"></span>
</button>
<div class="collapse" id=angleCharts>
<button class="btn btn-info btn-lg btn-block"
data-toggle="collapse" data-target="#CA0" id="ACT0"> Maximum Lateral Angle for Perforation
<span class="fa fa-chevron-up fa-resize-full"></span>
</button>
<div class='collapse' id="CA0">
<div class='col-sm-12'>
<canvas id="angleChart0" width="1200" height="300"></canvas>
</div>
<a id='angleChartLink0' class='btn btn-success download-align'>Download Graph</a>
</div>
<button class="btn btn-info btn-lg btn-block"
data-toggle="collapse" data-target="#CA1" id="ACT1"> Minimum Lateral Angle for Fusing
<span class="fa fa-chevron-up fa-resize-full"></span>
</button>
<div class='collapse' id="CA1">
<div class='col-sm-12'>
<canvas id="angleChart1" width="1200" height="300"></canvas>
</div>
<a id='angleChartLink1' class='btn btn-success download-align'>Download Graph</a>
</div>
</div>
<button id=postPenChartToggle class="btn btn-primary btn-lg btn-block"
data-toggle="collapse" data-target="#postPenCharts">Post Penetration
<span class="fa fa-chevron-up fa-resize-full"></span>
</button>
<div class="collapse" id=postPenCharts>
<button class="btn btn-info btn-lg btn-block"
data-toggle="collapse" data-target="#LA0" id="AT0">
Lateral Angle 0
<span class="fa fa-chevron-up fa-resize-full"></span>
</button>
<div class='collapse' id="LA0">
<div class='col-sm-12'>
<canvas id="postPen0" width="1200" height="300"></canvas>
</div>
<a id='postPenLink0' class='btn btn-success download-align'>Download Graph</a>
</div>
<button class="btn btn-info btn-lg btn-block"
data-toggle="collapse" data-target="#LA1" id="AT1">
Lateral Angle 1
<span class="fa fa-chevron-up fa-resize-full"></span>
</button>
<div class='collapse' id="LA1">
<div class='col-sm-12'>
<canvas id="postPen1" width="1200" height="300"></canvas>
</div>
<a id='postPenLink1' class='btn btn-success download-align'>Download Graph</a>
</div>
<button class="btn btn-info btn-lg btn-block"
data-toggle="collapse" data-target="#LA2" id="AT2">
Lateral Angle 2
<span class="fa fa-chevron-up fa-resize-full"></span>
</button>
<div class='collapse' id="LA2">
<div class='col-sm-12'>
<canvas id="postPen2" width="1200" height="300"></canvas>
</div>
<a id='postPenLink2' class='btn btn-success download-align'>Download Graph</a>
</div>
<button class="btn btn-info btn-lg btn-block"
data-toggle="collapse" data-target="#LA3" id="AT3">
Lateral Angle 3
<span class="fa fa-chevron-up fa-resize-full"></span>
</button>
<div class='collapse' id="LA3">
<div class='col-sm-12'>
<canvas id="postPen3" width="1200" height="300"></canvas>
</div>
<a id='postPenLink3' class='btn btn-success download-align'>Download Graph</a>
</div>
<button class="btn btn-info btn-lg btn-block"
data-toggle="collapse" data-target="#LA4" id="AT4">
Lateral Angle 4
<span class="fa fa-chevron-up fa-resize-full"></span>
</button>
<div class='collapse' id="LA4">
<div class='col-sm-12'>
<canvas id="postPen4" width="1200" height="300"></canvas>
</div>
<a id='postPenLink4' class='btn btn-success download-align'>Download Graph</a>
</div>
<button class="btn btn-info btn-lg btn-block"
data-toggle="collapse" data-target="#LA5" id="AT5">
Lateral Angle 5
<span class="fa fa-chevron-up fa-resize-full"></span>
</button>
<div class='collapse' id="LA5">
<div class='col-sm-12'>
<canvas id="postPen5" width="1200" height="300"></canvas>
</div>
<a id='postPenLink5' class='btn btn-success download-align'>Download Graph</a>
</div>
<button class="btn btn-info btn-lg btn-block"
data-toggle="collapse" data-target="#LA6" id="AT6">
Lateral Angle 6
<span class="fa fa-chevron-up fa-resize-full"></span>
</button>
<div class='collapse' id="LA6">
<div class='col-sm-12'>
<canvas id="postPen6" width="1200" height="300"></canvas>
</div>
<a id='postPenLink6' class='btn btn-success download-align'>Download Graph</a>
</div>
<button class="btn btn-info btn-lg btn-block"
data-toggle="collapse" data-target="#LA7" id="AT7">
Lateral Angle 7
<span class="fa fa-chevron-up fa-resize-full"></span>
</button>
<div class='collapse' id="LA7">
<div class='col-sm-12'>
<canvas id="postPen7" width="1200" height="300"></canvas>
</div>
<a id='postPenLink7' class='btn btn-success download-align'>Download Graph</a>
</div>
</div>
<p>If you find a bug or want a new feature, please <a href="https://github.com/jcw780/wows_ballistics/issues">open an issue</a> at GitHub. Your suggestions will be considered at later development.</p>
</body>
</html>