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="sect1"> | 9 <div id="cubics"> |
10 {{{36.756134033203125, 47.42348098754882812}, {40.32709884643554688, 44.65576934
814453125}, {43.57402420043945312, 41.4935760498046875}, {46.43517684936523438,
37.99703216552734375}}}, | 10 {{{231.80000305175781, 2084.800048828125}, {255.60000610351562, 2084.80004882812
5}, {275, 2065.39990234375}, {275, 2041.5999755859375}}}, |
11 {{{36.756134033203125, 47.42348098754882812}, {36.75614144085933788, 47.42347524
616091903}}}, | 11 {{{275, 2041.5999755859375}, {275, 2084.800048828125}, {231.80000305175781, 2084
.800048828125}}, 0.707107008}, |
12 {{{36.756134033203125, 47.42348098754882812}, {50.84598541259765625, 65.60249328
61328125}}}, | |
13 </div> | 12 </div> |
14 | 13 |
15 </div> | 14 </div> |
16 | 15 |
17 <script type="text/javascript"> | 16 <script type="text/javascript"> |
18 | 17 |
19 var testDivs = [ | 18 var testDivs = [ |
20 sect1, | 19 cubics, |
21 ]; | 20 ]; |
22 | 21 |
23 var decimal_places = 3; | 22 var decimal_places = 3; |
24 | 23 |
25 var tests = []; | 24 var tests = []; |
26 var testTitles = []; | 25 var testTitles = []; |
27 var testIndex = 0; | 26 var testIndex = 0; |
28 var ctx; | 27 var ctx; |
29 | 28 |
30 var subscale = 1; | 29 var subscale = 1; |
(...skipping 1370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1401 <body onLoad="start();"> | 1400 <body onLoad="start();"> |
1402 | 1401 |
1403 <canvas id="canvas" width="750" height="500" | 1402 <canvas id="canvas" width="750" height="500" |
1404 onmousedown="mouseDown = true" | 1403 onmousedown="mouseDown = true" |
1405 onmouseup="mouseDown = false" | 1404 onmouseup="mouseDown = false" |
1406 onmousemove="handleMouseOver()" | 1405 onmousemove="handleMouseOver()" |
1407 onclick="handleMouseClick()" | 1406 onclick="handleMouseClick()" |
1408 ></canvas > | 1407 ></canvas > |
1409 </body> | 1408 </body> |
1410 </html> | 1409 </html> |
OLD | NEW |