Visualizing Terrain
## Loading required package: knitr
## Loading required package: png
As I mentioned before if the output target is HTML, R has some methods for turning R data (the same height map data as used in the Visualizing R Data post)…
## [1] TRUE
## X1 X2 X3 X4 X5 X6 X7 X8
## 1 0.113008 0.113008 0.114153 0.126192 0.126986 0.126146 0.124727 0.118090
## 2 0.113008 0.113008 0.117678 0.125704 0.123232 0.126619 0.127733 0.123812
## 3 0.113008 0.113024 0.114946 0.118013 0.123613 0.125643 0.127077 0.125475
## 4 0.113008 0.113008 0.113008 0.116472 0.124956 0.123674 0.126253 0.118013
## 5 0.116823 0.115511 0.113024 0.113008 0.115465 0.120974 0.126574 0.115831
## 6 0.124239 0.118669 0.113664 0.113008 0.114092 0.120211 0.126467 0.118837
## X9 X10 X11 X12 X13 X14 X15 X16
## 1 0.120623 0.121294 0.115526 0.120317 0.123156 0.126696 0.129061 0.130220
## 2 0.116396 0.114565 0.117205 0.127550 0.126711 0.124880 0.125017 0.128344
## 3 0.114534 0.114504 0.118441 0.128450 0.128054 0.130465 0.131121 0.133196
## 4 0.114443 0.114549 0.121416 0.129107 0.128923 0.129534 0.132067 0.131685
## 5 0.114580 0.114794 0.121904 0.128695 0.129442 0.129152 0.132021 0.132708
## 6 0.114656 0.115785 0.124483 0.128679 0.129458 0.128740 0.130053 0.130434
## X17 X18 X19 X20 X21 X22 X23 X24
## 1 0.132036 0.131975 0.132815 0.131350 0.131136 0.147585 0.172549 0.189395
## 2 0.127108 0.130175 0.133608 0.131380 0.128954 0.137850 0.154513 0.169802
## 3 0.134585 0.131151 0.127092 0.130190 0.136370 0.132891 0.136538 0.150896
## 4 0.132403 0.133898 0.130480 0.127977 0.131044 0.132616 0.132799 0.138018
## 5 0.132876 0.133165 0.132723 0.127916 0.133028 0.136233 0.137377 0.139010
## 6 0.129458 0.129229 0.130068 0.131899 0.131151 0.144411 0.144549 0.136492
## X25 X26 X27 X28 X29 X30 X31 X32
## 1 0.196872 0.179019 0.149386 0.148943 0.166140 0.188540 0.189273 0.140551
## 2 0.169818 0.179278 0.179736 0.169100 0.163989 0.189929 0.216831 0.192950
## 3 0.166583 0.186938 0.194385 0.194308 0.170687 0.179232 0.201602 0.214496
## 4 0.145983 0.155413 0.167147 0.166735 0.165850 0.177478 0.173281 0.160555
## 5 0.141436 0.140795 0.145830 0.150607 0.152529 0.152316 0.157397 0.181216
## 6 0.139071 0.141054 0.142931 0.145876 0.150729 0.154513 0.164508 0.191089
## X33 X34 X35 X36 X37 X38 X39 X40
## 1 0.129747 0.131655 0.139879 0.138811 0.148089 0.159380 0.156741 0.174044
## 2 0.144244 0.138064 0.141222 0.136812 0.147326 0.154101 0.183078 0.246693
## 3 0.172793 0.148043 0.151049 0.154955 0.175418 0.191135 0.170092 0.178042
## 4 0.155550 0.165164 0.169268 0.186938 0.239048 0.246433 0.215900 0.207019
## 5 0.204471 0.221134 0.200580 0.172076 0.184283 0.228534 0.247150 0.250797
## 6 0.210925 0.242634 0.225010 0.213077 0.175921 0.184268 0.189471 0.215335
## X41 X42 X43 X44 X45 X46 X47 X48
## 1 0.208194 0.246464 0.265187 0.229709 0.197024 0.272480 0.291203 0.275395
## 2 0.235828 0.255879 0.258015 0.225208 0.213214 0.213657 0.261021 0.288212
## 3 0.223362 0.254994 0.265537 0.263737 0.250584 0.222019 0.235126 0.253925
## 4 0.197559 0.183993 0.196719 0.247410 0.270405 0.261173 0.264530 0.285100
## 5 0.260380 0.214160 0.189639 0.183581 0.209293 0.210651 0.207370 0.213901
## 6 0.249668 0.258549 0.237491 0.235599 0.213352 0.207004 0.229007 0.237644
## X49 X50 X51 X52 X53 X54 X55 X56
## 1 0.268315 0.219730 0.210590 0.207370 0.213916 0.259388 0.269200 0.296162
## 2 0.289006 0.260349 0.286412 0.296513 0.277775 0.297658 0.277790 0.266987
## 3 0.279423 0.279332 0.244205 0.260914 0.285466 0.271382 0.242847 0.297444
## 4 0.265415 0.228061 0.227054 0.232303 0.252628 0.233509 0.270756 0.281117
## 5 0.220829 0.212909 0.239445 0.214649 0.206760 0.232395 0.291157 0.272221
## 6 0.227893 0.245655 0.246845 0.228412 0.202747 0.243000 0.274968 0.275959
## X57 X58 X59 X60 X61 X62 X63 X64
## 1 0.328679 0.294240 0.254429 0.247349 0.249348 0.264805 0.277485 0.271305
## 2 0.307500 0.282704 0.256168 0.246265 0.240848 0.231357 0.276844 0.294392
## 3 0.298955 0.280278 0.300221 0.291722 0.261891 0.223468 0.231922 0.282246
## 4 0.267567 0.288212 0.263767 0.231174 0.226169 0.256092 0.240192 0.234058
## 5 0.251057 0.234775 0.256779 0.224720 0.233066 0.266163 0.276921 0.267872
## 6 0.266209 0.258289 0.221347 0.222736 0.234882 0.278706 0.285542 0.278599
… into JavaScript or JSON data and printing the results within HTML tags:
## <div id="data_in_html">
## <script type="application/json">
## [{"X1":0.113,"X2":0.113,"X3":0.1142,"X4":0.1262,"X5":0.127,"X6":0.1261,"X7":0.1247,"X8":0.1181,"X9":0.1206,"X10":0.1213,"X11":0.1155,"X12":0.1203,"X13":0.1232,"X14":0.1267,"X15":0.1291,"X16":0.1302,"X17":0.132,"X18":0.132,"X19":0.1328,"X20":0.1314,"X21":0.1311,"X22":0.1476,"X23":0.1725,"X24":0.1894,"X25":0.1969,"X26":0.179,"X27":0.1494,"X28":0.1489,"X29":0.1661,"X30":0.1885,"X31":0.1893,"X32":0.1406,"X33":0.1297,"X34":0.1317,"X35":0.1399,"X36":0.1388,"X37":0.1481,"X38":0.1594,"X39":0.1567,"X40":0.174,"X41":0.2082,"X42":0.2465,"X43":0.2652,"X44":0.2297,"X45":0.197,"X46":0.2725,"X47":0.2912,"X48":0.2754,"X49":0.2683,"X50":0.2197,"X51":0.2106,"X52":0.2074,"X53":0.2139,"X54":0.2594,"X55":0.2692,"X56":0.2962,"X57":0.3287,"X58":0.2942,"X59":0.2544,"X60":0.2473,"X61":0.2493,"X62":0.2648,"X63":0.2775,"X64":0.2713},{"X1":0.113,"X2":0.113,"X3":0.1177,"X4":0.1257,"X5":0.1232,"X6":0.1266,"X7":0.1277,"X8":0.1238,"X9":0.1164,"X10":0.1146,"X11":0.1172,"X12":0.1276,"X13":0.1267,"X14":0.1249,"X15":0.125,"X16":0.1283,"X17":0.1271,"X18":0.1302,"X19":0.1336,"X20":0.1314,"X21":0.129,"X22":0.1378,"X23":0.1545,"X24":0.1698,"X25":0.1698,"X26":0.1793,"X27":0.1797,"X28":0.1691,"X29":0.164,"X30":0.1899,"X31":0.2168,"X32":0.193,"X33":0.1442,"X34":0.1381,"X35":0.1412,"X36":0.1368,"X37":0.1473,"X38":0.1541,"X39":0.1831,"X40":0.2467,"X41":0.2358,"X42":0.2559,"X43":0.258,"X44":0.2252,"X45":0.2132,"X46":0.2137,"X47":0.261,"X48":0.2882,"X49":0.289,"X50":0.2603,"X51":0.2864,"X52":0.2965,"X53":0.2778,"X54":0.2977,"X55":0.2778,"X56":0.267,"X57":0.3075,"X58":0.2827,"X59":0.2562,"X60":0.2463,"X61":0.2408,"X62":0.2314,"X63":0.2768,"X64":0.2944},{"X1":0.113,"X2":0.113,"X3":0.1149,"X4":0.118,"X5":0.1236,"X6":0.1256,"X7":0.1271,"X8":0.1255,"X9":0.1145,"X10":0.1145,"X11":0.1184,"X12":0.1284,"X13":0.1281,"X14":0.1305,"X15":0.1311,"X16":0.1332,"X17":0.1346,"X18":0.1312,"X19":0.1271,"X20":0.1302,"X21":0.1364,"X22":0.1329,"X23":0.1365,"X24":0.1509,"X25":0.1666,"X26":0.1869,"X27":0.1944,"X28":0.1943,"X29":0.1707,"X30":0.1792,"X31":0.2016,"X32":0.2145,"X33":0.1728,"X34":0.148,"X35":0.151,"X36":0.155,"X37":0.1754,"X38":0.1911,"X39":0.1701,"X40":0.178,"X41":0.2234,"X42":0.255,"X43":0.2655,"X44":0.2637,"X45":0.2506,"X46":0.222,"X47":0.2351,"X48":0.2539,"X49":0.2794,"X50":0.2793,"X51":0.2442,"X52":0.2609,"X53":0.2855,"X54":0.2714,"X55":0.2428,"X56":0.2974,"X57":0.299,"X58":0.2803,"X59":0.3002,"X60":0.2917,"X61":0.2619,"X62":0.2235,"X63":0.2319,"X64":0.2822},{"X1":0.113,"X2":0.113,"X3":0.113,"X4":0.1165,"X5":0.125,"X6":0.1237,"X7":0.1263,"X8":0.118,"X9":0.1144,"X10":0.1145,"X11":0.1214,"X12":0.1291,"X13":0.1289,"X14":0.1295,"X15":0.1321,"X16":0.1317,"X17":0.1324,"X18":0.1339,"X19":0.1305,"X20":0.128,"X21":0.131,"X22":0.1326,"X23":0.1328,"X24":0.138,"X25":0.146,"X26":0.1554,"X27":0.1671,"X28":0.1667,"X29":0.1658,"X30":0.1775,"X31":0.1733,"X32":0.1606,"X33":0.1556,"X34":0.1652,"X35":0.1693,"X36":0.1869,"X37":0.239,"X38":0.2464,"X39":0.2159,"X40":0.207,"X41":0.1976,"X42":0.184,"X43":0.1967,"X44":0.2474,"X45":0.2704,"X46":0.2612,"X47":0.2645,"X48":0.2851,"X49":0.2654,"X50":0.2281,"X51":0.2271,"X52":0.2323,"X53":0.2526,"X54":0.2335,"X55":0.2708,"X56":0.2811,"X57":0.2676,"X58":0.2882,"X59":0.2638,"X60":0.2312,"X61":0.2262,"X62":0.2561,"X63":0.2402,"X64":0.2341},{"X1":0.1168,"X2":0.1155,"X3":0.113,"X4":0.113,"X5":0.1155,"X6":0.121,"X7":0.1266,"X8":0.1158,"X9":0.1146,"X10":0.1148,"X11":0.1219,"X12":0.1287,"X13":0.1294,"X14":0.1292,"X15":0.132,"X16":0.1327,"X17":0.1329,"X18":0.1332,"X19":0.1327,"X20":0.1279,"X21":0.133,"X22":0.1362,"X23":0.1374,"X24":0.139,"X25":0.1414,"X26":0.1408,"X27":0.1458,"X28":0.1506,"X29":0.1525,"X30":0.1523,"X31":0.1574,"X32":0.1812,"X33":0.2045,"X34":0.2211,"X35":0.2006,"X36":0.1721,"X37":0.1843,"X38":0.2285,"X39":0.2472,"X40":0.2508,"X41":0.2604,"X42":0.2142,"X43":0.1896,"X44":0.1836,"X45":0.2093,"X46":0.2107,"X47":0.2074,"X48":0.2139,"X49":0.2208,"X50":0.2129,"X51":0.2394,"X52":0.2146,"X53":0.2068,"X54":0.2324,"X55":0.2912,"X56":0.2722,"X57":0.2511,"X58":0.2348,"X59":0.2568,"X60":0.2247,"X61":0.2331,"X62":0.2662,"X63":0.2769,"X64":0.2679},{"X1":0.1242,"X2":0.1187,"X3":0.1137,"X4":0.113,"X5":0.1141,"X6":0.1202,"X7":0.1265,"X8":0.1188,"X9":0.1147,"X10":0.1158,"X11":0.1245,"X12":0.1287,"X13":0.1295,"X14":0.1287,"X15":0.1301,"X16":0.1304,"X17":0.1295,"X18":0.1292,"X19":0.1301,"X20":0.1319,"X21":0.1312,"X22":0.1444,"X23":0.1445,"X24":0.1365,"X25":0.1391,"X26":0.1411,"X27":0.1429,"X28":0.1459,"X29":0.1507,"X30":0.1545,"X31":0.1645,"X32":0.1911,"X33":0.2109,"X34":0.2426,"X35":0.225,"X36":0.2131,"X37":0.1759,"X38":0.1843,"X39":0.1895,"X40":0.2153,"X41":0.2497,"X42":0.2585,"X43":0.2375,"X44":0.2356,"X45":0.2134,"X46":0.207,"X47":0.229,"X48":0.2376,"X49":0.2279,"X50":0.2457,"X51":0.2468,"X52":0.2284,"X53":0.2027,"X54":0.243,"X55":0.275,"X56":0.276,"X57":0.2662,"X58":0.2583,"X59":0.2213,"X60":0.2227,"X61":0.2349,"X62":0.2787,"X63":0.2855,"X64":0.2786},{"X1":0.113,"X2":0.113,"X3":0.113,"X4":0.113,"X5":0.1136,"X6":0.1226,"X7":0.1261,"X8":0.1227,"X9":0.1146,"X10":0.1148,"X11":0.1209,"X12":0.1275,"X13":0.128,"X14":0.1274,"X15":0.1269,"X16":0.1274,"X17":0.1272,"X18":0.1299,"X19":0.1332,"X20":0.1323,"X21":0.1339,"X22":0.1383,"X23":0.1393,"X24":0.1374,"X25":0.1399,"X26":0.1425,"X27":0.1457,"X28":0.1522,"X29":0.1656,"X30":0.1631,"X31":0.1649,"X32":0.1732,"X33":0.2034,"X34":0.2198,"X35":0.2309,"X36":0.2244,"X37":0.1919,"X38":0.1841,"X39":0.1904,"X40":0.187,"X41":0.182,"X42":0.2001,"X43":0.2225,"X44":0.2362,"X45":0.2514,"X46":0.2484,"X47":0.2463,"X48":0.2572,"X49":0.2772,"X50":0.2547,"X51":0.2517,"X52":0.2413,"X53":0.21,"X54":0.2234,"X55":0.2556,"X56":0.2701,"X57":0.2602,"X58":0.2408,"X59":0.2195,"X60":0.2018,"X61":0.2346,"X62":0.2893,"X63":0.2725,"X64":0.268},{"X1":0.113,"X2":0.113,"X3":0.1136,"X4":0.1154,"X5":0.1183,"X6":0.1272,"X7":0.1283,"X8":0.1271,"X9":0.1184,"X10":0.1151,"X11":0.1158,"X12":0.1274,"X13":0.1286,"X14":0.1268,"X15":0.1268,"X16":0.1289,"X17":0.1303,"X18":0.1308,"X19":0.131,"X20":0.1319,"X21":0.1336,"X22":0.138,"X23":0.1448,"X24":0.146,"X25":0.1406,"X26":0.1465,"X27":0.1509,"X28":0.177,"X29":0.2038,"X30":0.1893,"X31":0.1676,"X32":0.1692,"X33":0.1813,"X34":0.2187,"X35":0.228,"X36":0.232,"X37":0.2195,"X38":0.2264,"X39":0.2038,"X40":0.2068,"X41":0.2265,"X42":0.2226,"X43":0.214,"X44":0.2029,"X45":0.2001,"X46":0.2269,"X47":0.2651,"X48":0.2667,"X49":0.2652,"X50":0.2656,"X51":0.2507,"X52":0.2512,"X53":0.2338,"X54":0.2049,"X55":0.2214,"X56":0.2478,"X57":0.2739,"X58":0.2609,"X59":0.2228,"X60":0.194,"X61":0.237,"X62":0.2923,"X63":0.2741,"X64":0.2552},{"X1":0.116,"X2":0.1185,"X3":0.1207,"X4":0.1244,"X5":0.1266,"X6":0.1292,"X7":0.1292,"X8":0.1298,"X9":0.1226,"X10":0.1156,"X11":0.1157,"X12":0.1255,"X13":0.1283,"X14":0.1252,"X15":0.1254,"X16":0.128,"X17":0.13,"X18":0.1313,"X19":0.1317,"X20":0.1322,"X21":0.134,"X22":0.1394,"X23":0.1457,"X24":0.1438,"X25":0.1401,"X26":0.1424,"X27":0.1437,"X28":0.1579,"X29":0.1884,"X30":0.2159,"X31":0.206,"X32":0.1737,"X33":0.1682,"X34":0.1919,"X35":0.206,"X36":0.2292,"X37":0.2411,"X38":0.247,"X39":0.2244,"X40":0.2373,"X41":0.2135,"X42":0.2495,"X43":0.2578,"X44":0.2331,"X45":0.2174,"X46":0.2024,"X47":0.2301,"X48":0.2319,"X49":0.2351,"X50":0.2457,"X51":0.2481,"X52":0.2524,"X53":0.2442,"X54":0.2086,"X55":0.2003,"X56":0.2072,"X57":0.2254,"X58":0.2265,"X59":0.2101,"X60":0.194,"X61":0.2114,"X62":0.2722,"X63":0.2809,"X64":0.2865},{"X1":0.1272,"X2":0.1258,"X3":0.1255,"X4":0.1254,"X5":0.1257,"X6":0.1265,"X7":0.1279,"X8":0.1275,"X9":0.1195,"X10":0.1162,"X11":0.1172,"X12":0.1213,"X13":0.1225,"X14":0.1266,"X15":0.1282,"X16":0.1281,"X17":0.1284,"X18":0.1304,"X19":0.1316,"X20":0.1331,"X21":0.1338,"X22":0.1389,"X23":0.1487,"X24":0.1462,"X25":0.1408,"X26":0.1482,"X27":0.1555,"X28":0.1568,"X29":0.1647,"X30":0.1697,"X31":0.2004,"X32":0.2083,"X33":0.167,"X34":0.1819,"X35":0.1957,"X36":0.197,"X37":0.2045,"X38":0.2199,"X39":0.2424,"X40":0.2389,"X41":0.2316,"X42":0.2541,"X43":0.253,"X44":0.2467,"X45":0.2312,"X46":0.2174,"X47":0.2283,"X48":0.2693,"X49":0.2665,"X50":0.2784,"X51":0.2515,"X52":0.235,"X53":0.2337,"X54":0.2339,"X55":0.2237,"X56":0.202,"X57":0.1982,"X58":0.2069,"X59":0.2479,"X60":0.2102,"X61":0.1922,"X62":0.233,"X63":0.2728,"X64":0.267},{"X1":0.116,"X2":0.122,"X3":0.1273,"X4":0.127,"X5":0.1223,"X6":0.1233,"X7":0.1276,"X8":0.1282,"X9":0.1182,"X10":0.1167,"X11":0.1176,"X12":0.1219,"X13":0.1222,"X14":0.1235,"X15":0.1239,"X16":0.1254,"X17":0.1227,"X18":0.1267,"X19":0.1241,"X20":0.1287,"X21":0.1332,"X22":0.1347,"X23":0.1356,"X24":0.1398,"X25":0.1417,"X26":0.1533,"X27":0.1556,"X28":0.1747,"X29":0.2083,"X30":0.2116,"X31":0.1841,"X32":0.1702,"X33":0.1804,"X34":0.1657,"X35":0.2005,"X36":0.2098,"X37":0.22,"X38":0.2146,"X39":0.2251,"X40":0.2437,"X41":0.2481,"X42":0.2248,"X43":0.2354,"X44":0.2561,"X45":0.2587,"X46":0.25,"X47":0.2278,"X48":0.2363,"X49":0.2455,"X50":0.2459,"X51":0.2441,"X52":0.2416,"X53":0.2417,"X54":0.256,"X55":0.2426,"X56":0.2234,"X57":0.2006,"X58":0.1993,"X59":0.2471,"X60":0.2459,"X61":0.1988,"X62":0.1939,"X63":0.2332,"X64":0.259},{"X1":0.1135,"X2":0.1136,"X3":0.1155,"X4":0.1237,"X5":0.119,"X6":0.1219,"X7":0.1256,"X8":0.1252,"X9":0.1166,"X10":0.1174,"X11":0.1277,"X12":0.1284,"X13":0.1286,"X14":0.1263,"X15":0.1292,"X16":0.1297,"X17":0.1303,"X18":0.1321,"X19":0.1325,"X20":0.1332,"X21":0.1352,"X22":0.1371,"X23":0.1392,"X24":0.1397,"X25":0.1424,"X26":0.1514,"X27":0.1808,"X28":0.1816,"X29":0.2015,"X30":0.2179,"X31":0.1979,"X32":0.1872,"X33":0.1662,"X34":0.1606,"X35":0.1597,"X36":0.1719,"X37":0.1926,"X38":0.2199,"X39":0.2326,"X40":0.2421,"X41":0.2237,"X42":0.1964,"X43":0.2083,"X44":0.203,"X45":0.207,"X46":0.2184,"X47":0.2333,"X48":0.2536,"X49":0.2479,"X50":0.2336,"X51":0.2189,"X52":0.2014,"X53":0.2112,"X54":0.2218,"X55":0.2427,"X56":0.2556,"X57":0.2249,"X58":0.1985,"X59":0.2012,"X60":0.2063,"X61":0.2014,"X62":0.1917,"X63":0.1927,"X64":0.2194},{"X1":0.1157,"X2":0.1144,"X3":0.114,"X4":0.1148,"X5":0.1156,"X6":0.1231,"X7":0.1259,"X8":0.1261,"X9":0.1189,"X10":0.1166,"X11":0.1323,"X12":0.1336,"X13":0.1319,"X14":0.1314,"X15":0.1275,"X16":0.1298,"X17":0.1314,"X18":0.133,"X19":0.1337,"X20":0.1348,"X21":0.1364,"X22":0.1378,"X23":0.1404,"X24":0.1404,"X25":0.143,"X26":0.1563,"X27":0.1902,"X28":0.1937,"X29":0.2253,"X30":0.2237,"X31":0.2114,"X32":0.1964,"X33":0.1839,"X34":0.1939,"X35":0.173,"X36":0.1659,"X37":0.1987,"X38":0.1992,"X39":0.1917,"X40":0.1841,"X41":0.1948,"X42":0.1868,"X43":0.211,"X44":0.2344,"X45":0.2402,"X46":0.2487,"X47":0.2421,"X48":0.2417,"X49":0.2284,"X50":0.2347,"X51":0.2121,"X52":0.2067,"X53":0.2265,"X54":0.2471,"X55":0.2609,"X56":0.257,"X57":0.2511,"X58":0.2493,"X59":0.2413,"X60":0.2169,"X61":0.1977,"X62":0.2036,"X63":0.1933,"X64":0.1906},{"X1":0.1227,"X2":0.1208,"X3":0.1159,"X4":0.1142,"X5":0.1143,"X6":0.1185,"X7":0.1244,"X8":0.1281,"X9":0.1206,"X10":0.1162,"X11":0.1312,"X12":0.1342,"X13":0.1319,"X14":0.1324,"X15":0.1318,"X16":0.1283,"X17":0.1322,"X18":0.1345,"X19":0.1352,"X20":0.135,"X21":0.1358,"X22":0.1373,"X23":0.1392,"X24":0.1399,"X25":0.1479,"X26":0.1568,"X27":0.1932,"X28":0.2027,"X29":0.2212,"X30":0.2347,"X31":0.224,"X32":0.2118,"X33":0.2183,"X34":0.2164,"X35":0.2054,"X36":0.1912,"X37":0.1864,"X38":0.1792,"X39":0.1814,"X40":0.1833,"X41":0.1783,"X42":0.1733,"X43":0.1765,"X44":0.1946,"X45":0.2236,"X46":0.2127,"X47":0.2261,"X48":0.2147,"X49":0.192,"X50":0.1872,"X51":0.1991,"X52":0.2336,"X53":0.2481,"X54":0.2667,"X55":0.2622,"X56":0.2436,"X57":0.2357,"X58":0.2311,"X59":0.2428,"X60":0.2485,"X61":0.2146,"X62":0.2128,"X63":0.2129,"X64":0.1966},{"X1":0.1265,"X2":0.1261,"X3":0.1247,"X4":0.1179,"X5":0.1144,"X6":0.1145,"X7":0.1149,"X8":0.118,"X9":0.1181,"X10":0.1158,"X11":0.1191,"X12":0.1351,"X13":0.134,"X14":0.1325,"X15":0.1326,"X16":0.1317,"X17":0.1319,"X18":0.135,"X19":0.1353,"X20":0.1363,"X21":0.138,"X22":0.1388,"X23":0.1389,"X24":0.1426,"X25":0.1527,"X26":0.1572,"X27":0.1838,"X28":0.1847,"X29":0.199,"X30":0.2059,"X31":0.2287,"X32":0.2385,"X33":0.244,"X34":0.2424,"X35":0.2375,"X36":0.2394,"X37":0.2341,"X38":0.2246,"X39":0.2338,"X40":0.2348,"X41":0.2216,"X42":0.2186,"X43":0.2058,"X44":0.1842,"X45":0.1784,"X46":0.184,"X47":0.1971,"X48":0.1974,"X49":0.1947,"X50":0.2063,"X51":0.2091,"X52":0.1978,"X53":0.2248,"X54":0.25,"X55":0.2401,"X56":0.2396,"X57":0.2443,"X58":0.2459,"X59":0.2483,"X60":0.2591,"X61":0.2329,"X62":0.2419,"X63":0.2368,"X64":0.2308},{"X1":0.1275,"X2":0.1275,"X3":0.1276,"X4":0.1265,"X5":0.1213,"X6":0.1163,"X7":0.1164,"X8":0.1179,"X9":0.119,"X10":0.1174,"X11":0.1161,"X12":0.1297,"X13":0.1337,"X14":0.1336,"X15":0.1331,"X16":0.1344,"X17":0.1348,"X18":0.1344,"X19":0.135,"X20":0.1371,"X21":0.1377,"X22":0.1395,"X23":0.1442,"X24":0.1483,"X25":0.16,"X26":0.1585,"X27":0.1692,"X28":0.1704,"X29":0.1769,"X30":0.194,"X31":0.207,"X32":0.191,"X33":0.1923,"X34":0.2022,"X35":0.2,"X36":0.2219,"X37":0.2386,"X38":0.2304,"X39":0.2155,"X40":0.2477,"X41":0.2566,"X42":0.2555,"X43":0.243,"X44":0.219,"X45":0.2089,"X46":0.206,"X47":0.2317,"X48":0.2339,"X49":0.2282,"X50":0.219,"X51":0.2508,"X52":0.2172,"X53":0.2123,"X54":0.22,"X55":0.2452,"X56":0.2656,"X57":0.2649,"X58":0.2503,"X59":0.2515,"X60":0.2859,"X61":0.2637,"X62":0.2734,"X63":0.2441,"X64":0.2337},{"X1":0.1272,"X2":0.1279,"X3":0.129,"X4":0.129,"X5":0.127,"X6":0.125,"X7":0.1269,"X8":0.1297,"X9":0.1295,"X10":0.122,"X11":0.1178,"X12":0.1288,"X13":0.1336,"X14":0.1359,"X15":0.1357,"X16":0.1354,"X17":0.1363,"X18":0.1365,"X19":0.1369,"X20":0.1371,"X21":0.1382,"X22":0.1396,"X23":0.1508,"X24":0.1455,"X25":0.1513,"X26":0.155,"X27":0.1595,"X28":0.1609,"X29":0.166,"X30":0.1761,"X31":0.1731,"X32":0.1708,"X33":0.1782,"X34":0.1808,"X35":0.1817,"X36":0.1949,"X37":0.205,"X38":0.2055,"X39":0.1842,"X40":0.2004,"X41":0.2227,"X42":0.2388,"X43":0.2566,"X44":0.2584,"X45":0.2373,"X46":0.2479,"X47":0.2369,"X48":0.2712,"X49":0.2471,"X50":0.2399,"X51":0.2634,"X52":0.2495,"X53":0.2213,"X54":0.2325,"X55":0.2377,"X56":0.2587,"X57":0.274,"X58":0.2689,"X59":0.2627,"X60":0.2669,"X61":0.2733,"X62":0.2513,"X63":0.2387,"X64":0.2566},{"X1":0.1265,"X2":0.1275,"X3":0.1287,"X4":0.1294,"X5":0.1289,"X6":0.1282,"X7":0.1294,"X8":0.1313,"X9":0.1312,"X10":0.118,"X11":0.1279,"X12":0.131,"X13":0.1369,"X14":0.1364,"X15":0.1352,"X16":0.1326,"X17":0.1324,"X18":0.1353,"X19":0.1379,"X20":0.1409,"X21":0.1441,"X22":0.1514,"X23":0.1539,"X24":0.1538,"X25":0.1583,"X26":0.1648,"X27":0.1716,"X28":0.1748,"X29":0.1714,"X30":0.1712,"X31":0.1655,"X32":0.1895,"X33":0.2126,"X34":0.2184,"X35":0.2222,"X36":0.2164,"X37":0.1866,"X38":0.1866,"X39":0.1844,"X40":0.1789,"X41":0.1795,"X42":0.1928,"X43":0.2157,"X44":0.2457,"X45":0.25,"X46":0.2579,"X47":0.2523,"X48":0.2534,"X49":0.2531,"X50":0.2692,"X51":0.2667,"X52":0.2496,"X53":0.2684,"X54":0.2706,"X55":0.2654,"X56":0.2693,"X57":0.2941,"X58":0.2822,"X59":0.2694,"X60":0.2627,"X61":0.2575,"X62":0.2504,"X63":0.2595,"X64":0.2892},{"X1":0.125,"X2":0.126,"X3":0.1278,"X4":0.129,"X5":0.1286,"X6":0.1294,"X7":0.1305,"X8":0.1326,"X9":0.1334,"X10":0.1183,"X11":0.1283,"X12":0.1378,"X13":0.1404,"X14":0.1409,"X15":0.1303,"X16":0.1395,"X17":0.1403,"X18":0.1377,"X19":0.1401,"X20":0.1439,"X21":0.1488,"X22":0.1505,"X23":0.1666,"X24":0.1664,"X25":0.1712,"X26":0.183,"X27":0.215,"X28":0.2143,"X29":0.2088,"X30":0.2144,"X31":0.2124,"X32":0.1876,"X33":0.1955,"X34":0.2209,"X35":0.2533,"X36":0.2476,"X37":0.223,"X38":0.2308,"X39":0.2233,"X40":0.202,"X41":0.1805,"X42":0.1856,"X43":0.2003,"X44":0.2014,"X45":0.2011,"X46":0.2128,"X47":0.2278,"X48":0.2244,"X49":0.2527,"X50":0.2516,"X51":0.2763,"X52":0.2868,"X53":0.2797,"X54":0.2592,"X55":0.2558,"X56":0.2705,"X57":0.2743,"X58":0.2766,"X59":0.2685,"X60":0.2843,"X61":0.2747,"X62":0.2698,"X63":0.2832,"X64":0.2942},{"X1":0.1262,"X2":0.1266,"X3":0.1267,"X4":0.1276,"X5":0.1289,"X6":0.1309,"X7":0.1315,"X8":0.1332,"X9":0.1336,"X10":0.1213,"X11":0.1218,"X12":0.1328,"X13":0.1393,"X14":0.1326,"X15":0.1334,"X16":0.1373,"X17":0.139,"X18":0.1422,"X19":0.1467,"X20":0.1507,"X21":0.1543,"X22":0.1631,"X23":0.1702,"X24":0.1716,"X25":0.1816,"X26":0.1984,"X27":0.2225,"X28":0.2408,"X29":0.2421,"X30":0.2341,"X31":0.2454,"X32":0.2285,"X33":0.1935,"X34":0.227,"X35":0.2531,"X36":0.2627,"X37":0.2588,"X38":0.2503,"X39":0.2178,"X40":0.2035,"X41":0.1979,"X42":0.1895,"X43":0.2128,"X44":0.2414,"X45":0.2344,"X46":0.2316,"X47":0.23,"X48":0.2224,"X49":0.2231,"X50":0.2456,"X51":0.2582,"X52":0.2845,"X53":0.269,"X54":0.2693,"X55":0.256,"X56":0.2435,"X57":0.2467,"X58":0.2573,"X59":0.2527,"X60":0.258,"X61":0.2563,"X62":0.2634,"X63":0.2856,"X64":0.3041},{"X1":0.1279,"X2":0.1277,"X3":0.1272,"X4":0.128,"X5":0.1299,"X6":0.1305,"X7":0.132,"X8":0.1325,"X9":0.1329,"X10":0.1284,"X11":0.1212,"X12":0.1211,"X13":0.1254,"X14":0.1286,"X15":0.1383,"X16":0.1409,"X17":0.1443,"X18":0.1474,"X19":0.153,"X20":0.1601,"X21":0.165,"X22":0.1705,"X23":0.1758,"X24":0.1822,"X25":0.1878,"X26":0.205,"X27":0.2188,"X28":0.2409,"X29":0.2677,"X30":0.2528,"X31":0.2581,"X32":0.249,"X33":0.2057,"X34":0.2205,"X35":0.2281,"X36":0.2563,"X37":0.2619,"X38":0.217,"X39":0.2151,"X40":0.2282,"X41":0.2447,"X42":0.2175,"X43":0.195,"X44":0.2474,"X45":0.2732,"X46":0.2546,"X47":0.2645,"X48":0.2494,"X49":0.2527,"X50":0.2401,"X51":0.2575,"X52":0.2707,"X53":0.2836,"X54":0.2757,"X55":0.2621,"X56":0.2502,"X57":0.2389,"X58":0.2352,"X59":0.2369,"X60":0.2354,"X61":0.2467,"X62":0.2567,"X63":0.2687,"X64":0.2709},{"X1":0.1279,"X2":0.1291,"X3":0.1289,"X4":0.1299,"X5":0.1302,"X6":0.1311,"X7":0.1333,"X8":0.1345,"X9":0.1362,"X10":0.1387,"X11":0.1354,"X12":0.1268,"X13":0.1373,"X14":0.1444,"X15":0.1478,"X16":0.1485,"X17":0.1562,"X18":0.1627,"X19":0.1651,"X20":0.1672,"X21":0.175,"X22":0.1773,"X23":0.1824,"X24":0.1994,"X25":0.2146,"X26":0.2017,"X27":0.2215,"X28":0.2357,"X29":0.251,"X30":0.2779,"X31":0.2592,"X32":0.2346,"X33":0.2162,"X34":0.2596,"X35":0.2661,"X36":0.2516,"X37":0.2362,"X38":0.2136,"X39":0.2634,"X40":0.2583,"X41":0.2327,"X42":0.2074,"X43":0.2007,"X44":0.2368,"X45":0.2743,"X46":0.2823,"X47":0.2754,"X48":0.2711,"X49":0.2758,"X50":0.2651,"X51":0.2502,"X52":0.2659,"X53":0.2771,"X54":0.2787,"X55":0.2701,"X56":0.2526,"X57":0.2583,"X58":0.2509,"X59":0.2453,"X60":0.2361,"X61":0.2261,"X62":0.2327,"X63":0.2433,"X64":0.2457},{"X1":0.1287,"X2":0.1289,"X3":0.1295,"X4":0.1306,"X5":0.1308,"X6":0.1331,"X7":0.138,"X8":0.141,"X9":0.1403,"X10":0.1407,"X11":0.1363,"X12":0.133,"X13":0.1457,"X14":0.162,"X15":0.1704,"X16":0.1614,"X17":0.1657,"X18":0.1747,"X19":0.1741,"X20":0.1755,"X21":0.1861,"X22":0.1878,"X23":0.1913,"X24":0.2226,"X25":0.2472,"X26":0.2323,"X27":0.2468,"X28":0.2539,"X29":0.2838,"X30":0.2816,"X31":0.2727,"X32":0.2533,"X33":0.2312,"X34":0.2619,"X35":0.2556,"X36":0.2316,"X37":0.2065,"X38":0.2233,"X39":0.2562,"X40":0.2556,"X41":0.2207,"X42":0.2539,"X43":0.2404,"X44":0.2214,"X45":0.2709,"X46":0.2855,"X47":0.2983,"X48":0.2999,"X49":0.2751,"X50":0.2948,"X51":0.2626,"X52":0.2791,"X53":0.2951,"X54":0.2808,"X55":0.2722,"X56":0.2727,"X57":0.2826,"X58":0.2707,"X59":0.2561,"X60":0.2452,"X61":0.2394,"X62":0.2256,"X63":0.2229,"X64":0.2325},{"X1":0.129,"X2":0.1296,"X3":0.1298,"X4":0.1304,"X5":0.1322,"X6":0.1391,"X7":0.1424,"X8":0.1388,"X9":0.1384,"X10":0.1384,"X11":0.1345,"X12":0.134,"X13":0.1424,"X14":0.1544,"X15":0.1607,"X16":0.1748,"X17":0.1761,"X18":0.1748,"X19":0.1802,"X20":0.1704,"X21":0.1846,"X22":0.1965,"X23":0.2055,"X24":0.2219,"X25":0.2558,"X26":0.2652,"X27":0.2678,"X28":0.288,"X29":0.2784,"X30":0.261,"X31":0.2909,"X32":0.2762,"X33":0.2739,"X34":0.2726,"X35":0.2516,"X36":0.2599,"X37":0.2102,"X38":0.2467,"X39":0.2785,"X40":0.2567,"X41":0.2336,"X42":0.2733,"X43":0.2721,"X44":0.2176,"X45":0.2154,"X46":0.2468,"X47":0.2861,"X48":0.3041,"X49":0.3089,"X50":0.2881,"X51":0.2873,"X52":0.306,"X53":0.3009,"X54":0.3025,"X55":0.3043,"X56":0.2979,"X57":0.2793,"X58":0.2716,"X59":0.2597,"X60":0.252,"X61":0.2455,"X62":0.236,"X63":0.2289,"X64":0.2189},{"X1":0.1286,"X2":0.1295,"X3":0.1317,"X4":0.1353,"X5":0.1385,"X6":0.1371,"X7":0.137,"X8":0.1378,"X9":0.1377,"X10":0.1379,"X11":0.1364,"X12":0.1347,"X13":0.1438,"X14":0.1557,"X15":0.1675,"X16":0.1854,"X17":0.1904,"X18":0.1869,"X19":0.182,"X20":0.1888,"X21":0.1778,"X22":0.1733,"X23":0.1911,"X24":0.21,"X25":0.2373,"X26":0.2365,"X27":0.2269,"X28":0.2302,"X29":0.2266,"X30":0.2529,"X31":0.2549,"X32":0.2684,"X33":0.2617,"X34":0.2753,"X35":0.2761,"X36":0.2716,"X37":0.2238,"X38":0.2776,"X39":0.2987,"X40":0.2778,"X41":0.249,"X42":0.2628,"X43":0.284,"X44":0.2704,"X45":0.2426,"X46":0.2188,"X47":0.2592,"X48":0.3004,"X49":0.3115,"X50":0.2896,"X51":0.3004,"X52":0.3169,"X53":0.2969,"X54":0.2848,"X55":0.2804,"X56":0.2842,"X57":0.2969,"X58":0.3133,"X59":0.2895,"X60":0.2734,"X61":0.2544,"X62":0.2456,"X63":0.2407,"X64":0.2343},{"X1":0.133,"X2":0.1332,"X3":0.1338,"X4":0.1361,"X5":0.1363,"X6":0.1354,"X7":0.1357,"X8":0.1367,"X9":0.1373,"X10":0.1383,"X11":0.137,"X12":0.143,"X13":0.1596,"X14":0.1635,"X15":0.1747,"X16":0.1875,"X17":0.1994,"X18":0.2001,"X19":0.1927,"X20":0.1938,"X21":0.2026,"X22":0.2063,"X23":0.1996,"X24":0.1896,"X25":0.2012,"X26":0.2357,"X27":0.2418,"X28":0.2324,"X29":0.225,"X30":0.213,"X31":0.2576,"X32":0.2861,"X33":0.2784,"X34":0.268,"X35":0.2801,"X36":0.2577,"X37":0.2442,"X38":0.2936,"X39":0.2997,"X40":0.2704,"X41":0.2602,"X42":0.2874,"X43":0.3081,"X44":0.297,"X45":0.2356,"X46":0.2427,"X47":0.2574,"X48":0.2896,"X49":0.3146,"X50":0.3204,"X51":0.3112,"X52":0.3019,"X53":0.2922,"X54":0.2863,"X55":0.3164,"X56":0.3207,"X57":0.2937,"X58":0.301,"X59":0.2994,"X60":0.2949,"X61":0.2844,"X62":0.2675,"X63":0.2521,"X64":0.2404},{"X1":0.1329,"X2":0.1337,"X3":0.1326,"X4":0.134,"X5":0.135,"X6":0.1361,"X7":0.1377,"X8":0.1385,"X9":0.1383,"X10":0.1381,"X11":0.1461,"X12":0.165,"X13":0.1748,"X14":0.1753,"X15":0.1727,"X16":0.1753,"X17":0.1776,"X18":0.189,"X19":0.1958,"X20":0.1979,"X21":0.2021,"X22":0.2172,"X23":0.2228,"X24":0.2416,"X25":0.2525,"X26":0.2526,"X27":0.2806,"X28":0.2923,"X29":0.278,"X30":0.2506,"X31":0.2346,"X32":0.2411,"X33":0.2852,"X34":0.3039,"X35":0.2906,"X36":0.2585,"X37":0.2685,"X38":0.3058,"X39":0.2952,"X40":0.2723,"X41":0.3064,"X42":0.3082,"X43":0.3187,"X44":0.2979,"X45":0.2447,"X46":0.2568,"X47":0.2923,"X48":0.2802,"X49":0.3211,"X50":0.326,"X51":0.3128,"X52":0.307,"X53":0.3035,"X54":0.3148,"X55":0.3135,"X56":0.3079,"X57":0.2772,"X58":0.2465,"X59":0.2497,"X60":0.2497,"X61":0.2513,"X62":0.2496,"X63":0.2366,"X64":0.2202},{"X1":0.1319,"X2":0.1324,"X3":0.1327,"X4":0.1339,"X5":0.1362,"X6":0.1372,"X7":0.1373,"X8":0.1381,"X9":0.1399,"X10":0.1411,"X11":0.1561,"X12":0.1662,"X13":0.1696,"X14":0.1704,"X15":0.1747,"X16":0.1808,"X17":0.1907,"X18":0.1751,"X19":0.1769,"X20":0.1963,"X21":0.206,"X22":0.2143,"X23":0.2236,"X24":0.2462,"X25":0.2633,"X26":0.2646,"X27":0.2692,"X28":0.2807,"X29":0.295,"X30":0.3063,"X31":0.2961,"X32":0.2618,"X33":0.2959,"X34":0.3254,"X35":0.3247,"X36":0.3014,"X37":0.2655,"X38":0.3092,"X39":0.3068,"X40":0.2958,"X41":0.3178,"X42":0.3362,"X43":0.3124,"X44":0.2925,"X45":0.2542,"X46":0.2481,"X47":0.3238,"X48":0.3,"X49":0.2983,"X50":0.3328,"X51":0.3162,"X52":0.2931,"X53":0.2879,"X54":0.2808,"X55":0.2732,"X56":0.251,"X57":0.2407,"X58":0.2628,"X59":0.2986,"X60":0.2862,"X61":0.2828,"X62":0.2542,"X63":0.2261,"X64":0.2527},{"X1":0.1331,"X2":0.1341,"X3":0.1345,"X4":0.1351,"X5":0.1364,"X6":0.1371,"X7":0.1388,"X8":0.1416,"X9":0.1404,"X10":0.149,"X11":0.1629,"X12":0.1699,"X13":0.1775,"X14":0.1758,"X15":0.1811,"X16":0.1976,"X17":0.1921,"X18":0.195,"X19":0.1724,"X20":0.1806,"X21":0.1983,"X22":0.2067,"X23":0.2034,"X24":0.2075,"X25":0.2149,"X26":0.239,"X27":0.2534,"X28":0.2688,"X29":0.2927,"X30":0.3201,"X31":0.3174,"X32":0.3185,"X33":0.3032,"X34":0.3339,"X35":0.3177,"X36":0.2896,"X37":0.3286,"X38":0.3374,"X39":0.3431,"X40":0.329,"X41":0.328,"X42":0.3286,"X43":0.3078,"X44":0.2945,"X45":0.2373,"X46":0.2703,"X47":0.3332,"X48":0.3002,"X49":0.3129,"X50":0.3174,"X51":0.3016,"X52":0.2987,"X53":0.2932,"X54":0.2504,"X55":0.2569,"X56":0.2641,"X57":0.2916,"X58":0.303,"X59":0.2914,"X60":0.2629,"X61":0.2456,"X62":0.2327,"X63":0.2476,"X64":0.2776},{"X1":0.1353,"X2":0.1355,"X3":0.1351,"X4":0.1364,"X5":0.1379,"X6":0.1377,"X7":0.1391,"X8":0.1387,"X9":0.1478,"X10":0.1715,"X11":0.1796,"X12":0.1722,"X13":0.186,"X14":0.1878,"X15":0.1936,"X16":0.2109,"X17":0.2129,"X18":0.1995,"X19":0.1815,"X20":0.1783,"X21":0.1808,"X22":0.1908,"X23":0.2145,"X24":0.2336,"X25":0.2454,"X26":0.2416,"X27":0.2315,"X28":0.2408,"X29":0.2718,"X30":0.301,"X31":0.3513,"X32":0.372,"X33":0.3432,"X34":0.3372,"X35":0.3211,"X36":0.3365,"X37":0.3527,"X38":0.3424,"X39":0.32,"X40":0.2999,"X41":0.301,"X42":0.2999,"X43":0.2772,"X44":0.2464,"X45":0.2475,"X46":0.309,"X47":0.3311,"X48":0.32,"X49":0.299,"X50":0.2824,"X51":0.2582,"X52":0.254,"X53":0.2662,"X54":0.294,"X55":0.2888,"X56":0.3096,"X57":0.3079,"X58":0.2826,"X59":0.2539,"X60":0.2317,"X61":0.2561,"X62":0.2758,"X63":0.2726,"X64":0.3029},{"X1":0.1361,"X2":0.1378,"X3":0.1363,"X4":0.1371,"X5":0.1401,"X6":0.1405,"X7":0.1394,"X8":0.138,"X9":0.1486,"X10":0.1654,"X11":0.1681,"X12":0.1666,"X13":0.1798,"X14":0.1848,"X15":0.2068,"X16":0.2177,"X17":0.2237,"X18":0.2352,"X19":0.2234,"X20":0.1887,"X21":0.1878,"X22":0.1846,"X23":0.2062,"X24":0.236,"X25":0.2503,"X26":0.2655,"X27":0.2848,"X28":0.258,"X29":0.2879,"X30":0.335,"X31":0.3601,"X32":0.4044,"X33":0.4168,"X34":0.4027,"X35":0.39,"X36":0.3745,"X37":0.3407,"X38":0.3088,"X39":0.3258,"X40":0.3348,"X41":0.2897,"X42":0.2699,"X43":0.2772,"X44":0.2937,"X45":0.2705,"X46":0.3099,"X47":0.3044,"X48":0.2879,"X49":0.2741,"X50":0.2639,"X51":0.254,"X52":0.2923,"X53":0.3245,"X54":0.3279,"X55":0.3039,"X56":0.3115,"X57":0.278,"X58":0.2389,"X59":0.2329,"X60":0.2489,"X61":0.2847,"X62":0.314,"X63":0.3125,"X64":0.3029},{"X1":0.136,"X2":0.1347,"X3":0.1377,"X4":0.1357,"X5":0.1357,"X6":0.1397,"X7":0.1402,"X8":0.1429,"X9":0.1448,"X10":0.1574,"X11":0.1591,"X12":0.165,"X13":0.1756,"X14":0.1891,"X15":0.2105,"X16":0.2207,"X17":0.2037,"X18":0.2131,"X19":0.2189,"X20":0.2092,"X21":0.2282,"X22":0.2274,"X23":0.2047,"X24":0.2066,"X25":0.2279,"X26":0.2569,"X27":0.2851,"X28":0.3085,"X29":0.3163,"X30":0.3327,"X31":0.3932,"X32":0.4719,"X33":0.5454,"X34":0.5302,"X35":0.4772,"X36":0.4208,"X37":0.3725,"X38":0.3415,"X39":0.3338,"X40":0.3124,"X41":0.3026,"X42":0.3157,"X43":0.3115,"X44":0.3056,"X45":0.2854,"X46":0.2982,"X47":0.3098,"X48":0.3111,"X49":0.309,"X50":0.2582,"X51":0.2986,"X52":0.3097,"X53":0.329,"X54":0.314,"X55":0.3125,"X56":0.2993,"X57":0.2459,"X58":0.2384,"X59":0.2887,"X60":0.3105,"X61":0.3185,"X62":0.315,"X63":0.3186,"X64":0.3046},{"X1":0.1345,"X2":0.1372,"X3":0.1384,"X4":0.1376,"X5":0.1382,"X6":0.1449,"X7":0.1547,"X8":0.1552,"X9":0.1603,"X10":0.1628,"X11":0.165,"X12":0.1727,"X13":0.1695,"X14":0.1749,"X15":0.1836,"X16":0.1925,"X17":0.1947,"X18":0.2088,"X19":0.2084,"X20":0.2231,"X21":0.2546,"X22":0.2526,"X23":0.2328,"X24":0.2489,"X25":0.2389,"X26":0.2398,"X27":0.245,"X28":0.2736,"X29":0.3017,"X30":0.36,"X31":0.4009,"X32":0.4544,"X33":0.5311,"X34":0.5843,"X35":0.5247,"X36":0.4584,"X37":0.4318,"X38":0.4048,"X39":0.3617,"X40":0.3313,"X41":0.3388,"X42":0.3316,"X43":0.2886,"X44":0.2794,"X45":0.2537,"X46":0.2671,"X47":0.3028,"X48":0.31,"X49":0.288,"X50":0.2754,"X51":0.3086,"X52":0.293,"X53":0.2712,"X54":0.2503,"X55":0.2451,"X56":0.2377,"X57":0.2331,"X58":0.2587,"X59":0.3277,"X60":0.3295,"X61":0.3084,"X62":0.2851,"X63":0.2786,"X64":0.2891},{"X1":0.1498,"X2":0.1434,"X3":0.1513,"X4":0.1585,"X5":0.1515,"X6":0.1548,"X7":0.1722,"X8":0.1701,"X9":0.1627,"X10":0.1658,"X11":0.1702,"X12":0.1801,"X13":0.1915,"X14":0.1896,"X15":0.183,"X16":0.1899,"X17":0.2041,"X18":0.2219,"X19":0.2163,"X20":0.2271,"X21":0.2606,"X22":0.2598,"X23":0.2486,"X24":0.2612,"X25":0.2729,"X26":0.231,"X27":0.2672,"X28":0.2935,"X29":0.3185,"X30":0.3316,"X31":0.3632,"X32":0.4075,"X33":0.4418,"X34":0.4589,"X35":0.4339,"X36":0.4158,"X37":0.3672,"X38":0.3646,"X39":0.3473,"X40":0.3077,"X41":0.2804,"X42":0.2716,"X43":0.2923,"X44":0.2726,"X45":0.2384,"X46":0.2602,"X47":0.279,"X48":0.3061,"X49":0.294,"X50":0.2901,"X51":0.2802,"X52":0.2681,"X53":0.2485,"X54":0.2526,"X55":0.2666,"X56":0.2559,"X57":0.2415,"X58":0.3066,"X59":0.3349,"X60":0.3112,"X61":0.3142,"X62":0.3342,"X63":0.3127,"X64":0.285},{"X1":0.1584,"X2":0.1663,"X3":0.1689,"X4":0.174,"X5":0.1702,"X6":0.163,"X7":0.16,"X8":0.1622,"X9":0.1644,"X10":0.1728,"X11":0.1841,"X12":0.1884,"X13":0.2023,"X14":0.2001,"X15":0.1845,"X16":0.1923,"X17":0.1917,"X18":0.2083,"X19":0.2288,"X20":0.2334,"X21":0.2403,"X22":0.2602,"X23":0.2536,"X24":0.2698,"X25":0.2672,"X26":0.2589,"X27":0.2601,"X28":0.2657,"X29":0.2755,"X30":0.2934,"X31":0.3263,"X32":0.3381,"X33":0.3399,"X34":0.3563,"X35":0.3422,"X36":0.3581,"X37":0.3401,"X38":0.3073,"X39":0.2944,"X40":0.304,"X41":0.2952,"X42":0.2679,"X43":0.2395,"X44":0.2194,"X45":0.2599,"X46":0.2849,"X47":0.2889,"X48":0.2847,"X49":0.3091,"X50":0.3098,"X51":0.3005,"X52":0.2885,"X53":0.2453,"X54":0.2917,"X55":0.3025,"X56":0.2685,"X57":0.2568,"X58":0.3174,"X59":0.3428,"X60":0.3312,"X61":0.3301,"X62":0.3059,"X63":0.2865,"X64":0.2712},{"X1":0.1537,"X2":0.153,"X3":0.159,"X4":0.1641,"X5":0.1654,"X6":0.1592,"X7":0.1567,"X8":0.1611,"X9":0.165,"X10":0.1721,"X11":0.1884,"X12":0.1959,"X13":0.2096,"X14":0.2167,"X15":0.209,"X16":0.1891,"X17":0.1955,"X18":0.2071,"X19":0.222,"X20":0.2338,"X21":0.2467,"X22":0.2611,"X23":0.2625,"X24":0.2652,"X25":0.2813,"X26":0.277,"X27":0.2684,"X28":0.2336,"X29":0.2844,"X30":0.3009,"X31":0.2875,"X32":0.2698,"X33":0.2836,"X34":0.2882,"X35":0.3008,"X36":0.3097,"X37":0.3034,"X38":0.2954,"X39":0.2718,"X40":0.2528,"X41":0.2638,"X42":0.2915,"X43":0.2729,"X44":0.2201,"X45":0.226,"X46":0.2527,"X47":0.2496,"X48":0.2608,"X49":0.2967,"X50":0.3052,"X51":0.2891,"X52":0.2635,"X53":0.2543,"X54":0.3013,"X55":0.2778,"X56":0.2773,"X57":0.2819,"X58":0.3292,"X59":0.3446,"X60":0.3443,"X61":0.3167,"X62":0.297,"X63":0.2649,"X64":0.247},{"X1":0.1601,"X2":0.1615,"X3":0.1628,"X4":0.1698,"X5":0.1738,"X6":0.1755,"X7":0.187,"X8":0.1657,"X9":0.1607,"X10":0.1659,"X11":0.1613,"X12":0.1679,"X13":0.1683,"X14":0.173,"X15":0.1927,"X16":0.1894,"X17":0.1788,"X18":0.1813,"X19":0.1921,"X20":0.2055,"X21":0.2207,"X22":0.2308,"X23":0.2273,"X24":0.2292,"X25":0.2573,"X26":0.2572,"X27":0.2921,"X28":0.2256,"X29":0.2631,"X30":0.2564,"X31":0.2428,"X32":0.2448,"X33":0.2555,"X34":0.2665,"X35":0.2889,"X36":0.2942,"X37":0.2703,"X38":0.2677,"X39":0.265,"X40":0.2377,"X41":0.243,"X42":0.2737,"X43":0.2644,"X44":0.2148,"X45":0.22,"X46":0.271,"X47":0.2845,"X48":0.2818,"X49":0.2796,"X50":0.2917,"X51":0.2786,"X52":0.2728,"X53":0.2841,"X54":0.2981,"X55":0.2627,"X56":0.3074,"X57":0.3023,"X58":0.327,"X59":0.3436,"X60":0.3078,"X61":0.3003,"X62":0.2944,"X63":0.2739,"X64":0.2502},{"X1":0.1886,"X2":0.1788,"X3":0.167,"X4":0.1832,"X5":0.1948,"X6":0.1843,"X7":0.1944,"X8":0.2124,"X9":0.1718,"X10":0.1671,"X11":0.1718,"X12":0.1585,"X13":0.1743,"X14":0.171,"X15":0.1658,"X16":0.1707,"X17":0.1749,"X18":0.1753,"X19":0.1691,"X20":0.1706,"X21":0.1728,"X22":0.1755,"X23":0.1773,"X24":0.18,"X25":0.1887,"X26":0.207,"X27":0.2167,"X28":0.2208,"X29":0.2307,"X30":0.2213,"X31":0.2251,"X32":0.2369,"X33":0.2932,"X34":0.303,"X35":0.2911,"X36":0.3003,"X37":0.3206,"X38":0.3001,"X39":0.2646,"X40":0.2187,"X41":0.2136,"X42":0.252,"X43":0.2607,"X44":0.1992,"X45":0.2291,"X46":0.2613,"X47":0.2591,"X48":0.2504,"X49":0.2662,"X50":0.2836,"X51":0.2806,"X52":0.291,"X53":0.2991,"X54":0.2834,"X55":0.2762,"X56":0.3067,"X57":0.3005,"X58":0.3048,"X59":0.3063,"X60":0.324,"X61":0.3026,"X62":0.2853,"X63":0.2627,"X64":0.2659},{"X1":0.2074,"X2":0.2018,"X3":0.1825,"X4":0.2065,"X5":0.2064,"X6":0.1874,"X7":0.2066,"X8":0.2213,"X9":0.2104,"X10":0.1661,"X11":0.1657,"X12":0.1747,"X13":0.1719,"X14":0.1682,"X15":0.1772,"X16":0.1956,"X17":0.2045,"X18":0.2151,"X19":0.1881,"X20":0.1856,"X21":0.1759,"X22":0.1863,"X23":0.1985,"X24":0.2037,"X25":0.2008,"X26":0.19,"X27":0.1937,"X28":0.1942,"X29":0.1996,"X30":0.2049,"X31":0.2139,"X32":0.2521,"X33":0.2756,"X34":0.2679,"X35":0.2786,"X36":0.2506,"X37":0.2986,"X38":0.2905,"X39":0.2684,"X40":0.235,"X41":0.2006,"X42":0.2369,"X43":0.2231,"X44":0.2065,"X45":0.2614,"X46":0.255,"X47":0.2422,"X48":0.267,"X49":0.2894,"X50":0.2813,"X51":0.2866,"X52":0.2838,"X53":0.2925,"X54":0.297,"X55":0.2968,"X56":0.2966,"X57":0.3034,"X58":0.297,"X59":0.2714,"X60":0.2739,"X61":0.2703,"X62":0.2749,"X63":0.3012,"X64":0.2908},{"X1":0.1989,"X2":0.1886,"X3":0.2003,"X4":0.229,"X5":0.2169,"X6":0.1945,"X7":0.1988,"X8":0.2285,"X9":0.2076,"X10":0.1871,"X11":0.177,"X12":0.1665,"X13":0.1689,"X14":0.1653,"X15":0.1846,"X16":0.1895,"X17":0.2098,"X18":0.2112,"X19":0.2425,"X20":0.2299,"X21":0.2269,"X22":0.2083,"X23":0.2339,"X24":0.2685,"X25":0.2596,"X26":0.2437,"X27":0.2315,"X28":0.2189,"X29":0.2136,"X30":0.2254,"X31":0.2149,"X32":0.2549,"X33":0.2845,"X34":0.2531,"X35":0.2436,"X36":0.2294,"X37":0.2693,"X38":0.3003,"X39":0.306,"X40":0.2647,"X41":0.1948,"X42":0.2204,"X43":0.1974,"X44":0.1955,"X45":0.218,"X46":0.2202,"X47":0.2322,"X48":0.2436,"X49":0.2526,"X50":0.258,"X51":0.2684,"X52":0.2833,"X53":0.2926,"X54":0.3044,"X55":0.3043,"X56":0.2883,"X57":0.2885,"X58":0.3047,"X59":0.2932,"X60":0.2885,"X61":0.3228,"X62":0.3091,"X63":0.3216,"X64":0.3083},{"X1":0.2112,"X2":0.2186,"X3":0.2291,"X4":0.224,"X5":0.2028,"X6":0.2108,"X7":0.2111,"X8":0.2294,"X9":0.22,"X10":0.2215,"X11":0.2104,"X12":0.1775,"X13":0.1872,"X14":0.1951,"X15":0.1968,"X16":0.2261,"X17":0.2148,"X18":0.206,"X19":0.2307,"X20":0.2555,"X21":0.2513,"X22":0.2384,"X23":0.2236,"X24":0.2236,"X25":0.257,"X26":0.2695,"X27":0.2673,"X28":0.257,"X29":0.236,"X30":0.2369,"X31":0.2312,"X32":0.2151,"X33":0.2434,"X34":0.2294,"X35":0.2615,"X36":0.2553,"X37":0.2204,"X38":0.263,"X39":0.2927,"X40":0.2454,"X41":0.1825,"X42":0.2015,"X43":0.1775,"X44":0.1858,"X45":0.2191,"X46":0.2436,"X47":0.2439,"X48":0.25,"X49":0.2642,"X50":0.2835,"X51":0.2994,"X52":0.2986,"X53":0.3005,"X54":0.2914,"X55":0.2877,"X56":0.2804,"X57":0.2696,"X58":0.3048,"X59":0.3135,"X60":0.3097,"X61":0.3142,"X62":0.295,"X63":0.2977,"X64":0.2734},{"X1":0.2054,"X2":0.2118,"X3":0.2321,"X4":0.2159,"X5":0.2204,"X6":0.2326,"X7":0.2363,"X8":0.2301,"X9":0.2287,"X10":0.2295,"X11":0.211,"X12":0.1782,"X13":0.1961,"X14":0.2149,"X15":0.2101,"X16":0.1989,"X17":0.2141,"X18":0.2283,"X19":0.2177,"X20":0.224,"X21":0.2412,"X22":0.2479,"X23":0.2445,"X24":0.2333,"X25":0.2532,"X26":0.2551,"X27":0.2606,"X28":0.2574,"X29":0.2384,"X30":0.2556,"X31":0.2395,"X32":0.2564,"X33":0.2409,"X34":0.2235,"X35":0.2172,"X36":0.2419,"X37":0.2494,"X38":0.2214,"X39":0.2721,"X40":0.2225,"X41":0.1733,"X42":0.1694,"X43":0.1727,"X44":0.2246,"X45":0.2184,"X46":0.2204,"X47":0.2256,"X48":0.2513,"X49":0.275,"X50":0.264,"X51":0.2923,"X52":0.2962,"X53":0.2798,"X54":0.2858,"X55":0.2976,"X56":0.2813,"X57":0.2674,"X58":0.2654,"X59":0.2933,"X60":0.3003,"X61":0.2998,"X62":0.2867,"X63":0.2729,"X64":0.2531},{"X1":0.1912,"X2":0.2101,"X3":0.2387,"X4":0.2323,"X5":0.2401,"X6":0.2296,"X7":0.2095,"X8":0.1947,"X9":0.1941,"X10":0.2198,"X11":0.193,"X12":0.1774,"X13":0.2193,"X14":0.2486,"X15":0.2279,"X16":0.2131,"X17":0.2056,"X18":0.2329,"X19":0.2375,"X20":0.2439,"X21":0.2205,"X22":0.2442,"X23":0.2677,"X24":0.2384,"X25":0.2317,"X26":0.2553,"X27":0.265,"X28":0.2669,"X29":0.2524,"X30":0.2603,"X31":0.2567,"X32":0.2629,"X33":0.2615,"X34":0.2564,"X35":0.2521,"X36":0.1986,"X37":0.2339,"X38":0.1936,"X39":0.1899,"X40":0.1664,"X41":0.1568,"X42":0.1694,"X43":0.2073,"X44":0.2471,"X45":0.2664,"X46":0.253,"X47":0.2487,"X48":0.2439,"X49":0.2541,"X50":0.289,"X51":0.2978,"X52":0.2932,"X53":0.2777,"X54":0.2656,"X55":0.2595,"X56":0.2608,"X57":0.245,"X58":0.2408,"X59":0.2317,"X60":0.2353,"X61":0.2493,"X62":0.2591,"X63":0.2475,"X64":0.2388},{"X1":0.2026,"X2":0.1875,"X3":0.207,"X4":0.2085,"X5":0.2251,"X6":0.2276,"X7":0.2012,"X8":0.1888,"X9":0.1773,"X10":0.1976,"X11":0.1771,"X12":0.2071,"X13":0.2446,"X14":0.229,"X15":0.2234,"X16":0.2419,"X17":0.2305,"X18":0.2154,"X19":0.2228,"X20":0.2332,"X21":0.2179,"X22":0.242,"X23":0.2434,"X24":0.2157,"X25":0.2259,"X26":0.2419,"X27":0.2566,"X28":0.2579,"X29":0.2242,"X30":0.2264,"X31":0.2448,"X32":0.2441,"X33":0.2445,"X34":0.2242,"X35":0.2274,"X36":0.1978,"X37":0.1722,"X38":0.1615,"X39":0.1526,"X40":0.1577,"X41":0.1729,"X42":0.1969,"X43":0.2257,"X44":0.2377,"X45":0.2541,"X46":0.2845,"X47":0.2727,"X48":0.2804,"X49":0.2397,"X50":0.2546,"X51":0.2798,"X52":0.2795,"X53":0.2953,"X54":0.2938,"X55":0.2896,"X56":0.2876,"X57":0.2538,"X58":0.2244,"X59":0.2246,"X60":0.2271,"X61":0.2322,"X62":0.2333,"X63":0.2318,"X64":0.2259},{"X1":0.2116,"X2":0.196,"X3":0.1704,"X4":0.2096,"X5":0.226,"X6":0.1972,"X7":0.1956,"X8":0.1879,"X9":0.1734,"X10":0.1604,"X11":0.1757,"X12":0.2082,"X13":0.2244,"X14":0.2025,"X15":0.2042,"X16":0.2173,"X17":0.2383,"X18":0.2393,"X19":0.221,"X20":0.2261,"X21":0.2194,"X22":0.2306,"X23":0.2365,"X24":0.2145,"X25":0.2131,"X26":0.2199,"X27":0.2201,"X28":0.2095,"X29":0.2271,"X30":0.2554,"X31":0.2572,"X32":0.2484,"X33":0.2465,"X34":0.2337,"X35":0.1992,"X36":0.1834,"X37":0.1619,"X38":0.1506,"X39":0.1544,"X40":0.1812,"X41":0.2165,"X42":0.2196,"X43":0.2258,"X44":0.2485,"X45":0.2755,"X46":0.2828,"X47":0.3094,"X48":0.2742,"X49":0.2546,"X50":0.2383,"X51":0.2953,"X52":0.3217,"X53":0.3011,"X54":0.2897,"X55":0.2705,"X56":0.2357,"X57":0.2602,"X58":0.2734,"X59":0.2723,"X60":0.2717,"X61":0.2623,"X62":0.2527,"X63":0.2505,"X64":0.245},{"X1":0.1654,"X2":0.1973,"X3":0.1684,"X4":0.1523,"X5":0.1825,"X6":0.2028,"X7":0.1829,"X8":0.1757,"X9":0.1681,"X10":0.1558,"X11":0.1707,"X12":0.183,"X13":0.1816,"X14":0.2003,"X15":0.222,"X16":0.2353,"X17":0.2338,"X18":0.2489,"X19":0.2366,"X20":0.2467,"X21":0.2398,"X22":0.2382,"X23":0.2222,"X24":0.215,"X25":0.1946,"X26":0.1826,"X27":0.2094,"X28":0.2478,"X29":0.2571,"X30":0.2682,"X31":0.2546,"X32":0.2582,"X33":0.2368,"X34":0.2161,"X35":0.1855,"X36":0.1728,"X37":0.1531,"X38":0.1499,"X39":0.1651,"X40":0.1975,"X41":0.2467,"X42":0.2585,"X43":0.2293,"X44":0.2212,"X45":0.2633,"X46":0.2826,"X47":0.3178,"X48":0.2905,"X49":0.2709,"X50":0.2473,"X51":0.2853,"X52":0.3268,"X53":0.3172,"X54":0.2872,"X55":0.2363,"X56":0.2854,"X57":0.3135,"X58":0.298,"X59":0.2892,"X60":0.2804,"X61":0.2498,"X62":0.2552,"X63":0.2919,"X64":0.2746},{"X1":0.1597,"X2":0.153,"X3":0.1771,"X4":0.2017,"X5":0.1714,"X6":0.1605,"X7":0.1744,"X8":0.1559,"X9":0.1587,"X10":0.1745,"X11":0.1824,"X12":0.1871,"X13":0.1863,"X14":0.1945,"X15":0.2243,"X16":0.2481,"X17":0.23,"X18":0.2216,"X19":0.2027,"X20":0.2211,"X21":0.2553,"X22":0.2531,"X23":0.2524,"X24":0.2525,"X25":0.2285,"X26":0.1852,"X27":0.2186,"X28":0.2514,"X29":0.2691,"X30":0.2468,"X31":0.2295,"X32":0.2635,"X33":0.2451,"X34":0.2219,"X35":0.1807,"X36":0.1637,"X37":0.155,"X38":0.1723,"X39":0.1991,"X40":0.2235,"X41":0.2363,"X42":0.2544,"X43":0.2734,"X44":0.2524,"X45":0.2342,"X46":0.2509,"X47":0.2924,"X48":0.318,"X49":0.2847,"X50":0.2558,"X51":0.285,"X52":0.2952,"X53":0.2864,"X54":0.2454,"X55":0.2547,"X56":0.3138,"X57":0.3257,"X58":0.3092,"X59":0.2859,"X60":0.2523,"X61":0.2666,"X62":0.2979,"X63":0.311,"X64":0.3066},{"X1":0.1786,"X2":0.1807,"X3":0.1762,"X4":0.1815,"X5":0.1812,"X6":0.162,"X7":0.1654,"X8":0.1576,"X9":0.1525,"X10":0.1729,"X11":0.2018,"X12":0.2239,"X13":0.2147,"X14":0.1973,"X15":0.1955,"X16":0.1979,"X17":0.1877,"X18":0.1752,"X19":0.1669,"X20":0.2003,"X21":0.218,"X22":0.2002,"X23":0.1872,"X24":0.1906,"X25":0.1926,"X26":0.1749,"X27":0.1819,"X28":0.2116,"X29":0.2451,"X30":0.2359,"X31":0.2045,"X32":0.2031,"X33":0.1814,"X34":0.1552,"X35":0.1561,"X36":0.183,"X37":0.2093,"X38":0.2116,"X39":0.2188,"X40":0.2104,"X41":0.2167,"X42":0.2442,"X43":0.2482,"X44":0.262,"X45":0.288,"X46":0.2866,"X47":0.2886,"X48":0.2709,"X49":0.3054,"X50":0.2942,"X51":0.2861,"X52":0.2788,"X53":0.2416,"X54":0.2458,"X55":0.2915,"X56":0.3237,"X57":0.3077,"X58":0.292,"X59":0.274,"X60":0.2477,"X61":0.285,"X62":0.3247,"X63":0.3293,"X64":0.3296},{"X1":0.146,"X2":0.1539,"X3":0.1471,"X4":0.1601,"X5":0.1706,"X6":0.1874,"X7":0.1888,"X8":0.2022,"X9":0.1767,"X10":0.1511,"X11":0.169,"X12":0.1949,"X13":0.1845,"X14":0.164,"X15":0.1557,"X16":0.1521,"X17":0.1601,"X18":0.1703,"X19":0.173,"X20":0.1599,"X21":0.1517,"X22":0.151,"X23":0.1505,"X24":0.1482,"X25":0.1481,"X26":0.1457,"X27":0.1449,"X28":0.1455,"X29":0.1538,"X30":0.1602,"X31":0.1539,"X32":0.1489,"X33":0.1494,"X34":0.1814,"X35":0.222,"X36":0.2509,"X37":0.2558,"X38":0.2551,"X39":0.2381,"X40":0.2818,"X41":0.2163,"X42":0.2417,"X43":0.2713,"X44":0.2886,"X45":0.2888,"X46":0.2969,"X47":0.3372,"X48":0.3201,"X49":0.3157,"X50":0.334,"X51":0.3027,"X52":0.2813,"X53":0.2729,"X54":0.297,"X55":0.3401,"X56":0.3284,"X57":0.3084,"X58":0.2967,"X59":0.2629,"X60":0.2728,"X61":0.3151,"X62":0.3267,"X63":0.3091,"X64":0.2937},{"X1":0.1448,"X2":0.1413,"X3":0.1463,"X4":0.1454,"X5":0.1601,"X6":0.1747,"X7":0.1766,"X8":0.1801,"X9":0.187,"X10":0.1819,"X11":0.162,"X12":0.1583,"X13":0.1482,"X14":0.1444,"X15":0.158,"X16":0.1685,"X17":0.17,"X18":0.1566,"X19":0.1494,"X20":0.1459,"X21":0.1455,"X22":0.1454,"X23":0.1442,"X24":0.1447,"X25":0.1492,"X26":0.1552,"X27":0.1598,"X28":0.1643,"X29":0.1643,"X30":0.1639,"X31":0.1718,"X32":0.1766,"X33":0.2137,"X34":0.2397,"X35":0.2646,"X36":0.28,"X37":0.2664,"X38":0.2355,"X39":0.2627,"X40":0.2734,"X41":0.2411,"X42":0.2388,"X43":0.2341,"X44":0.2553,"X45":0.2656,"X46":0.2988,"X47":0.3325,"X48":0.3205,"X49":0.3495,"X50":0.3574,"X51":0.3192,"X52":0.3376,"X53":0.3414,"X54":0.3247,"X55":0.3115,"X56":0.3125,"X57":0.2976,"X58":0.2759,"X59":0.2632,"X60":0.2977,"X61":0.3233,"X62":0.3438,"X63":0.3313,"X64":0.3181},{"X1":0.1588,"X2":0.1606,"X3":0.1658,"X4":0.1631,"X5":0.1404,"X6":0.1447,"X7":0.1511,"X8":0.1655,"X9":0.1695,"X10":0.1619,"X11":0.1464,"X12":0.1418,"X13":0.1571,"X14":0.1818,"X15":0.1777,"X16":0.1638,"X17":0.1642,"X18":0.1466,"X19":0.1499,"X20":0.1537,"X21":0.153,"X22":0.167,"X23":0.1682,"X24":0.1607,"X25":0.1654,"X26":0.1592,"X27":0.1662,"X28":0.1856,"X29":0.212,"X30":0.2268,"X31":0.2429,"X32":0.2311,"X33":0.2401,"X34":0.2611,"X35":0.2891,"X36":0.2735,"X37":0.2551,"X38":0.2532,"X39":0.2851,"X40":0.2489,"X41":0.2923,"X42":0.2675,"X43":0.2384,"X44":0.2452,"X45":0.2678,"X46":0.2977,"X47":0.3126,"X48":0.2942,"X49":0.3259,"X50":0.3439,"X51":0.3565,"X52":0.3646,"X53":0.3308,"X54":0.2982,"X55":0.281,"X56":0.2701,"X57":0.2689,"X58":0.2752,"X59":0.2886,"X60":0.3019,"X61":0.3086,"X62":0.3102,"X63":0.3304,"X64":0.326},{"X1":0.1724,"X2":0.1818,"X3":0.1919,"X4":0.194,"X5":0.1825,"X6":0.1559,"X7":0.1421,"X8":0.14,"X9":0.1444,"X10":0.1408,"X11":0.1436,"X12":0.1539,"X13":0.1416,"X14":0.1554,"X15":0.1525,"X16":0.1473,"X17":0.148,"X18":0.1469,"X19":0.1631,"X20":0.1867,"X21":0.2052,"X22":0.2106,"X23":0.1804,"X24":0.1605,"X25":0.1632,"X26":0.1627,"X27":0.1706,"X28":0.1813,"X29":0.2256,"X30":0.2518,"X31":0.2375,"X32":0.2323,"X33":0.2243,"X34":0.2343,"X35":0.2595,"X36":0.2877,"X37":0.2659,"X38":0.2902,"X39":0.2719,"X40":0.2779,"X41":0.2922,"X42":0.2824,"X43":0.2823,"X44":0.2601,"X45":0.2748,"X46":0.2971,"X47":0.2786,"X48":0.2713,"X49":0.2979,"X50":0.3187,"X51":0.3177,"X52":0.3185,"X53":0.3305,"X54":0.2983,"X55":0.2914,"X56":0.2988,"X57":0.3085,"X58":0.3046,"X59":0.3136,"X60":0.3042,"X61":0.2878,"X62":0.2842,"X63":0.2895,"X64":0.3006},{"X1":0.1737,"X2":0.1758,"X3":0.1788,"X4":0.1888,"X5":0.2062,"X6":0.2223,"X7":0.195,"X8":0.172,"X9":0.1745,"X10":0.1683,"X11":0.1848,"X12":0.1957,"X13":0.1913,"X14":0.1695,"X15":0.1913,"X16":0.1902,"X17":0.1814,"X18":0.1791,"X19":0.1774,"X20":0.1589,"X21":0.1639,"X22":0.1569,"X23":0.1587,"X24":0.1608,"X25":0.1713,"X26":0.1835,"X27":0.1818,"X28":0.1636,"X29":0.1737,"X30":0.1926,"X31":0.1966,"X32":0.1903,"X33":0.1789,"X34":0.214,"X35":0.207,"X36":0.2107,"X37":0.2267,"X38":0.2532,"X39":0.2772,"X40":0.2838,"X41":0.2709,"X42":0.2415,"X43":0.2574,"X44":0.2785,"X45":0.2612,"X46":0.2597,"X47":0.2499,"X48":0.2819,"X49":0.2915,"X50":0.293,"X51":0.3121,"X52":0.3065,"X53":0.2781,"X54":0.2856,"X55":0.2979,"X56":0.3151,"X57":0.3183,"X58":0.314,"X59":0.3012,"X60":0.2917,"X61":0.2906,"X62":0.2893,"X63":0.2841,"X64":0.2806},{"X1":0.1881,"X2":0.189,"X3":0.199,"X4":0.2132,"X5":0.2112,"X6":0.2185,"X7":0.2084,"X8":0.1966,"X9":0.1947,"X10":0.1931,"X11":0.2121,"X12":0.2155,"X13":0.2213,"X14":0.206,"X15":0.2322,"X16":0.2692,"X17":0.2654,"X18":0.2446,"X19":0.1922,"X20":0.201,"X21":0.1825,"X22":0.1626,"X23":0.1644,"X24":0.1756,"X25":0.1753,"X26":0.1773,"X27":0.1805,"X28":0.2049,"X29":0.1826,"X30":0.1691,"X31":0.1826,"X32":0.1871,"X33":0.1878,"X34":0.1868,"X35":0.2406,"X36":0.2629,"X37":0.2538,"X38":0.2331,"X39":0.2245,"X40":0.2375,"X41":0.2447,"X42":0.2423,"X43":0.2689,"X44":0.2783,"X45":0.2475,"X46":0.2416,"X47":0.2405,"X48":0.2508,"X49":0.2767,"X50":0.3046,"X51":0.2776,"X52":0.3105,"X53":0.2789,"X54":0.2706,"X55":0.2596,"X56":0.2524,"X57":0.2625,"X58":0.2789,"X59":0.2731,"X60":0.274,"X61":0.2908,"X62":0.2968,"X63":0.2846,"X64":0.2688},{"X1":0.1971,"X2":0.2014,"X3":0.2036,"X4":0.2001,"X5":0.1953,"X6":0.1963,"X7":0.1915,"X8":0.1901,"X9":0.2073,"X10":0.2246,"X11":0.2391,"X12":0.2384,"X13":0.247,"X14":0.2608,"X15":0.2346,"X16":0.2435,"X17":0.2697,"X18":0.2327,"X19":0.2067,"X20":0.25,"X21":0.2177,"X22":0.1881,"X23":0.1834,"X24":0.2259,"X25":0.222,"X26":0.2152,"X27":0.2087,"X28":0.255,"X29":0.2576,"X30":0.228,"X31":0.1902,"X32":0.1952,"X33":0.2352,"X34":0.2109,"X35":0.1923,"X36":0.2472,"X37":0.2747,"X38":0.2884,"X39":0.2672,"X40":0.2528,"X41":0.2888,"X42":0.2652,"X43":0.2668,"X44":0.2664,"X45":0.2262,"X46":0.231,"X47":0.257,"X48":0.2889,"X49":0.2695,"X50":0.269,"X51":0.2752,"X52":0.2902,"X53":0.3049,"X54":0.3049,"X55":0.277,"X56":0.2557,"X57":0.2667,"X58":0.2659,"X59":0.2701,"X60":0.2574,"X61":0.2466,"X62":0.2738,"X63":0.2869,"X64":0.2704},{"X1":0.1809,"X2":0.1864,"X3":0.1854,"X4":0.1788,"X5":0.1794,"X6":0.1807,"X7":0.1907,"X8":0.2069,"X9":0.2174,"X10":0.2119,"X11":0.1994,"X12":0.2078,"X13":0.2296,"X14":0.269,"X15":0.2647,"X16":0.2539,"X17":0.2506,"X18":0.1986,"X19":0.2391,"X20":0.2886,"X21":0.2631,"X22":0.2176,"X23":0.1837,"X24":0.2334,"X25":0.2366,"X26":0.229,"X27":0.2405,"X28":0.2687,"X29":0.2601,"X30":0.2229,"X31":0.1955,"X32":0.23,"X33":0.2489,"X34":0.2398,"X35":0.1863,"X36":0.2337,"X37":0.2708,"X38":0.2907,"X39":0.2743,"X40":0.2656,"X41":0.2798,"X42":0.2889,"X43":0.2649,"X44":0.2487,"X45":0.2249,"X46":0.2561,"X47":0.2757,"X48":0.2915,"X49":0.3016,"X50":0.2881,"X51":0.2947,"X52":0.3151,"X53":0.3006,"X54":0.2947,"X55":0.3007,"X56":0.2935,"X57":0.3166,"X58":0.3092,"X59":0.2971,"X60":0.2873,"X61":0.2667,"X62":0.2491,"X63":0.2597,"X64":0.2734},{"X1":0.1694,"X2":0.1718,"X3":0.1763,"X4":0.1876,"X5":0.1913,"X6":0.1888,"X7":0.1804,"X8":0.187,"X9":0.1953,"X10":0.2128,"X11":0.2232,"X12":0.2383,"X13":0.2339,"X14":0.2332,"X15":0.2609,"X16":0.2734,"X17":0.2537,"X18":0.2382,"X19":0.2276,"X20":0.2817,"X21":0.261,"X22":0.2327,"X23":0.2013,"X24":0.2283,"X25":0.2515,"X26":0.249,"X27":0.2663,"X28":0.2535,"X29":0.2176,"X30":0.2165,"X31":0.2312,"X32":0.226,"X33":0.2785,"X34":0.2549,"X35":0.1957,"X36":0.2116,"X37":0.2723,"X38":0.2859,"X39":0.278,"X40":0.2679,"X41":0.2577,"X42":0.2763,"X43":0.241,"X44":0.2237,"X45":0.2322,"X46":0.264,"X47":0.288,"X48":0.2812,"X49":0.2692,"X50":0.2775,"X51":0.2924,"X52":0.3014,"X53":0.2929,"X54":0.2734,"X55":0.2897,"X56":0.3098,"X57":0.297,"X58":0.2943,"X59":0.2841,"X60":0.2765,"X61":0.278,"X62":0.2613,"X63":0.2375,"X64":0.2615},{"X1":0.197,"X2":0.1968,"X3":0.2038,"X4":0.2186,"X5":0.215,"X6":0.2122,"X7":0.2037,"X8":0.208,"X9":0.2308,"X10":0.25,"X11":0.2477,"X12":0.2516,"X13":0.2769,"X14":0.278,"X15":0.2306,"X16":0.236,"X17":0.2474,"X18":0.2399,"X19":0.2374,"X20":0.2793,"X21":0.2588,"X22":0.2389,"X23":0.2143,"X24":0.2275,"X25":0.2768,"X26":0.2695,"X27":0.2675,"X28":0.2567,"X29":0.21,"X30":0.2422,"X31":0.275,"X32":0.2185,"X33":0.2704,"X34":0.263,"X35":0.2305,"X36":0.1997,"X37":0.205,"X38":0.2443,"X39":0.2633,"X40":0.257,"X41":0.2205,"X42":0.2182,"X43":0.2254,"X44":0.2382,"X45":0.2582,"X46":0.2701,"X47":0.279,"X48":0.2704,"X49":0.2632,"X50":0.2629,"X51":0.2761,"X52":0.2713,"X53":0.263,"X54":0.2569,"X55":0.2727,"X56":0.2907,"X57":0.2881,"X58":0.2776,"X59":0.2702,"X60":0.2652,"X61":0.2637,"X62":0.2537,"X63":0.2372,"X64":0.2574},{"X1":0.1937,"X2":0.1943,"X3":0.1991,"X4":0.2111,"X5":0.2285,"X6":0.2373,"X7":0.2146,"X8":0.2208,"X9":0.2418,"X10":0.2626,"X11":0.2593,"X12":0.2751,"X13":0.2751,"X14":0.292,"X15":0.2908,"X16":0.2716,"X17":0.2572,"X18":0.2259,"X19":0.2717,"X20":0.2728,"X21":0.2432,"X22":0.2408,"X23":0.2168,"X24":0.2382,"X25":0.26,"X26":0.2723,"X27":0.2393,"X28":0.2414,"X29":0.2208,"X30":0.2605,"X31":0.2912,"X32":0.2375,"X33":0.244,"X34":0.2886,"X35":0.2596,"X36":0.2162,"X37":0.2177,"X38":0.2114,"X39":0.2126,"X40":0.2126,"X41":0.2236,"X42":0.2586,"X43":0.2641,"X44":0.2488,"X45":0.2611,"X46":0.2688,"X47":0.2809,"X48":0.2788,"X49":0.2724,"X50":0.268,"X51":0.2613,"X52":0.2556,"X53":0.2497,"X54":0.2448,"X55":0.2609,"X56":0.2753,"X57":0.275,"X58":0.2714,"X59":0.2616,"X60":0.2467,"X61":0.2417,"X62":0.2425,"X63":0.2616,"X64":0.2734},{"X1":0.1896,"X2":0.2117,"X3":0.219,"X4":0.2281,"X5":0.2378,"X6":0.2461,"X7":0.228,"X8":0.2332,"X9":0.2482,"X10":0.2368,"X11":0.225,"X12":0.2464,"X13":0.2631,"X14":0.2799,"X15":0.2957,"X16":0.2865,"X17":0.2628,"X18":0.2455,"X19":0.26,"X20":0.2584,"X21":0.246,"X22":0.2369,"X23":0.2291,"X24":0.2418,"X25":0.2562,"X26":0.2476,"X27":0.2457,"X28":0.2677,"X29":0.235,"X30":0.2524,"X31":0.2847,"X32":0.2399,"X33":0.267,"X34":0.2824,"X35":0.2336,"X36":0.2284,"X37":0.2637,"X38":0.2588,"X39":0.2617,"X40":0.2646,"X41":0.2354,"X42":0.2428,"X43":0.2571,"X44":0.2576,"X45":0.2637,"X46":0.2703,"X47":0.2798,"X48":0.286,"X49":0.2825,"X50":0.2768,"X51":0.2689,"X52":0.2575,"X53":0.251,"X54":0.2452,"X55":0.2458,"X56":0.2742,"X57":0.2733,"X58":0.2617,"X59":0.234,"X60":0.2487,"X61":0.2692,"X62":0.2668,"X63":0.274,"X64":0.2766},{"X1":0.1735,"X2":0.1732,"X3":0.1931,"X4":0.2322,"X5":0.2249,"X6":0.2215,"X7":0.2162,"X8":0.2096,"X9":0.208,"X10":0.222,"X11":0.2442,"X12":0.2711,"X13":0.2846,"X14":0.2563,"X15":0.2628,"X16":0.2565,"X17":0.2721,"X18":0.2472,"X19":0.2307,"X20":0.2279,"X21":0.2393,"X22":0.2486,"X23":0.2488,"X24":0.2544,"X25":0.2545,"X26":0.2622,"X27":0.2744,"X28":0.2612,"X29":0.2605,"X30":0.2302,"X31":0.2671,"X32":0.2409,"X33":0.2745,"X34":0.2614,"X35":0.2444,"X36":0.2266,"X37":0.2343,"X38":0.2386,"X39":0.2524,"X40":0.266,"X41":0.2611,"X42":0.2655,"X43":0.256,"X44":0.262,"X45":0.27,"X46":0.275,"X47":0.2862,"X48":0.2914,"X49":0.2911,"X50":0.2844,"X51":0.278,"X52":0.265,"X53":0.2527,"X54":0.2419,"X55":0.2356,"X56":0.2398,"X57":0.2524,"X58":0.2326,"X59":0.2198,"X60":0.2516,"X61":0.2684,"X62":0.2647,"X63":0.2689,"X64":0.2683},{"X1":0.2248,"X2":0.2108,"X3":0.1984,"X4":0.1911,"X5":0.1886,"X6":0.1982,"X7":0.2013,"X8":0.1998,"X9":0.2114,"X10":0.2375,"X11":0.2451,"X12":0.2467,"X13":0.2599,"X14":0.2358,"X15":0.2337,"X16":0.245,"X17":0.2502,"X18":0.245,"X19":0.2501,"X20":0.2265,"X21":0.203,"X22":0.2452,"X23":0.2583,"X24":0.2409,"X25":0.2433,"X26":0.261,"X27":0.2813,"X28":0.2751,"X29":0.269,"X30":0.2473,"X31":0.2773,"X32":0.2536,"X33":0.2664,"X34":0.2653,"X35":0.259,"X36":0.2562,"X37":0.272,"X38":0.2701,"X39":0.2511,"X40":0.2642,"X41":0.2612,"X42":0.266,"X43":0.2693,"X44":0.276,"X45":0.2879,"X46":0.2942,"X47":0.3069,"X48":0.3071,"X49":0.3064,"X50":0.2993,"X51":0.2885,"X52":0.2768,"X53":0.2692,"X54":0.2582,"X55":0.2459,"X56":0.2375,"X57":0.2273,"X58":0.2195,"X59":0.2195,"X60":0.2163,"X61":0.2491,"X62":0.2629,"X63":0.2643,"X64":0.2633},{"X1":0.2212,"X2":0.2439,"X3":0.2396,"X4":0.2385,"X5":0.2428,"X6":0.2357,"X7":0.239,"X8":0.2095,"X9":0.2148,"X10":0.2189,"X11":0.2264,"X12":0.2345,"X13":0.2376,"X14":0.2334,"X15":0.2482,"X16":0.2534,"X17":0.2288,"X18":0.2392,"X19":0.2267,"X20":0.2481,"X21":0.2216,"X22":0.2126,"X23":0.2399,"X24":0.2254,"X25":0.2261,"X26":0.2595,"X27":0.2545,"X28":0.2564,"X29":0.2874,"X30":0.26,"X31":0.2809,"X32":0.2585,"X33":0.2368,"X34":0.2487,"X35":0.268,"X36":0.2794,"X37":0.2731,"X38":0.2743,"X39":0.2586,"X40":0.2531,"X41":0.2567,"X42":0.2691,"X43":0.2851,"X44":0.2973,"X45":0.3137,"X46":0.3222,"X47":0.3375,"X48":0.3342,"X49":0.3327,"X50":0.3196,"X51":0.302,"X52":0.2913,"X53":0.2817,"X54":0.2717,"X55":0.2699,"X56":0.2698,"X57":0.2679,"X58":0.2442,"X59":0.2142,"X60":0.2112,"X61":0.2411,"X62":0.2529,"X63":0.2578,"X64":0.2631},{"X1":0.199,"X2":0.2064,"X3":0.2129,"X4":0.2325,"X5":0.2343,"X6":0.2374,"X7":0.249,"X8":0.2337,"X9":0.2373,"X10":0.2379,"X11":0.2496,"X12":0.2537,"X13":0.2536,"X14":0.2571,"X15":0.2408,"X16":0.213,"X17":0.2008,"X18":0.2256,"X19":0.2334,"X20":0.215,"X21":0.2171,"X22":0.2069,"X23":0.2326,"X24":0.2214,"X25":0.2064,"X26":0.2259,"X27":0.2471,"X28":0.275,"X29":0.2721,"X30":0.2417,"X31":0.2592,"X32":0.257,"X33":0.2253,"X34":0.2709,"X35":0.2652,"X36":0.2565,"X37":0.2501,"X38":0.2689,"X39":0.2603,"X40":0.2313,"X41":0.2471,"X42":0.2726,"X43":0.2921,"X44":0.312,"X45":0.3332,"X46":0.359,"X47":0.3807,"X48":0.3724,"X49":0.3699,"X50":0.3436,"X51":0.3223,"X52":0.3075,"X53":0.2909,"X54":0.278,"X55":0.2699,"X56":0.2713,"X57":0.2554,"X58":0.2304,"X59":0.2105,"X60":0.231,"X61":0.2603,"X62":0.2518,"X63":0.2496,"X64":0.2501}]
## </script>
## </div>
Which is great for direct data analysis, but if we intend to use the image as a height map for terrain visualization, we can skip the data ingestion. As mentioned in the post about GLSL shaders, I’ve extended the GL extension to SvelteJS (@sveltejs/gl
), so that a set of custom vertex and fragment shaders can use a normal map (given as the same PNG image above) to displace the vertices of a planar polygon mesh in order to create a terrain-like model.
TerrainApp.svelte
:
<script>
import { onMount } from 'svelte';
import * as GL from '@sveltejs/gl';
import terrainFrag from './shaders/custom/terrain-frag.glsl';
import terrainVert from './shaders/custom/terrain-and-light-vert.glsl';
export let title;
export let color = '#F7C77B';
let webgl;
let normalmap;
let process_extra_shader_components = (gl, material, model) => {
console.log("Process Extra Shader Components");
const program = material.program;
if (material.vertName === "terrain-vert") {
// console.log(material.vertName);
const heigthAdjMultLocation = gl.getUniformLocation(program, "height_adjustment");
gl.uniform1f(heigthAdjMultLocation, 0.5);
// uniform vec3 light_direction; // normalized direction in eye
const lightDirectionLocation = gl.getUniformLocation(program, "light_direction");
gl.uniform3fv(lightDirectionLocation, new Float32Array([light.x,light.y,light.z]));
// uniform vec3 light_ambient_color;
const ambientLightLocation = gl.getUniformLocation(program, "light_ambient_color");
gl.uniform3fv(ambientLightLocation, new Float32Array([...normalizeColor(light.color)]));
// uniform vec3 light_diffuse_color;
const diffuseLightLocation = gl.getUniformLocation(program, "light_diffuse_color");
gl.uniform3fv(diffuseLightLocation, new Float32Array([...normalizeColor(light.color)]));
// uniform vec3 light_specular_color;
const specularLightLocation = gl.getUniformLocation(program, "light_specular_color");
gl.uniform3fv(specularLightLocation, new Float32Array([...normalizeColor(light.color)]));
// uniform float material_specular_exponent;
const specularExpLocation = gl.getUniformLocation(program, "material_specular_exponent");
gl.uniform1f(specularExpLocation, 0.99);
}
};
onMount(() => {
// ...
normalmap = new GL.Texture(document.getElementById("heightmap").src, { width: 512, height: 512 });
});
</script>
<GL.Scene bind:gl={webgl} backgroundOpacity=1.0 process_extra_shader_components={process_extra_shader_components}>
...
<!-- ground -->
<GL.Mesh
geometry={GL.terrain()}
location={[0, -h/2, 0]}
rotation={[-rot, 0, 0]}
scale={h}
frag={terrainFrag}
vert={terrainVert}
uniforms={{ color: adjustColor(color, h), alpha: 1.0, normalmap: normalmap }}
/>
</GL.Scene>
Here’s the two shaders that have been applied to the above scene…
terrain-and-light-vert.glsl
:
#define NAME terrain-vert
#define C_ZERO 0.0
#define C_QUARTER 0.25
#define C_HALF 0.5
#define C_ONE 1.0
#define DISPLACE_MULTIPLY 0.5
// texture containing elevation data
//uniform sampler2D heightMap;
//uniform sampler2D bumpmap;
uniform sampler2D normalmap;
uniform float height_adjustment;
in vec3 position;
in vec3 normal;
// available when texture maps are used
// (bumpmap, colormap, normalmap...)
in vec2 uv;
out vec3 v_normal;
out vec2 v_textureCoords;
uniform vec3 light_direction; // normalized direction in eye
uniform vec3 light_ambient_color;
uniform vec3 light_diffuse_color;
uniform vec3 light_specular_color;
uniform float material_specular_exponent;
out vec3 v_directional_light_shading;
vec3 directional_light_shading (vec3 normal) {
vec3 computed_shade = vec3(C_ZERO, C_ZERO, C_ZERO);
vec3 halfplane_vector = vec3(C_ZERO, C_ONE, C_ZERO);
vec3 nlight_direction = normalize(light_direction); // normalized direction in eye
vec3 nlight_halfplane = normalize(nlight_direction + halfplane_vector); // normalized half-plane vector
float ndotL; // dot product of normal & light direction
float ndotH; // dot product of nomral and & half-plane vector
ndotL = max(C_ZERO, dot(normal, nlight_direction));
computed_shade += light_ambient_color * vec3(C_HALF, C_HALF, C_HALF);
computed_shade += ndotL * light_diffuse_color * vec3(C_ONE, C_ONE, C_ONE);
// The resolution of the vertex shader is not fine enough
// for specular lighting, but this is the equation
ndotH = max(C_ZERO, dot(normal, nlight_halfplane));
if (ndotH > C_ZERO) {
computed_shade += pow(ndotH, material_specular_exponent) * vec3(C_ONE, C_ONE, C_ONE) * light_specular_color;
}
return computed_shade;
}
void main() {
vec3 displacement = texture(normalmap, uv).rgb;
vec3 displace_along_verticle = normal * displacement * (DISPLACE_MULTIPLY * height_adjustment);
vec3 displaced_position = position + displace_along_verticle;
vec3 displace_along_normal = vec3(normal * displacement);
v_normal = DISPLACE_MULTIPLY * normal;
#if defined(has_normalmap)
v_normal = DISPLACE_MULTIPLY * displace_along_normal;
#endif
v_textureCoords = uv;
v_directional_light_shading = directional_light_shading((MODEL_INVERSE_TRANSPOSE * vec4(v_normal, C_ZERO)).xyz);
gl_Position = PROJECTION * VIEW * MODEL * vec4(displaced_position, C_ONE);
}
terrain-frag.glsl
:
/* Uniforms supplied by Svelte materials: */
uniform vec3 color;
uniform vec3 emissive;
uniform float alpha;
uniform float specularity;
uniform sampler2D bumpmap;
uniform sampler2D colormap;
uniform sampler2D emissivemap;
uniform sampler2D specularitymap;
uniform vec3 FOG_COLOR;
uniform float FOG_DENSITY;
#define NAME terrain-frag
#define C_ZERO 0.0
#define C_QUARTER 0.25
#define C_HALF 0.5
#define C_ONE 1.0
in vec3 v_directional_light_shading;
in vec3 v_normal;
in vec2 v_textureCoords;
/* Varying for this shader: */
out mediump vec4 fragColor;
void main () {
// fragColor = vec4(color, 1.0);
fragColor = vec4(v_directional_light_shading * color, C_ONE);
if (alpha == C_ZERO || (C_ZERO <= alpha && alpha <= C_ONE)) {
fragColor.a *= alpha;
}
}