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="cubics"> | 9 <div id="cubics"> |
10 {{{317, 711}, {322.522857666015625, 711}, {327, 715.4771728515625}, {327, 721}}}
, | 10 {{{103.800003f, 451.399994f}, {118.100006f, 450.600006f}, {115.600006f, 443.8999
94f}, {115.600006f, 443.899994f}}} id=3 |
11 {{{324.071075439453125, 713.928955078125}, {324.4051513671875, 714.2630004882812
5}, {324.715667724609375, 714.62060546875}, {325, 714.9990234375}}}, | 11 {{{115.600006f, 443.899994f}, {115.800003f, 445}, {117.200005f, 438.5f}, {115.00
0008f, 427.299988f}}} id=4 |
12 </div> | 12 </div> |
13 | 13 |
| 14 <div id="cubics2"> |
| 15 {{{115.6316070556640625, 443.999237060546875}, {115.9124092648639675, 444.439500
3767372145}, {117.1065847217176383, 438.0244068281508589}, {115.0000076293945313
, 427.29998779296875}}} id=44 |
| 16 {{{115.6316070556640625, 443.999237060546875}, {115.619154389193497, 443.9797128
116054523}, {115.6084986998821762, 443.9467041484157335}, {115.600006103515625,
443.899993896484375}}} id=43 |
| 17 {{{115.6316070556640625, 443.999237060546875}, {115.8726462570580225, 444.832901
1683850354}, {117.0719462895199854, 450.6575499937891891}, {103.8000106811523438
, 451.4000244140625}}} id=31 |
| 18 {{{115.6316070556640625, 443.999237060546875}, {115.6129357357566789, 443.934659
9744848163}, {115.6000137329101563, 443.9000244140625}, {115.6000137329101563, 4
43.9000244140625}}} id=32 |
| 19 </div> |
14 </div> | 20 </div> |
15 | 21 |
16 <script type="text/javascript"> | 22 <script type="text/javascript"> |
17 | 23 |
18 var testDivs = [ | 24 var testDivs = [ |
| 25 cubics2, |
19 cubics | 26 cubics |
20 ]; | 27 ]; |
21 | 28 |
22 var decimal_places = 3; | 29 var decimal_places = 3; |
23 | 30 |
24 var tests = []; | 31 var tests = []; |
25 var testTitles = []; | 32 var testTitles = []; |
26 var testIndex = 0; | 33 var testIndex = 0; |
27 var ctx; | 34 var ctx; |
28 | 35 |
29 var subscale = 1; | 36 var subscale = 1; |
30 var xmin, xmax, ymin, ymax; | 37 var xmin, xmax, ymin, ymax; |
(...skipping 1378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1409 <body onLoad="start();"> | 1416 <body onLoad="start();"> |
1410 | 1417 |
1411 <canvas id="canvas" width="750" height="500" | 1418 <canvas id="canvas" width="750" height="500" |
1412 onmousedown="mouseDown = true" | 1419 onmousedown="mouseDown = true" |
1413 onmouseup="mouseDown = false" | 1420 onmouseup="mouseDown = false" |
1414 onmousemove="handleMouseOver()" | 1421 onmousemove="handleMouseOver()" |
1415 onclick="handleMouseClick()" | 1422 onclick="handleMouseClick()" |
1416 ></canvas > | 1423 ></canvas > |
1417 </body> | 1424 </body> |
1418 </html> | 1425 </html> |
OLD | NEW |