OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> | 3 <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> |
4 <head> | 4 <head> |
5 <meta charset="utf-8" /> | 5 <meta charset="utf-8" /> |
6 <title></title> | 6 <title></title> |
7 <div style="height:0"> | 7 <div style="height:0"> |
8 | 8 |
9 <div id="perp"> | 9 <div id="cubics"> |
10 {{{130.0427549999999997, 11417.41309999999976}, {130.2331240000000037, 11418.319
2999999992}, {131.0370790000000056, 11419}, {132, 11419}}}, | 10 {{{317, 711}, {322.522857666015625, 711}, {327, 715.4771728515625}, {327, 721}}}
, |
11 {{{132, 11419}, {130.8954319999999996, 11419}, {130, 11418.10449999999946}, {130
, 11417}}}, | 11 {{{324.071075439453125, 713.928955078125}, {324.4051513671875, 714.2630004882812
5}, {324.715667724609375, 714.62060546875}, {325, 714.9990234375}}}, |
12 </div> | 12 </div> |
13 | 13 |
14 <div id="quads"> | |
15 {{{-0.001019871095195412636, -0.008523519150912761688}, {-0.00539640802890062332
2, -0.005396373569965362549}, {-0.02855382487177848816, -0.02855364233255386353}
}}, | |
16 {{{-0.004567248281091451645, -0.01482933573424816132}, {-0.01142475008964538574,
-0.01140109263360500336}, {-0.02852955088019371033, -0.02847047336399555206}}}, | |
17 </div> | |
18 | |
19 <div id="both"> | |
20 {{fX=0.000000000 fY=0.000000000 }, {fX=494.350159 fY=228.773712 }, {fX=493.19165
0 fY=226.887451 }} | |
21 {{fX=0.000000000 fY=0.000000000 } {fX=492.680206 fY=228.000900 } {fX=493.193817
fY=226.897568 } | |
22 {{fX=493.193817 fY=226.897568 } {fX=493.195557 fY=226.893829 } {fX=493.191650 fY
=226.887451 } | |
23 </div> | |
24 | |
25 <div id="startguy"> | |
26 {{fX=0.000000000 fY=0.000000000 }, {fX=494.350159 fY=228.773712 }, {fX=493.19165
0 fY=226.887451 }} | |
27 {{fX=0.000000000 fY=0.000000000 }, {fX=494.350159 fY=228.773712 }, {fX=493.19165
0 fY=226.887451 }} | |
28 </div> | |
29 | |
30 <div id="splitted"> | |
31 {{fX=0.000000000 fY=0.000000000 } {fX=492.680206 fY=228.000900 } {fX=493.193817
fY=226.897568 } | |
32 {{fX=493.193817 fY=226.897568 } {fX=493.195557 fY=226.893829 } {fX=493.191650 fY
=226.887451 } | |
33 </div> | |
34 | |
35 </div> | 14 </div> |
36 | 15 |
37 <script type="text/javascript"> | 16 <script type="text/javascript"> |
38 | 17 |
39 var testDivs = [ | 18 var testDivs = [ |
40 perp, | 19 cubics |
41 quads, | |
42 both, | |
43 startguy, | |
44 splitted | |
45 ]; | 20 ]; |
46 | 21 |
47 var decimal_places = 3; | 22 var decimal_places = 3; |
48 | 23 |
49 var tests = []; | 24 var tests = []; |
50 var testTitles = []; | 25 var testTitles = []; |
51 var testIndex = 0; | 26 var testIndex = 0; |
52 var ctx; | 27 var ctx; |
53 | 28 |
54 var subscale = 1; | 29 var subscale = 1; |
(...skipping 1379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1434 <body onLoad="start();"> | 1409 <body onLoad="start();"> |
1435 | 1410 |
1436 <canvas id="canvas" width="750" height="500" | 1411 <canvas id="canvas" width="750" height="500" |
1437 onmousedown="mouseDown = true" | 1412 onmousedown="mouseDown = true" |
1438 onmouseup="mouseDown = false" | 1413 onmouseup="mouseDown = false" |
1439 onmousemove="handleMouseOver()" | 1414 onmousemove="handleMouseOver()" |
1440 onclick="handleMouseClick()" | 1415 onclick="handleMouseClick()" |
1441 ></canvas > | 1416 ></canvas > |
1442 </body> | 1417 </body> |
1443 </html> | 1418 </html> |
OLD | NEW |