big old initial checkin
@@ -2,7 +2,7 @@
|
||||
"extends": ["next", "prettier", "plugin:tailwind/recommended"],
|
||||
"rules": {
|
||||
"import/prefer-default-export": "off",
|
||||
"no-console": "warn",
|
||||
"no-console": "off",
|
||||
"no-var": "error"
|
||||
}
|
||||
}
|
||||
|
||||
28
package.json
@@ -21,17 +21,44 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/plugin-transform-runtime": "^7.17.0",
|
||||
"@chakra-ui/icons": "1.1.3",
|
||||
"@chakra-ui/react": "^1.8.8",
|
||||
"@emotion/core": "^11.0.0",
|
||||
"@emotion/react": "^11",
|
||||
"@emotion/styled": "^11",
|
||||
"@fleekhq/fleek-cli": "^0.1.8",
|
||||
"@react-three/drei": "^9.2.0",
|
||||
"@react-three/fiber": "^8.0.10",
|
||||
"@widgetbot/react-embed": "^1.4.0",
|
||||
"babel-plugin-glsl": "^1.0.0",
|
||||
"framer-motion": "4.1.17",
|
||||
"global": "^4.4.0",
|
||||
"glsl-random": "^0.0.5",
|
||||
"gsap": "^3.5.1",
|
||||
"lil-gui": "^0.11.0",
|
||||
"next": "^12.1.4",
|
||||
"react": "^18.0.0",
|
||||
"react-dom": "^18.0.0",
|
||||
"react-helmet": "^6.1.0",
|
||||
"react-icons": "^4.3.1",
|
||||
"stats.js": "^0.17.0",
|
||||
"three": "^0.139.2",
|
||||
"three-stdlib": "^2.9.1",
|
||||
"webfontloader": "^1.6.28",
|
||||
"zustand": "^3.7.2"
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
">0.2%",
|
||||
"not dead",
|
||||
"not op_mini all"
|
||||
],
|
||||
"development": [
|
||||
"last 1 chrome version",
|
||||
"last 1 firefox version",
|
||||
"last 1 safari version"
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"@next/bundle-analyzer": "^12.0.10",
|
||||
"autoprefixer": "^10.4.2",
|
||||
@@ -47,7 +74,6 @@
|
||||
"postcss": "^8.4.12",
|
||||
"prettier": "^2.6.2",
|
||||
"raw-loader": "^4.0.2",
|
||||
"tailwindcss": "^3.0.23",
|
||||
"url-loader": "^4.1.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
module.exports = {
|
||||
plugins: {
|
||||
tailwindcss: {},
|
||||
autoprefixer: {},
|
||||
},
|
||||
}
|
||||
BIN
public/assets/img/baby_octo_alpha.gif
Normal file
|
After Width: | Height: | Size: 195 KiB |
18
public/assets/img/icons/discord.svg
Normal file
@@ -0,0 +1,18 @@
|
||||
<svg width="288" height="288" viewBox="0 0 288 288" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M196.606 227.358C192.977 227.358 189.668 225.665 187.523 222.713C185.852 220.426 184.136 218.09 182.474 215.835C182.01 215.205 180.515 212.924 179.027 210.643C178.713 210.159 178.396 209.675 178.096 209.214C174.352 210.167 170.361 211.04 166.182 211.55C156.237 212.765 147.223 213.206 138.528 212.912C128.891 212.584 119.327 211.354 110.102 209.252C109.78 209.18 109.454 209.102 109.132 209.027C105.964 215.285 105.376 216.071 105.131 216.403C103.738 218.272 102.298 220.207 100.918 222.114C98.1331 225.979 93.983 227.874 89.1503 227.188C72.4118 224.786 58.5417 219.637 46.728 211.44C41.3107 207.685 36.8092 203.221 33.3475 198.169C31.608 195.632 30.7526 192.839 30.8015 189.866C30.9571 180.685 31.8038 171.146 33.3907 160.706C35.7926 144.935 39.6316 129.087 44.8012 113.601C48.3407 102.997 51.9033 94.4779 56.0073 86.7854C60.2323 78.8654 66.9743 74.5857 72.3743 71.7374C82.5494 66.3777 93.9139 62.916 108.147 60.8596C108.85 60.756 109.521 60.7099 110.171 60.7099C116.116 60.7099 120.865 64.8312 121.801 70.764L122 71.4897C131.507 69.9028 140.53 69.3556 149.262 69.8078C155.053 70.1102 160.623 70.6776 165.997 71.5099C166.38 69.9979 166.755 68.7048 166.951 68.195C168.846 62.7662 174.243 59.699 179.844 60.9057C185.682 61.6603 191.511 62.8612 197.168 64.4683C208.117 67.5844 216.714 71.6078 224.222 77.1374C228.053 79.9569 230.054 83.5195 231.514 86.1201L231.998 86.9668C237.177 95.9611 240.46 105.321 243.645 114.92C247.153 125.501 250.079 136.601 252.346 147.913C254.756 159.958 256.236 170.956 256.861 181.546C256.997 183.772 257.066 186.013 257.138 188.179L257.198 189.904C257.29 192.683 256.545 195.292 254.978 197.66C250.592 204.287 244.57 209.796 236.566 214.502C225.21 221.186 212.723 225.348 198.4 227.223C197.911 227.286 197.312 227.358 196.606 227.358ZM189.697 205.914C190.636 207.354 191.442 208.586 191.75 209.001C193.418 211.262 195.146 213.618 196.834 215.925C209.664 214.125 220.726 210.453 230.725 204.569C237.182 200.77 241.972 196.43 245.37 191.298C245.65 190.88 245.693 190.624 245.681 190.29L245.621 188.553C245.557 186.479 245.485 184.348 245.362 182.223C244.762 172.172 243.354 161.686 241.047 150.171C238.873 139.319 236.068 128.678 232.707 118.543C229.717 109.529 226.647 100.771 222.01 92.7124L221.486 91.7908C220.314 89.7028 219.22 87.7617 217.385 86.411C211.023 81.7252 203.596 78.2721 194.011 75.5476C188.818 74.0673 183.47 72.9729 178.111 72.2961L177.736 72.2414L177.733 72.2472C177.635 72.5352 177.483 73.0737 177.313 73.7275C187.286 76.1208 196.551 79.5508 205.266 84.0638C207.179 85.0574 208.927 86.1172 210.473 87.0532L211.283 87.5428C214.01 89.1816 214.891 92.7211 213.252 95.4456C211.617 98.17 208.074 99.0571 205.35 97.4155L204.517 96.9144C203.051 96.0244 201.557 95.1172 199.97 94.2936C185.083 86.5867 168.301 82.3416 148.668 81.3105C139.323 80.8267 129.551 81.6216 119.007 83.7585C118.953 83.7729 118.898 83.7816 118.843 83.7931C116.502 84.2712 114.12 84.8126 111.695 85.4203C100.336 88.2715 90.7977 92.2228 82.5379 97.5019C79.8537 99.2184 76.294 98.4264 74.5804 95.7508C72.8668 93.0696 73.6531 89.507 76.3315 87.7934C85.654 81.8376 96.3071 77.4081 108.887 74.2488C109.498 74.0932 110.102 73.9464 110.704 73.8024C110.621 73.5028 110.511 73.0507 110.483 72.9009L110.431 72.6014C110.396 72.3537 110.336 72.2241 110.313 72.1924C110.056 72.2299 109.938 72.2414 109.809 72.2558C96.9091 74.122 86.7254 77.1979 77.7484 81.9268C73.3478 84.2452 68.9011 87.0936 66.1737 92.2027C62.3807 99.3134 59.0601 107.268 55.7337 117.241C50.7686 132.108 47.0879 147.314 44.7839 162.431C43.2719 172.356 42.4655 181.393 42.3244 190.056C42.3158 190.477 42.3763 190.955 42.8515 191.646C45.5212 195.543 49.0319 199.013 53.2972 201.968C63.6105 209.119 75.8707 213.638 90.7775 215.778C91.1923 215.801 91.2758 215.792 91.5839 215.366C92.998 213.405 94.4726 211.426 95.9011 209.511C96.1113 209.165 96.8716 207.711 97.8364 205.822C88.5945 202.72 80.375 198.653 72.936 193.524C71.7523 192.709 70.6867 191.854 69.6988 191.044C67.2393 189.028 66.8793 185.399 68.8953 182.94C70.9171 180.48 74.543 180.123 76.9996 182.136C77.7571 182.756 78.5692 183.418 79.4735 184.043C87.5548 189.616 96.7622 193.783 107.493 196.721C107.548 196.735 107.6 196.75 107.654 196.764C109.287 197.21 110.958 197.628 112.668 198.017C121.182 199.955 130.015 201.093 138.928 201.395C147.027 201.68 155.448 201.254 164.794 200.113C170.507 199.419 176.181 197.838 181.184 196.447C193.735 192.954 203.282 188.354 211.239 181.975L212.374 181.244C215.222 179.815 218.678 180.973 220.104 183.821C221.394 186.405 220.562 189.498 218.266 191.108C210.349 197.426 201.154 202.207 189.697 205.914Z" fill="url(#paint0_linear)"/>
|
||||
<path d="M175.793 179.633C175.142 179.633 174.491 179.602 173.837 179.541C167.775 178.962 162.358 175.763 158.582 170.535C154.967 165.524 153.153 159.793 153.191 153.497V153.468C153.274 145.033 156.249 138.127 162.023 132.934C169.871 125.892 181.029 125.688 189.15 132.444C194.87 137.199 198.3 144.601 198.553 152.748C198.807 160.905 195.843 168.514 190.423 173.623C186.267 177.54 181.132 179.633 175.793 179.633ZM164.711 153.575C164.69 157.428 165.742 160.772 167.925 163.799C169.727 166.296 172.213 167.817 174.929 168.073C177.616 168.344 180.311 167.321 182.52 165.245C185.498 162.434 187.189 157.901 187.039 153.111C186.889 148.331 184.928 143.918 181.789 141.306C178.056 138.199 173.319 138.285 169.727 141.505C166.358 144.529 164.765 148.365 164.711 153.575ZM112.053 179.633C111.402 179.633 110.751 179.602 110.097 179.541C104.035 178.962 98.6174 175.763 94.8417 170.535C91.2331 165.53 89.4187 159.796 89.4504 153.5V153.468C89.5339 145.033 92.5089 138.127 98.2833 132.934C106.131 125.892 117.288 125.688 125.41 132.444C131.13 137.199 134.56 144.601 134.813 152.748C135.067 160.905 132.103 168.514 126.683 173.623C122.527 177.54 117.395 179.633 112.053 179.633ZM100.97 153.572C100.953 157.428 102.004 160.775 104.184 163.799C105.987 166.296 108.473 167.817 111.189 168.073C113.893 168.344 116.571 167.321 118.78 165.245C121.758 162.434 123.449 157.901 123.299 153.111C123.149 148.331 121.188 143.918 118.049 141.306C114.313 138.199 109.582 138.285 105.987 141.505C102.618 144.529 101.028 148.362 100.97 153.572Z" fill="url(#paint1_linear)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear" x1="144" y1="227.358" x2="144" y2="60.6413" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C433FF"/>
|
||||
<stop offset="0.2577" stop-color="#D72EF0"/>
|
||||
<stop offset="0.7304" stop-color="#F425D8"/>
|
||||
<stop offset="1" stop-color="#FF22CF"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear" x1="144.009" y1="179.635" x2="144.009" y2="127.514" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C433FF"/>
|
||||
<stop offset="0.2577" stop-color="#D72EF0"/>
|
||||
<stop offset="0.7304" stop-color="#F425D8"/>
|
||||
<stop offset="1" stop-color="#FF22CF"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 6.7 KiB |
11
public/assets/img/icons/events.svg
Normal file
@@ -0,0 +1,11 @@
|
||||
<svg width="252" height="288" viewBox="0 0 252 288" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M198.062 58.25H178.375V36.9219C178.375 34.2148 176.16 32 173.453 32H170.172C167.465 32 165.25 34.2148 165.25 36.9219V58.25H86.5V36.9219C86.5 34.2148 84.2852 32 81.5781 32H78.2969C75.5898 32 73.375 34.2148 73.375 36.9219V58.25H53.6875C42.8184 58.25 34 67.0684 34 77.9375V222.312C34 233.182 42.8184 242 53.6875 242H198.062C208.932 242 217.75 233.182 217.75 222.312V77.9375C217.75 67.0684 208.932 58.25 198.062 58.25ZM53.6875 71.375H198.062C201.672 71.375 204.625 74.3281 204.625 77.9375V97.625H47.125V77.9375C47.125 74.3281 50.0781 71.375 53.6875 71.375ZM198.062 228.875H53.6875C50.0781 228.875 47.125 225.922 47.125 222.312V110.75H204.625V222.312C204.625 225.922 201.672 228.875 198.062 228.875ZM94.7031 163.25H78.2969C75.5898 163.25 73.375 161.035 73.375 158.328V141.922C73.375 139.215 75.5898 137 78.2969 137H94.7031C97.4102 137 99.625 139.215 99.625 141.922V158.328C99.625 161.035 97.4102 163.25 94.7031 163.25ZM134.078 163.25H117.672C114.965 163.25 112.75 161.035 112.75 158.328V141.922C112.75 139.215 114.965 137 117.672 137H134.078C136.785 137 139 139.215 139 141.922V158.328C139 161.035 136.785 163.25 134.078 163.25ZM173.453 163.25H157.047C154.34 163.25 152.125 161.035 152.125 158.328V141.922C152.125 139.215 154.34 137 157.047 137H173.453C176.16 137 178.375 139.215 178.375 141.922V158.328C178.375 161.035 176.16 163.25 173.453 163.25ZM134.078 202.625H117.672C114.965 202.625 112.75 200.41 112.75 197.703V181.297C112.75 178.59 114.965 176.375 117.672 176.375H134.078C136.785 176.375 139 178.59 139 181.297V197.703C139 200.41 136.785 202.625 134.078 202.625ZM94.7031 202.625H78.2969C75.5898 202.625 73.375 200.41 73.375 197.703V181.297C73.375 178.59 75.5898 176.375 78.2969 176.375H94.7031C97.4102 176.375 99.625 178.59 99.625 181.297V197.703C99.625 200.41 97.4102 202.625 94.7031 202.625ZM173.453 202.625H157.047C154.34 202.625 152.125 200.41 152.125 197.703V181.297C152.125 178.59 154.34 176.375 157.047 176.375H173.453C176.16 176.375 178.375 178.59 178.375 181.297V197.703C178.375 200.41 176.16 202.625 173.453 202.625Z" fill="url(#paint0_linear)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear" x1="125.873" y1="241.999" x2="125.873" y2="31.996" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C433FF"/>
|
||||
<stop offset="0.2577" stop-color="#D72EF0"/>
|
||||
<stop offset="0.7304" stop-color="#F425D8"/>
|
||||
<stop offset="1" stop-color="#FF22CF"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.4 KiB |
11
public/assets/img/icons/forum.svg
Normal file
@@ -0,0 +1,11 @@
|
||||
<svg width="288" height="288" viewBox="0 0 288 288" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M224.868 126.72C233.09 120.943 238.638 111.477 238.638 100.772C238.638 91.9934 235.803 83.7624 229.055 78.1809C222.423 72.6945 212.713 70.2033 204.103 70.8197V66.8021C204.103 49.2081 189.168 34.8945 171.635 34.8945C160.399 34.8945 150.193 40.7899 144.537 49.6459C138.88 40.7899 129.239 34.8945 118.001 34.8945C100.465 34.8945 86.4334 49.2081 86.4334 66.8021V70.8254C74.9534 70.1659 66.8457 72.6628 60.1786 78.1752C53.4284 83.7566 49.1492 91.9905 49.1492 100.769C49.1492 111.477 54.3066 120.946 62.2996 126.72C54.3066 132.259 49 141.394 49 151.946C49 161.992 54.7486 171.585 63.7059 177.604C69.2593 181.334 75.5934 183.246 81.8988 183.246C83.2219 183.246 85.3026 183.131 86.6056 182.961C87.7106 192.531 95.0434 200.469 103.653 203.717V221.562C103.653 226.392 106.523 230.409 109.393 231.276V242.076C109.393 247.534 114.554 253.44 119.992 253.44H167.824C173.265 253.44 178.273 247.534 178.273 242.076V231.276C184.013 230.412 186.883 226.392 186.883 221.562V203.93C195.493 200.826 202.028 192.747 203.156 182.964C204.462 183.131 205.484 183.246 206.801 183.246C213.109 183.246 219.128 181.334 224.678 177.604C233.636 171.582 238.721 161.992 238.721 151.946C238.724 141.397 233.096 132.259 224.868 126.72ZM175.403 221.76H167.824H119.992H115.133V207.36H139.17H149.232H175.403V221.76ZM97.1385 180.856L103.8 159.719L92.8536 156.249L88.3506 170.54C82.3264 172.754 75.5705 171.879 69.8534 168.034C64.0818 164.155 60.6436 158.141 60.6436 151.946C60.6436 140.925 69.2105 132.613 80.6905 132.613V121.093C69.2105 121.093 60.6292 111.975 60.6292 100.769C60.6292 95.4436 63.6772 90.4526 67.7698 87.0657C72.29 83.3333 77.8234 81.7406 86.4334 82.3569V92.1604H97.9134V66.8021C97.9134 55.5614 106.802 46.4145 118.003 46.4145C129.205 46.4145 138.093 55.5614 138.093 66.8021V192.96H111.959C111.342 192.96 110.742 193.326 110.157 193.436C103.183 193.096 97.5489 187.837 97.1385 180.856ZM166.793 241.92H120.873V233.28H166.793V241.92ZM218.336 168.034C212.656 171.85 206.052 172.737 200.06 170.58L195.545 156.249L184.599 159.719L191.257 180.856C190.838 187.955 185.029 193.303 177.895 193.47C177.237 193.329 176.557 192.96 175.86 192.96H152.443V66.8021C152.443 55.5614 161.329 46.4145 172.533 46.4145C183.738 46.4145 192.623 55.5614 192.623 66.8021V92.1604H204.103V82.3454C209.843 81.7636 217.105 83.3621 221.59 87.0715C225.683 90.4555 227.724 95.4494 227.724 100.772C227.724 111.978 218.453 121.096 206.973 121.096V132.616C218.453 132.616 227.388 140.927 227.388 151.949C227.388 158.141 224.104 164.155 218.336 168.034Z" fill="url(#paint0_linear)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear" x1="143.86" y1="253.44" x2="143.86" y2="34.8954" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C433FF"/>
|
||||
<stop offset="0.2577" stop-color="#D72EF0"/>
|
||||
<stop offset="0.7304" stop-color="#F425D8"/>
|
||||
<stop offset="1" stop-color="#FF22CF"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.9 KiB |
28
public/assets/img/icons/invest.svg
Normal file
@@ -0,0 +1,28 @@
|
||||
<svg width="288" height="288" viewBox="0 0 288 288" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M245.51 239.04V100.8H190.98V239.04H173.76V138.24H116.36V239.04H99.14V158.4H41.74V239.04H36V250.56H251.25V239.04H245.51ZM202.46 112.32H234.03V239.04H202.46V112.32ZM127.84 149.76H162.28V239.04H127.84V149.76ZM53.22 169.92H87.66V239.04H53.22V169.92Z" fill="url(#paint0_linear)"/>
|
||||
<path d="M73.4359 134.297C84.5687 134.297 93.6264 125.208 93.6264 114.037C93.6264 113.435 93.5891 112.841 93.5374 112.251L131.223 105.008C134.84 110.5 141.039 114.137 148.076 114.137C159.209 114.137 168.266 105.048 168.266 93.8766C168.266 92.6123 168.134 91.3826 167.913 90.1816L206.627 69.3189C210.335 73.8232 215.94 76.7003 222.2 76.7003C233.332 76.7003 242.39 67.611 242.39 56.4395C242.39 45.268 233.332 36.1787 222.2 36.1787C211.067 36.1787 202.009 45.268 202.009 56.4395C202.009 57.1912 202.058 57.9342 202.138 58.6658L162.681 79.9317C159.002 76.0523 152.364 73.6216 146.618 73.6216C135.485 73.6216 124.97 82.7109 124.97 93.8824V93.9285L87.7084 101.37C84.0033 96.7509 79.0611 93.7816 72.7069 93.7816C61.5742 93.7816 52.881 102.871 52.881 114.042C52.881 125.214 62.3032 134.297 73.4359 134.297ZM222.2 47.6958C227.004 47.6958 230.91 51.6155 230.91 56.4366C230.91 61.2578 227.004 65.1774 222.2 65.1774C217.395 65.1774 213.489 61.2578 213.489 56.4366C213.489 51.6155 217.395 47.6958 222.2 47.6958ZM148.073 85.1358C152.878 85.1358 156.784 89.0555 156.784 93.8766C156.784 98.6978 152.878 102.617 148.073 102.617C143.269 102.617 139.363 98.6978 139.363 93.8766C139.363 89.0555 143.272 85.1358 148.073 85.1358ZM73.4359 105.296C78.2403 105.296 82.1464 109.216 82.1464 114.037C82.1464 118.858 78.2403 122.777 73.4359 122.777C68.6315 122.777 64.7255 118.858 64.7255 114.037C64.7255 109.216 68.6315 105.296 73.4359 105.296Z" fill="url(#paint1_linear)"/>
|
||||
<path d="M245.51 239.04V100.8H190.98V239.04H173.76V138.24H116.36V239.04H99.14V158.4H41.74V239.04H36V250.56H251.25V239.04H245.51ZM202.46 112.32H234.03V239.04H202.46V112.32ZM127.84 149.76H162.28V239.04H127.84V149.76ZM53.22 169.92H87.66V239.04H53.22V169.92Z" fill="url(#paint2_linear)"/>
|
||||
<path d="M73.4359 134.297C84.5687 134.297 93.6264 125.208 93.6264 114.037C93.6264 113.435 93.5891 112.841 93.5374 112.251L131.223 105.008C134.84 110.5 141.039 114.137 148.076 114.137C159.209 114.137 168.266 105.048 168.266 93.8766C168.266 92.6123 168.134 91.3826 167.913 90.1816L206.627 69.3189C210.335 73.8232 215.94 76.7003 222.2 76.7003C233.332 76.7003 242.39 67.611 242.39 56.4395C242.39 45.268 233.332 36.1787 222.2 36.1787C211.067 36.1787 202.009 45.268 202.009 56.4395C202.009 57.1912 202.058 57.9342 202.138 58.6658L162.681 79.9317C159.002 76.0523 152.364 73.6216 146.618 73.6216C135.485 73.6216 124.97 82.7109 124.97 93.8824V93.9285L87.7084 101.37C84.0033 96.7509 79.0611 93.7816 72.7069 93.7816C61.5742 93.7816 52.881 102.871 52.881 114.042C52.881 125.214 62.3032 134.297 73.4359 134.297ZM222.2 47.6958C227.004 47.6958 230.91 51.6155 230.91 56.4366C230.91 61.2578 227.004 65.1774 222.2 65.1774C217.395 65.1774 213.489 61.2578 213.489 56.4366C213.489 51.6155 217.395 47.6958 222.2 47.6958ZM148.073 85.1358C152.878 85.1358 156.784 89.0555 156.784 93.8766C156.784 98.6978 152.878 102.617 148.073 102.617C143.269 102.617 139.363 98.6978 139.363 93.8766C139.363 89.0555 143.272 85.1358 148.073 85.1358ZM73.4359 105.296C78.2403 105.296 82.1464 109.216 82.1464 114.037C82.1464 118.858 78.2403 122.777 73.4359 122.777C68.6315 122.777 64.7255 118.858 64.7255 114.037C64.7255 109.216 68.6315 105.296 73.4359 105.296Z" fill="url(#paint3_linear)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear" x1="143.625" y1="250.56" x2="143.625" y2="100.8" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C433FF"/>
|
||||
<stop offset="0.2577" stop-color="#D72EF0"/>
|
||||
<stop offset="0.7304" stop-color="#F425D8"/>
|
||||
<stop offset="1" stop-color="#FF22CF"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear" x1="147.635" y1="134.297" x2="147.635" y2="36.175" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C433FF"/>
|
||||
<stop offset="0.2577" stop-color="#D72EF0"/>
|
||||
<stop offset="0.7304" stop-color="#F425D8"/>
|
||||
<stop offset="1" stop-color="#FF22CF"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint2_linear" x1="143.625" y1="250.56" x2="143.625" y2="36.1751" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.0112" stop-color="#009B5B"/>
|
||||
<stop offset="1" stop-color="#9CCE62"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint3_linear" x1="143.625" y1="250.56" x2="143.625" y2="36.175" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.0112" stop-color="#009B5B"/>
|
||||
<stop offset="1" stop-color="#9CCE62"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.5 KiB |
12
public/assets/img/icons/metaradio.svg
Normal file
@@ -0,0 +1,12 @@
|
||||
<svg width="288" height="288" viewBox="0 0 288 288" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M127.592 147.689H68.5308C67.6605 147.689 66.826 148.035 66.2106 148.65C65.5953 149.266 65.2496 150.1 65.2496 150.97V157.533C65.2496 158.403 65.5953 159.238 66.2106 159.853C66.826 160.468 67.6605 160.814 68.5308 160.814H127.592C128.463 160.814 129.297 160.468 129.912 159.853C130.528 159.238 130.873 158.403 130.873 157.533V150.97C130.873 150.1 130.528 149.266 129.912 148.65C129.297 148.035 128.463 147.689 127.592 147.689ZM121.03 173.939H75.0932C74.2229 173.939 73.3883 174.285 72.773 174.9C72.1577 175.515 71.812 176.35 71.812 177.22V183.782C71.812 184.653 72.1577 185.487 72.773 186.103C73.3883 186.718 74.2229 187.064 75.0932 187.064H121.03C121.9 187.064 122.735 186.718 123.35 186.103C123.965 185.487 124.311 184.653 124.311 183.782V177.22C124.311 176.35 123.965 175.515 123.35 174.9C122.735 174.285 121.9 173.939 121.03 173.939ZM75.0932 134.564H121.03C121.9 134.564 122.735 134.219 123.35 133.603C123.965 132.988 124.311 132.154 124.311 131.283V124.721C124.311 123.851 123.965 123.016 123.35 122.401C122.735 121.785 121.9 121.44 121.03 121.44H75.0932C74.2229 121.44 73.3883 121.785 72.773 122.401C72.1577 123.016 71.812 123.851 71.812 124.721V131.283C71.812 132.154 72.1577 132.988 72.773 133.603C73.3883 134.219 74.2229 134.564 75.0932 134.564ZM222.747 75.5029H114.677L246.659 35.7184C247.073 35.5946 247.459 35.39 247.794 35.1165C248.129 34.843 248.406 34.506 248.611 34.1248C248.815 33.7437 248.942 33.3259 248.984 32.8955C249.027 32.4651 248.983 32.0306 248.857 31.6169L246.946 25.3375C246.822 24.9236 246.617 24.5382 246.343 24.2037C246.069 23.8691 245.732 23.5919 245.351 23.388C244.97 23.1841 244.552 23.0575 244.122 23.0155C243.692 22.9735 243.258 23.0169 242.844 23.1432L69.1706 75.5029H65.2496C58.2878 75.5029 51.6111 78.2685 46.6883 83.1913C41.7656 88.114 39 94.7907 39 101.753L39 206.751C39 213.713 41.7656 220.389 46.6883 225.312C51.6111 230.235 58.2878 233 65.2496 233H222.747C229.709 233 236.385 230.235 241.308 225.312C246.231 220.389 248.997 213.713 248.997 206.751V101.753C248.997 94.7907 246.231 88.114 241.308 83.1913C236.385 78.2685 229.709 75.5029 222.747 75.5029ZM235.872 206.751C235.872 210.232 234.489 213.57 232.028 216.031C229.566 218.493 226.228 219.876 222.747 219.876H65.2496C61.7687 219.876 58.4303 218.493 55.9689 216.031C53.5076 213.57 52.1248 210.232 52.1248 206.751V101.753C52.1248 98.2716 53.5076 94.9333 55.9689 92.4719C58.4303 90.0105 61.7687 88.6277 65.2496 88.6277H222.747C226.228 88.6277 229.566 90.0105 232.028 92.4719C234.489 94.9333 235.872 98.2716 235.872 101.753V206.751ZM183.373 114.877C175.585 114.877 167.972 117.187 161.497 121.513C155.022 125.84 149.976 131.989 146.995 139.184C144.015 146.378 143.236 154.295 144.755 161.933C146.274 169.571 150.024 176.587 155.531 182.094C161.037 187.6 168.053 191.35 175.691 192.869C183.329 194.389 191.246 193.609 198.441 190.629C205.635 187.649 211.785 182.602 216.111 176.127C220.438 169.652 222.747 162.039 222.747 154.252C222.747 143.809 218.599 133.794 211.215 126.41C203.83 119.026 193.815 114.877 183.373 114.877ZM183.373 180.501C178.181 180.501 173.106 178.962 168.789 176.077C164.472 173.193 161.108 169.093 159.121 164.297C157.134 159.5 156.615 154.223 157.627 149.131C158.64 144.039 161.14 139.361 164.811 135.69C168.482 132.019 173.16 129.519 178.252 128.506C183.344 127.494 188.621 128.013 193.418 130C198.214 131.987 202.314 135.351 205.198 139.668C208.083 143.985 209.622 149.06 209.622 154.252C209.615 161.211 206.847 167.883 201.925 172.805C197.004 177.726 190.332 180.494 183.373 180.501Z" fill="url(#paint0_linear)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear" x1="143.999" y1="233.004" x2="143.999" y2="23.0014" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#04468B"/>
|
||||
<stop offset="0.1742" stop-color="#0561A3"/>
|
||||
<stop offset="0.5126" stop-color="#0791CE"/>
|
||||
<stop offset="0.772" stop-color="#09AEE8"/>
|
||||
<stop offset="0.9194" stop-color="#09B9F2"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.9 KiB |
32
public/assets/img/icons/patrons.svg
Normal file
@@ -0,0 +1,32 @@
|
||||
<svg width="45" height="45" viewBox="0 0 45 45" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M29.2563 18.8027C29.2563 18.6753 29.2563 18.548 29.2563 18.4207C29.2716 18.3183 29.2833 18.215 29.3031 18.1135C29.4327 17.4528 29.7507 16.9004 30.2897 16.4854C30.8268 16.0718 31.4427 15.9111 32.117 15.9979C32.7162 16.0754 33.2165 16.3496 33.6258 16.7882C33.665 16.83 33.705 16.871 33.7406 16.9079C33.8418 16.8118 33.9331 16.7187 34.0312 16.6328C34.7424 16.0086 35.5625 15.8114 36.4649 16.1017C37.3696 16.3928 37.9072 17.0468 38.1514 17.9448C38.1937 18.0997 38.2099 18.2618 38.2383 18.4207C38.2383 18.548 38.2383 18.6753 38.2383 18.8027C38.2329 18.8281 38.2252 18.853 38.2225 18.8784C38.1613 19.4402 37.9522 19.9406 37.5774 20.368C37.3975 20.5732 37.2054 20.7682 37.0169 20.9654C36.016 22.0112 35.0146 23.057 34.0118 24.101C33.965 24.1495 33.9043 24.194 33.8418 24.2163C33.6933 24.2692 33.5782 24.2025 33.4765 24.0961C32.3352 22.9029 31.1925 21.7107 30.0499 20.5189C29.686 20.1396 29.4327 19.7011 29.3247 19.1864C29.2973 19.0591 29.2788 18.9304 29.2563 18.8027Z" stroke="url(#paint0_linear)" stroke-miterlimit="10"/>
|
||||
<path d="M35.6663 15.9707C35.9241 15.9707 36.1908 16.0139 36.4643 16.102C37.369 16.3928 37.9066 17.0472 38.1509 17.9452C38.1932 18.1001 38.2094 18.2621 38.2377 18.4211C38.2377 18.5484 38.2377 18.6757 38.2377 18.803C38.2323 18.8284 38.2251 18.8534 38.2219 18.8787C38.1608 19.4406 37.9516 19.941 37.5768 20.3684C37.3969 20.5736 37.2048 20.7686 37.0159 20.9658C36.0149 22.0116 35.014 23.0573 34.0108 24.1009C33.964 24.1494 33.9033 24.1939 33.8408 24.2162C33.8057 24.2287 33.7719 24.2344 33.7395 24.2344C33.6379 24.2344 33.5528 24.1766 33.4755 24.0955C32.3337 22.9024 31.1915 21.7106 30.0489 20.5184C29.6849 20.1386 29.4317 19.7006 29.3237 19.1855C29.2972 19.0586 29.2783 18.9299 29.2562 18.8022C29.2562 18.6748 29.2562 18.5475 29.2562 18.4202C29.2715 18.3178 29.2832 18.2145 29.303 18.113C29.4326 17.4523 29.7511 16.8998 30.2896 16.4849C30.7327 16.1439 31.2293 15.9747 31.7678 15.9747C31.8821 15.9747 31.9986 15.9823 32.1164 15.9974C32.7157 16.0749 33.2159 16.3491 33.6253 16.7876C33.6644 16.8295 33.7044 16.8705 33.74 16.9074C33.8412 16.8112 33.9325 16.7182 34.0306 16.6323C34.5263 16.1982 35.0743 15.9707 35.6663 15.9707ZM35.6663 15.5255C34.9758 15.5255 34.3311 15.7806 33.7503 16.2841C33.3 15.8781 32.771 15.6337 32.1749 15.5567C32.0382 15.5389 31.901 15.53 31.7678 15.53C31.124 15.53 30.5338 15.733 30.0133 16.1337C29.4033 16.6029 29.016 17.2404 28.8612 18.028C28.8459 18.1063 28.8347 18.1856 28.8239 18.2644L28.8109 18.3543L28.8059 18.3868V18.4197V18.8017V18.8396L28.8127 18.877L28.8315 18.9914C28.8473 19.0862 28.863 19.1815 28.8828 19.2754C29.0029 19.8475 29.2855 20.3684 29.7223 20.8242C30.8649 22.016 32.0071 23.2078 33.1489 24.401C33.3257 24.5862 33.5241 24.6796 33.7395 24.6796C33.8246 24.6796 33.91 24.6645 33.9933 24.6347C34.1512 24.5786 34.2677 24.4798 34.3374 24.4067C35.3401 23.3632 36.342 22.3174 37.3429 21.2712L37.4545 21.1555C37.6074 20.9965 37.7658 20.8318 37.9169 20.6595C38.3443 20.1725 38.5976 19.5893 38.6696 18.9255L38.6786 18.8925L38.688 18.848V18.8026V18.4206V18.3814L38.6813 18.3432C38.6727 18.2964 38.6655 18.2497 38.6583 18.2025C38.6399 18.0827 38.621 17.9594 38.5854 17.829C38.2903 16.7436 37.6047 16.0001 36.6033 15.6778C36.288 15.5767 35.9722 15.5255 35.6663 15.5255Z" stroke="url(#paint1_linear)" stroke-miterlimit="10"/>
|
||||
<path d="M30.1406 32.1085C30.1406 32.8088 30.1406 34.9591 30.1406 37.1851C25.1921 37.1851 11.2703 37.1851 6.7478 37.1851C6.7478 34.9591 6.7478 32.8413 6.7478 32.1085C6.7478 26.04 12.2568 21.0218 18.4442 21.0218C24.6316 21.0218 30.1406 26.04 30.1406 32.1085Z" stroke="url(#paint2_linear)" stroke-width="2" stroke-miterlimit="10"/>
|
||||
<path d="M18.9258 20.7494C22.5947 20.7494 25.5689 17.806 25.5689 14.1751C25.5689 10.5443 22.5947 7.60092 18.9258 7.60092C15.2569 7.60092 12.2827 10.5443 12.2827 14.1751C12.2827 17.806 15.2569 20.7494 18.9258 20.7494Z" stroke="url(#paint3_linear)" stroke-width="2" stroke-miterlimit="10"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear" x1="22.7181" y1="37.1853" x2="22.7181" y2="7.60122" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C433FF"/>
|
||||
<stop offset="0.2577" stop-color="#D72EF0"/>
|
||||
<stop offset="0.7304" stop-color="#F425D8"/>
|
||||
<stop offset="1" stop-color="#FF22CF"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear" x1="22.7179" y1="37.1852" x2="22.7179" y2="7.60115" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C433FF"/>
|
||||
<stop offset="0.2577" stop-color="#D72EF0"/>
|
||||
<stop offset="0.7304" stop-color="#F425D8"/>
|
||||
<stop offset="1" stop-color="#FF22CF"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint2_linear" x1="22.7179" y1="37.1851" x2="22.7179" y2="7.60103" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C433FF"/>
|
||||
<stop offset="0.2577" stop-color="#D72EF0"/>
|
||||
<stop offset="0.7304" stop-color="#F425D8"/>
|
||||
<stop offset="1" stop-color="#FF22CF"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint3_linear" x1="22.7177" y1="37.1851" x2="22.7177" y2="7.60106" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C433FF"/>
|
||||
<stop offset="0.2577" stop-color="#D72EF0"/>
|
||||
<stop offset="0.7304" stop-color="#F425D8"/>
|
||||
<stop offset="1" stop-color="#FF22CF"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.1 KiB |
11
public/assets/img/icons/players.svg
Normal file
@@ -0,0 +1,11 @@
|
||||
<svg width="289" height="287" viewBox="0 0 289 287" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M230.514 189.09C236.815 183.978 241.035 176.198 241.035 167.49C241.035 152.136 228.587 139.645 213.182 139.645C197.777 139.645 185.284 152.138 185.284 167.49C185.284 175.721 188.93 183.106 194.644 188.209C192.273 189.193 189.673 190.401 187.521 191.753L149.2 168.42V146.37H192.4V125.763C192.4 108.971 182.13 94.0984 167.157 87.064C173.458 81.9525 177.675 74.172 177.675 65.4644C177.675 50.1099 165.227 37.6196 149.822 37.6196C134.417 37.6196 121.924 50.1127 121.924 65.4644C121.924 73.6927 125.212 81.0772 130.926 86.18C114.96 92.8097 103.12 108.268 103.12 125.763V146.37H137.68V169.47L104.076 192.468C102.164 191.188 100.312 190.077 98.2125 189.09C104.514 183.978 108.644 176.198 108.644 167.49C108.644 152.136 96.1533 139.645 80.7453 139.645C65.3373 139.645 52.8266 152.138 52.8266 167.49C52.8266 175.721 56.104 183.106 61.8208 188.209C45.8512 194.835 34 210.293 34 227.786V249.69H123.28V227.786C123.28 217.439 119.596 207.816 113.004 200.3L144.811 178.881L178.127 199.511C171.102 207.136 166.48 217.064 166.48 227.786V249.69H255.76V227.786C255.76 210.993 245.487 196.121 230.514 189.09ZM149.908 49.0996C158.966 49.0996 166.33 56.4411 166.33 65.4644C166.33 74.4876 158.963 81.8291 149.908 81.8291C140.854 81.8291 133.487 74.4876 133.487 65.4644C133.487 56.4411 140.854 49.0996 149.908 49.0996ZM114.64 134.89V125.763C114.64 108.962 130.117 94.2246 147.76 94.2246C165.403 94.2246 180.88 108.962 180.88 125.763V134.89H149.908H138.388H114.64ZM80.7885 151.122C89.8461 151.122 97.2102 158.464 97.2102 167.487C97.2102 176.51 89.8432 183.852 80.7885 183.852C71.7338 183.852 64.3667 176.51 64.3667 167.487C64.3667 158.464 71.7338 151.122 80.7885 151.122ZM111.76 238.21H45.52V227.786C45.52 210.985 60.9971 196.25 78.64 196.25C96.2829 196.25 111.76 210.985 111.76 227.786V238.21ZM213.268 151.122C222.326 151.122 229.69 158.464 229.69 167.487C229.69 176.51 222.323 183.852 213.268 183.852C204.214 183.852 196.847 176.51 196.847 167.487C196.847 158.464 204.214 151.122 213.268 151.122ZM244.24 238.21H178V227.786C178 210.985 193.477 196.25 211.12 196.25C228.763 196.25 244.24 210.985 244.24 227.786V238.21Z" fill="url(#paint0_linear)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear" x1="144.88" y1="249.69" x2="144.88" y2="37.6202" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C433FF"/>
|
||||
<stop offset="0.2577" stop-color="#D72EF0"/>
|
||||
<stop offset="0.7304" stop-color="#F425D8"/>
|
||||
<stop offset="1" stop-color="#FF22CF"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.5 KiB |
56
public/assets/img/icons/raids.svg
Normal file
@@ -0,0 +1,56 @@
|
||||
<svg width="288" height="288" viewBox="0 0 288 288" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M212.076 188.451C212.211 183.856 211.249 179.508 210.42 175.783C208.704 168.094 207.997 163.893 212.064 159.823C214.306 157.582 214.306 153.948 212.064 151.707C209.823 149.465 206.189 149.465 203.948 151.707L190.579 165.075L171.213 145.708L242.016 74.9055L250.316 39.3691L214.487 47.3277L143.658 118.156L72.8291 47.3277L37 39.372L45.3 74.9083L116.103 145.711L96.7362 165.078L83.3677 151.71C81.1263 149.468 77.4928 149.468 75.2514 151.71C73.0099 153.951 73.0099 157.584 75.2514 159.826C79.3182 163.893 78.6121 168.094 76.893 175.786C76.0636 179.511 75.105 183.859 75.237 188.454L44.241 219.447C37.1636 226.53 37.1665 238.048 44.241 245.125C47.6707 248.555 52.2311 250.446 57.0843 250.446C61.9374 250.446 66.495 248.558 69.9246 245.125L100.757 214.293C101.822 214.393 102.881 214.456 103.92 214.456C108.297 214.456 112.424 213.673 116.025 212.987C123.266 211.606 126.685 211.256 129.087 213.656C130.209 214.778 131.676 215.337 133.145 215.337C134.614 215.337 136.081 214.778 137.203 213.656C139.445 211.414 139.445 207.781 137.203 205.539L124.294 192.63L143.661 173.263L163.027 192.63L150.118 205.539C147.877 207.781 147.877 211.414 150.118 213.656C151.24 214.778 152.707 215.337 154.176 215.337C155.646 215.337 157.112 214.778 158.235 213.656C160.637 211.253 164.061 211.604 171.296 212.987C174.898 213.67 179.019 214.456 183.402 214.456C184.441 214.456 185.497 214.393 186.561 214.293L217.394 245.125C220.824 248.555 225.384 250.446 230.237 250.446C235.085 250.446 239.645 248.558 243.077 245.125C250.155 238.048 250.158 226.53 243.077 219.447L212.076 188.451ZM55.7296 69.1023L52.3287 54.5314L67.0776 57.8089L135.539 126.273L124.219 137.592L55.7296 69.1023ZM61.8054 237.003C59.2884 239.526 54.8858 239.526 52.3631 237.003C49.76 234.4 49.7629 230.161 52.3631 227.558L79.0225 200.898C80.0357 202.48 81.264 204.05 82.8109 205.6C84.7195 207.508 86.6539 209.003 88.5969 210.214L61.8054 237.003ZM113.876 201.708C105.435 203.312 98.1482 204.701 90.9273 197.483C85.3796 191.935 86.1918 186.83 88.1004 178.283C88.4333 176.796 88.7805 175.241 89.0675 173.639L116.628 201.2C115.698 201.361 114.78 201.536 113.876 201.708ZM104.855 173.191L220.238 57.8089L234.984 54.5314L231.583 69.1023L116.175 184.511L104.855 173.191ZM151.774 165.147L163.096 153.825L182.463 173.191L171.141 184.514L151.774 165.147ZM173.44 201.708C172.536 201.536 171.617 201.363 170.687 201.2L198.248 173.639C198.535 175.241 198.882 176.796 199.215 178.283C201.124 186.83 201.933 191.935 196.388 197.48C189.165 204.698 181.872 203.306 173.44 201.708ZM234.955 237.003C232.427 239.532 228.033 239.526 225.51 237.003L198.719 210.212C200.662 209 202.599 207.505 204.505 205.597C206.052 204.05 207.28 202.477 208.293 200.896L234.953 227.555C237.556 230.164 237.558 234.4 234.955 237.003Z" fill="url(#paint0_linear)"/>
|
||||
<path d="M141.474 98.27C144.642 98.27 147.214 95.6985 147.214 92.53V43.74C147.214 40.5715 144.642 38 141.474 38C138.305 38 135.734 40.5715 135.734 43.74V92.53C135.734 95.6985 138.305 98.27 141.474 98.27Z" fill="url(#paint1_linear)"/>
|
||||
<path d="M171.462 68.3183C172.932 68.3183 174.398 67.7586 175.52 66.6364L193.463 48.6932C195.705 46.4517 195.705 42.8183 193.463 40.5769C191.222 38.3354 187.589 38.3354 185.347 40.5769L167.404 58.5201C165.162 60.7616 165.162 64.395 167.404 66.6364C168.523 67.7586 169.993 68.3183 171.462 68.3183Z" fill="url(#paint2_linear)"/>
|
||||
<path d="M112.036 66.6364C113.158 67.7586 114.625 68.3183 116.094 68.3183C117.564 68.3183 119.03 67.7586 120.152 66.6364C122.394 64.395 122.394 60.7616 120.152 58.5201L102.209 40.5769C99.9676 38.3354 96.3342 38.3354 94.0927 40.5769C91.8513 42.8183 91.8513 46.4517 94.0927 48.6932L112.036 66.6364Z" fill="url(#paint3_linear)"/>
|
||||
<path d="M212.076 188.451C212.211 183.856 211.249 179.508 210.42 175.783C208.704 168.094 207.997 163.893 212.064 159.823C214.306 157.582 214.306 153.948 212.064 151.707C209.823 149.465 206.189 149.465 203.948 151.707L190.579 165.075L171.213 145.708L242.016 74.9055L250.316 39.3691L214.487 47.3277L143.658 118.156L72.8291 47.3277L37 39.372L45.3 74.9083L116.103 145.711L96.7362 165.078L83.3677 151.71C81.1263 149.468 77.4928 149.468 75.2514 151.71C73.0099 153.951 73.0099 157.584 75.2514 159.826C79.3182 163.893 78.6121 168.094 76.893 175.786C76.0636 179.511 75.105 183.859 75.237 188.454L44.241 219.447C37.1636 226.53 37.1665 238.048 44.241 245.125C47.6707 248.555 52.2311 250.446 57.0843 250.446C61.9374 250.446 66.495 248.558 69.9246 245.125L100.757 214.293C101.822 214.393 102.881 214.456 103.92 214.456C108.297 214.456 112.424 213.673 116.025 212.987C123.266 211.606 126.685 211.256 129.087 213.656C130.209 214.778 131.676 215.337 133.145 215.337C134.614 215.337 136.081 214.778 137.203 213.656C139.445 211.414 139.445 207.781 137.203 205.539L124.294 192.63L143.661 173.263L163.027 192.63L150.118 205.539C147.877 207.781 147.877 211.414 150.118 213.656C151.24 214.778 152.707 215.337 154.176 215.337C155.646 215.337 157.112 214.778 158.235 213.656C160.637 211.253 164.061 211.604 171.296 212.987C174.898 213.67 179.019 214.456 183.402 214.456C184.441 214.456 185.497 214.393 186.561 214.293L217.394 245.125C220.824 248.555 225.384 250.446 230.237 250.446C235.085 250.446 239.645 248.558 243.077 245.125C250.155 238.048 250.158 226.53 243.077 219.447L212.076 188.451ZM55.7296 69.1023L52.3287 54.5314L67.0776 57.8089L135.539 126.273L124.219 137.592L55.7296 69.1023ZM61.8054 237.003C59.2884 239.526 54.8858 239.526 52.3631 237.003C49.76 234.4 49.7629 230.161 52.3631 227.558L79.0225 200.898C80.0357 202.48 81.264 204.05 82.8109 205.6C84.7195 207.508 86.6539 209.003 88.5969 210.214L61.8054 237.003ZM113.876 201.708C105.435 203.312 98.1482 204.701 90.9273 197.483C85.3796 191.935 86.1918 186.83 88.1004 178.283C88.4333 176.796 88.7805 175.241 89.0675 173.639L116.628 201.2C115.698 201.361 114.78 201.536 113.876 201.708ZM104.855 173.191L220.238 57.8089L234.984 54.5314L231.583 69.1023L116.175 184.511L104.855 173.191ZM151.774 165.147L163.096 153.825L182.463 173.191L171.141 184.514L151.774 165.147ZM173.44 201.708C172.536 201.536 171.617 201.363 170.687 201.2L198.248 173.639C198.535 175.241 198.882 176.796 199.215 178.283C201.124 186.83 201.933 191.935 196.388 197.48C189.165 204.698 181.872 203.306 173.44 201.708ZM234.955 237.003C232.427 239.532 228.033 239.526 225.51 237.003L198.719 210.212C200.662 209 202.599 207.505 204.505 205.597C206.052 204.05 207.28 202.477 208.293 200.896L234.953 227.555C237.556 230.164 237.558 234.4 234.955 237.003Z" fill="url(#paint4_linear)"/>
|
||||
<path d="M141.474 98.27C144.642 98.27 147.214 95.6985 147.214 92.53V43.74C147.214 40.5715 144.642 38 141.474 38C138.305 38 135.734 40.5715 135.734 43.74V92.53C135.734 95.6985 138.305 98.27 141.474 98.27Z" fill="url(#paint5_linear)"/>
|
||||
<path d="M171.462 68.3183C172.932 68.3183 174.398 67.7586 175.52 66.6364L193.463 48.6932C195.705 46.4517 195.705 42.8183 193.463 40.5769C191.222 38.3354 187.589 38.3354 185.347 40.5769L167.404 58.5201C165.162 60.7616 165.162 64.395 167.404 66.6364C168.523 67.7586 169.993 68.3183 171.462 68.3183Z" fill="url(#paint6_linear)"/>
|
||||
<path d="M112.036 66.6364C113.158 67.7586 114.625 68.3183 116.094 68.3183C117.564 68.3183 119.03 67.7586 120.152 66.6364C122.394 64.395 122.394 60.7616 120.152 58.5201L102.209 40.5769C99.9676 38.3354 96.3342 38.3354 94.0927 40.5769C91.8513 42.8183 91.8513 46.4517 94.0927 48.6932L112.036 66.6364Z" fill="url(#paint7_linear)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear" x1="143.657" y1="250.44" x2="143.657" y2="39.3694" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C433FF"/>
|
||||
<stop offset="0.2577" stop-color="#D72EF0"/>
|
||||
<stop offset="0.7304" stop-color="#F425D8"/>
|
||||
<stop offset="1" stop-color="#FF22CF"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear" x1="141.474" y1="98.2686" x2="141.474" y2="37.9986" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C433FF"/>
|
||||
<stop offset="0.2577" stop-color="#D72EF0"/>
|
||||
<stop offset="0.7304" stop-color="#F425D8"/>
|
||||
<stop offset="1" stop-color="#FF22CF"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint2_linear" x1="180.432" y1="68.3183" x2="180.432" y2="38.895" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C433FF"/>
|
||||
<stop offset="0.2577" stop-color="#D72EF0"/>
|
||||
<stop offset="0.7304" stop-color="#F425D8"/>
|
||||
<stop offset="1" stop-color="#FF22CF"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint3_linear" x1="107.121" y1="68.3183" x2="107.121" y2="38.895" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C433FF"/>
|
||||
<stop offset="0.2577" stop-color="#D72EF0"/>
|
||||
<stop offset="0.7304" stop-color="#F425D8"/>
|
||||
<stop offset="1" stop-color="#FF22CF"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint4_linear" x1="143.657" y1="250.44" x2="143.657" y2="37.9987" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FE5F25"/>
|
||||
<stop offset="0.3798" stop-color="#FE962C"/>
|
||||
<stop offset="1" stop-color="#FFED37"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint5_linear" x1="143.656" y1="250.44" x2="143.656" y2="37.9986" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FE5F25"/>
|
||||
<stop offset="0.3798" stop-color="#FE962C"/>
|
||||
<stop offset="1" stop-color="#FFED37"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint6_linear" x1="143.656" y1="250.44" x2="143.656" y2="37.9982" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FE5F25"/>
|
||||
<stop offset="0.3798" stop-color="#FE962C"/>
|
||||
<stop offset="1" stop-color="#FFED37"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint7_linear" x1="143.656" y1="250.44" x2="143.656" y2="37.9982" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FE5F25"/>
|
||||
<stop offset="0.3798" stop-color="#FE962C"/>
|
||||
<stop offset="1" stop-color="#FFED37"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 9.4 KiB |
9
public/assets/img/icons/seeds.svg
Normal file
@@ -0,0 +1,9 @@
|
||||
<svg width="288" height="288" viewBox="0 0 288 288" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M168.045 121.962C168.866 121.962 169.348 121.893 170.169 121.753C220.652 113.209 234.313 75.9043 238.067 54.4281C238.963 49.3223 237.468 44.1075 234.124 40.1326C230.376 35.6726 224.774 33.3737 218.864 34.1486C191.777 37.6759 160.178 58.1045 152.78 104.84C152.691 105.408 152.627 105.979 152.604 106.55C137.29 89.7635 104.985 62.5415 68.4475 61.3849L67.9739 61.362C67.5119 61.339 67.0067 61.3161 66.6738 61.3161C60.5435 61.3161 54.9269 64.4329 51.6436 69.6563C48.4924 74.6759 48.1365 80.8378 50.6937 86.1358C59.1889 103.758 81.859 133.913 133.548 137.922C135.597 138.086 137.841 139.736 137.841 141.765V170.752C137.841 173.329 135.23 175.493 132.595 175.901C125.81 176.94 119.292 178.725 112.255 181.69C93.2271 189.694 79.0378 202.655 71.5586 219.172C68.4073 226.132 70.4881 233.407 76.8652 237.281C94.9232 248.239 119.754 254.278 146.867 254.278C177.054 254.278 206.411 246.818 223.519 234.81C227.54 231.983 230.183 225.979 229.426 221.433C227.85 211.937 221.444 205.631 214.763 200.236C210.647 196.906 205.949 193.663 200.401 190.325C189.019 183.475 177.677 178.831 165.316 176.518C164.615 176.38 163.671 176.073 163.671 171.774V121.038C163.671 121.632 166.292 121.962 168.045 121.962ZM164.096 106.636C170.505 66.152 197.333 48.5273 220.302 45.5339C220.549 45.5024 220.79 45.4851 221.028 45.4851C222.624 45.4851 224.162 46.2256 225.25 47.52C226.404 48.8947 226.892 50.6942 226.587 52.4535C223.353 70.9449 211.431 103.069 167.904 110.436C166.762 110.634 165.623 110.198 164.857 109.3C164.483 108.863 163.889 107.939 164.096 106.636ZM163.203 187.797C174.216 189.858 184.625 194.016 194.831 200.158C199.848 203.177 204.064 206.202 207.717 209.158C213.403 213.753 217.286 217.918 218.158 223.058C218.124 223.672 217.389 225.047 216.944 225.411C201.902 235.97 174.373 242.795 146.847 242.795C121.804 242.795 99.0359 237.35 82.7487 227.463C81.727 226.843 80.9062 225.982 81.8504 223.907C89.7658 206.429 104.985 197.058 116.362 192.274C122.495 189.691 128.522 188.141 134.337 187.249C142.614 185.975 149.321 179.038 149.321 170.749V141.762C149.321 133.677 142.525 127.108 134.437 126.477C88.4772 122.912 68.812 96.551 61.3873 81.1535C60.2335 78.7628 60.9223 76.7509 61.5423 75.7636C62.7075 73.9096 64.6046 72.7989 66.7571 72.7989C66.9436 72.7989 67.1761 72.8162 67.4315 72.8305L68.7919 72.8621C109.876 74.1564 146.451 113.309 152.191 122.272V171.774C152.191 180.433 155.871 186.422 163.203 187.797Z" fill="url(#paint0_linear)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear" x1="143.662" y1="254.272" x2="143.662" y2="33.9991" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.0112" stop-color="#009B5B"/>
|
||||
<stop offset="1" stop-color="#9CCE62"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.7 KiB |
147
public/assets/img/icons/welcometometagame.svg
Normal file
@@ -0,0 +1,147 @@
|
||||
<svg width="288" height="288" viewBox="0 0 288 288" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M163.237 89.1698L166.189 89.5085L165.846 92.4474C165.477 95.5986 167.744 98.4457 170.903 98.8102C171.128 98.8389 171.353 98.8504 171.574 98.8504C174.457 98.8504 176.946 96.6949 177.285 93.7704L177.628 90.8258L180.583 91.1645C180.808 91.1932 181.029 91.2047 181.251 91.2047C184.134 91.2047 186.625 89.0493 186.962 86.1219C187.328 82.9707 185.064 80.1236 181.902 79.762L178.947 79.4233L179.287 76.4816C179.653 73.3303 177.389 70.4833 174.227 70.1216C171.076 69.7198 168.208 72.0129 167.845 75.1642L167.505 78.106L164.553 77.7673C161.408 77.4 158.534 79.6586 158.171 82.8099C157.814 85.9611 160.077 88.8082 163.237 89.1698Z" fill="url(#paint0_linear)"/>
|
||||
<path d="M74.9792 59.7091L77.8995 60.243L77.3638 63.156C76.7907 66.2728 78.8614 69.2662 81.9891 69.8345C82.3404 69.8976 82.6889 69.9292 83.0316 69.9292C85.759 69.9292 88.1811 67.9919 88.6909 65.2224L89.2265 62.3093L92.1526 62.8431C92.5011 62.9034 92.8495 62.935 93.1923 62.935C95.9196 62.935 98.3446 60.9949 98.8544 58.2254C99.4246 55.1085 97.3539 52.1179 94.2233 51.5468L91.303 51.0159L91.8387 48.1028C92.4118 44.986 90.3411 41.9926 87.2134 41.4244C84.0656 40.8647 81.0847 42.9196 80.5116 46.0336L79.976 48.9466L77.0499 48.4128C73.9222 47.8618 70.9212 49.911 70.3481 53.0278C69.775 56.1475 71.8486 59.138 74.9792 59.7091Z" fill="url(#paint1_linear)"/>
|
||||
<path d="M59.3982 71.9091C61.2443 71.7656 62.2638 72.113 64.058 73.416C65.4001 74.3889 66.5262 75.6603 67.2923 76.9862C67.2232 77.058 67.1483 77.1297 67.0734 77.1957C64.8241 79.2076 63.9428 82.3331 64.827 85.1571C65.6679 87.8492 67.9749 89.7519 70.8462 90.1193C73.5678 90.4838 76.3528 89.244 78.0635 86.9136C78.5502 86.2449 78.939 85.5158 79.227 84.7122C79.2788 84.7151 79.3249 84.7209 79.3768 84.7238C82.1041 84.9878 84.6356 86.0439 86.5019 87.6941C87.9044 88.9397 89.0075 90.5355 89.7016 92.2891C87.9678 93.6236 87.3745 95.2882 87.1787 96.2668C86.5508 99.266 88.1493 102.397 91.0005 103.717C92.8926 104.584 95.1073 104.573 97.0888 103.669C98.0709 103.221 98.9406 102.578 99.6635 101.792C100.689 101.895 101.703 102.096 102.687 102.391C105.167 103.135 107.344 104.441 108.986 106.165C112.479 109.845 113.695 115.614 112.272 120.596C108.033 121.925 106.336 125.504 106.889 128.592C107.232 130.563 108.45 132.265 110.224 133.267C112.082 134.315 114.372 134.49 116.339 133.732C118.127 133.055 119.291 131.849 119.999 130.911C122.698 130.672 125.739 130.842 127.104 132.483C127.827 133.359 128.222 134.762 128.155 136.24C128.083 137.85 127.516 139.653 126.476 141.604C124.984 144.405 126.053 147.881 128.861 149.368C129.722 149.821 130.647 150.036 131.559 150.036C133.622 150.036 135.617 148.931 136.654 146.988C138.503 143.521 139.514 140.077 139.667 136.748C139.86 132.377 138.552 128.262 135.983 125.168C132.752 121.273 128.363 119.812 124.201 119.439C125.036 111.845 122.655 103.852 117.352 98.273C114.334 95.0959 110.412 92.7167 106.011 91.3965C104.459 90.9315 102.863 90.6015 101.21 90.4121C100.006 86.0698 97.5668 82.135 94.1598 79.1158C90.4849 75.8583 85.6293 73.7947 80.4856 73.2954C79.7483 73.2265 79.0081 73.1863 78.291 73.172C76.5342 69.3089 73.6139 66.1434 70.8491 64.1373C68.0036 62.0709 64.3489 59.9987 58.5313 60.4608C55.3576 60.7018 52.9816 63.457 53.2235 66.6198C53.4597 69.7796 56.21 72.1474 59.3982 71.9091Z" fill="url(#paint2_linear)"/>
|
||||
<path d="M178.431 105.351C178.307 105.586 178.186 105.828 178.068 106.074C177.406 106.221 176.726 106.404 176.038 106.634C169.978 108.637 164.832 113.031 161.914 118.688C159.973 122.448 159.063 126.678 159.222 130.88C157.836 131.58 156.566 132.464 155.46 133.509C152.52 136.284 150.587 139.602 148.877 142.529C147.275 145.27 148.208 148.783 150.959 150.376C151.869 150.907 152.865 151.153 153.85 151.153C155.832 151.153 157.764 150.135 158.833 148.301C160.201 145.962 161.494 143.743 163.098 142.119C163.593 142.615 164.166 143.083 164.838 143.491C166.931 144.75 169.569 145.012 171.888 144.197C174.054 143.427 175.727 141.789 176.487 139.682C177.662 136.39 176.366 132.653 173.325 130.598C172.542 130.068 171.683 129.666 170.736 129.393C170.814 127.493 171.292 125.599 172.153 123.934C173.44 121.437 175.635 119.337 178.195 118.108C178.705 118.915 179.324 119.589 180.047 120.149C182.552 122.103 185.962 122.221 188.523 120.485C191.406 118.524 192.396 114.57 190.876 111.163C190.501 110.331 190.035 109.464 189.482 108.809C190.354 107.174 191.149 107.372 191.99 106.336C193.26 107.122 194.726 108.873 196.232 108.873C196.241 108.873 196.247 108.873 196.247 108.873C198.407 108.873 200.478 106.625 201.938 105.004C203.337 103.445 204.017 100.977 203.798 98.928C203.597 97.1228 202.704 95.0163 201.362 93.7908C202.145 93.1048 203.11 92.3069 204.181 91.9281C206.874 90.9695 210.295 90.8261 214.638 91.7387C217.763 92.3759 220.805 90.3439 221.458 87.2414C222.109 84.1389 220.113 81.068 217 80.4166C210.523 79.0705 205.06 79.214 200.305 80.9073C194.32 83.0368 189.813 87.7293 188.318 93.2082C183.226 96.0437 180.528 101.273 178.431 105.351Z" fill="url(#paint3_linear)"/>
|
||||
<path d="M126.2 73.8782C129.132 74.412 131.669 73.1406 133.046 72.2251C136.341 74.3547 138.702 78.0684 139.042 81.8797C136.122 81.6788 133.276 82.7322 131.375 84.7986C128.458 87.9642 128.334 93.024 131.09 96.3216C133.507 99.2174 136.954 100.337 140.327 99.295C141.412 98.9621 142.417 98.4196 143.333 97.7366C146.254 100.845 147.423 103.695 147.431 107.236C147.437 110.683 146.475 114.532 144.399 119.348C143.143 122.264 144.497 125.636 147.42 126.887C148.163 127.203 148.932 127.355 149.689 127.355C151.921 127.355 154.05 126.052 154.986 123.877C157.699 117.574 158.96 112.279 158.951 107.216C158.931 98.4138 154.703 92.4959 149.799 87.9499C150.19 86.776 150.421 85.7456 150.49 85.0109C151.294 76.731 147.359 68.6376 140.923 63.7127C144.782 57.746 146.867 50.6054 146.614 43.5366C146.498 40.3681 143.811 37.8597 140.649 38.0061C137.47 38.1209 134.987 40.7814 135.099 43.9499C135.295 49.3656 133.438 54.8473 130.094 59.1379C128.57 58.9542 126.623 58.9886 124.633 59.9731C122.707 60.9374 121.244 62.668 120.622 64.7287C120.034 66.6717 120.256 68.6864 121.249 70.4084C122.309 72.2337 124.112 73.4994 126.2 73.8782Z" fill="url(#paint4_linear)"/>
|
||||
<path d="M85.3726 121.199C88.207 121.199 90.5048 118.909 90.5048 116.085C90.5048 113.26 88.207 110.97 85.3726 110.97C82.5382 110.97 80.2405 113.26 80.2405 116.085C80.2405 118.909 82.5382 121.199 85.3726 121.199Z" fill="url(#paint5_linear)"/>
|
||||
<path d="M111.293 86.7592C114.127 86.7592 116.425 84.4695 116.425 81.6449C116.425 78.8203 114.127 76.5305 111.293 76.5305C108.458 76.5305 106.16 78.8203 106.16 81.6449C106.16 84.4695 108.458 86.7592 111.293 86.7592Z" fill="url(#paint6_linear)"/>
|
||||
<path d="M212.09 121.199C214.924 121.199 217.222 118.909 217.222 116.085C217.222 113.26 214.924 110.97 212.09 110.97C209.255 110.97 206.958 113.26 206.958 116.085C206.958 118.909 209.255 121.199 212.09 121.199Z" fill="url(#paint7_linear)"/>
|
||||
<path d="M145.853 167.119C148.687 167.119 150.985 164.829 150.985 162.005C150.985 159.18 148.687 156.89 145.853 156.89C143.018 156.89 140.72 159.18 140.72 162.005C140.72 164.829 143.018 167.119 145.853 167.119Z" fill="url(#paint8_linear)"/>
|
||||
<path d="M235.395 104.246L225.157 96.3334C222.605 94.4478 219.224 94.9788 217.329 97.5245C215.434 100.07 216.082 103.666 218.639 105.555L229.396 113.467C230.514 114.294 231.547 115.244 232.432 116.286L145.574 179.959L58.4681 116.291C59.358 115.25 60.3689 114.3 61.4892 113.473L75.0598 103.488C77.6201 101.606 78.1587 98.0124 76.2694 95.461C74.383 92.9153 70.7743 92.3671 68.214 94.2555L54.3497 104.24C46.8012 109.794 42.0002 118.694 42.0002 128.044V225.429C42.0002 237.17 52.181 249.503 63.966 249.503H226.945C238.727 249.503 246.48 237.17 246.48 225.426V128.012C246.48 118.685 242.909 109.8 235.395 104.246ZM234.96 128.012V225.426C234.96 226.324 234.923 227.538 234.923 227.538L170.849 175.347L235.611 127.384C235.62 127.593 234.96 127.8 234.96 128.012ZM119.691 175.267L53.3964 228.635C53.3964 227.891 53.5202 128.044 53.5202 128.044C53.5202 127.817 53.8486 127.594 53.8572 127.367L119.691 175.267ZM62.1602 238.023L129.296 182.982L140.378 190.733L140.64 190.742C142.144 191.718 143.866 192.117 145.588 192.117C147.313 192.117 149.033 191.586 150.539 190.61L161.719 182.393L228.843 238.02C228.843 238.02 62.2034 238.023 62.1602 238.023Z" fill="url(#paint9_linear)"/>
|
||||
<path d="M163.237 89.1698L166.189 89.5085L165.846 92.4474C165.478 95.5986 167.744 98.4457 170.904 98.8102C171.128 98.8389 171.353 98.8504 171.575 98.8504C174.457 98.8504 176.946 96.6949 177.286 93.7704L177.628 90.8258L180.583 91.1645C180.808 91.1932 181.03 91.2047 181.251 91.2047C184.134 91.2047 186.625 89.0493 186.962 86.1219C187.328 82.9707 185.064 80.1236 181.902 79.762L178.947 79.4233L179.287 76.4816C179.653 73.3303 177.389 70.4833 174.227 70.1216C171.076 69.7198 168.208 72.0129 167.845 75.1642L167.505 78.106L164.553 77.7673C161.408 77.4 158.534 79.6586 158.171 82.8099C157.814 85.9611 160.078 88.8082 163.237 89.1698Z" fill="url(#paint10_linear)"/>
|
||||
<path d="M74.9794 59.7091L77.8997 60.243L77.3641 63.156C76.7909 66.2728 78.8616 69.2662 81.9893 69.8345C82.3407 69.8976 82.6891 69.9292 83.0319 69.9292C85.7592 69.9292 88.1813 67.9919 88.6911 65.2224L89.2268 62.3093L92.1529 62.8431C92.5013 62.9034 92.8498 62.935 93.1925 62.935C95.9199 62.935 98.3448 60.9949 98.8546 58.2254C99.4248 55.1085 97.3541 52.1179 94.2236 51.5468L91.3033 51.0159L91.8389 48.1028C92.412 44.986 90.3413 41.9926 87.2137 41.4244C84.0658 40.8647 81.085 42.9196 80.5119 46.0336L79.9762 48.9466L77.0501 48.4128C73.9224 47.8618 70.9215 49.911 70.3484 53.0278C69.7753 56.1475 71.8489 59.138 74.9794 59.7091Z" fill="url(#paint11_linear)"/>
|
||||
<path d="M59.3982 71.9091C61.2443 71.7656 62.2638 72.113 64.058 73.416C65.4001 74.3889 66.5262 75.6603 67.2923 76.9862C67.2232 77.058 67.1483 77.1297 67.0734 77.1957C64.8241 79.2076 63.9428 82.3331 64.827 85.1571C65.6679 87.8492 67.9749 89.7519 70.8462 90.1193C73.5678 90.4838 76.3528 89.244 78.0635 86.9136C78.5502 86.2449 78.939 85.5158 79.227 84.7122C79.2788 84.7151 79.3249 84.7209 79.3768 84.7238C82.1041 84.9878 84.6356 86.0439 86.5019 87.6941C87.9044 88.9397 89.0075 90.5355 89.7016 92.2891C87.9678 93.6236 87.3745 95.2882 87.1787 96.2668C86.5508 99.266 88.1493 102.397 91.0005 103.717C92.8926 104.584 95.1073 104.573 97.0888 103.669C98.0709 103.221 98.9406 102.578 99.6635 101.792C100.689 101.895 101.703 102.096 102.687 102.391C105.167 103.135 107.344 104.441 108.986 106.165C112.479 109.845 113.695 115.614 112.272 120.596C108.033 121.925 106.336 125.504 106.889 128.592C107.232 130.563 108.45 132.265 110.224 133.267C112.082 134.315 114.372 134.49 116.339 133.732C118.127 133.055 119.291 131.849 119.999 130.911C122.698 130.672 125.739 130.842 127.104 132.483C127.827 133.359 128.222 134.762 128.155 136.24C128.083 137.85 127.516 139.653 126.476 141.604C124.984 144.405 126.053 147.881 128.861 149.368C129.722 149.821 130.647 150.036 131.559 150.036C133.622 150.036 135.617 148.931 136.654 146.988C138.503 143.521 139.514 140.077 139.667 136.748C139.86 132.377 138.552 128.262 135.983 125.168C132.752 121.273 128.363 119.812 124.201 119.439C125.036 111.845 122.655 103.852 117.352 98.273C114.334 95.0959 110.412 92.7167 106.011 91.3965C104.459 90.9315 102.863 90.6015 101.21 90.4121C100.006 86.0698 97.5668 82.135 94.1598 79.1158C90.4849 75.8583 85.6293 73.7947 80.4856 73.2954C79.7483 73.2265 79.0081 73.1863 78.291 73.172C76.5342 69.3089 73.6139 66.1434 70.8491 64.1373C68.0036 62.0709 64.3489 59.9987 58.5313 60.4608C55.3576 60.7018 52.9816 63.457 53.2235 66.6198C53.4597 69.7796 56.21 72.1474 59.3982 71.9091Z" fill="url(#paint12_linear)"/>
|
||||
<path d="M178.431 105.351C178.307 105.586 178.186 105.828 178.068 106.074C177.406 106.221 176.726 106.404 176.038 106.634C169.978 108.637 164.832 113.031 161.914 118.688C159.973 122.448 159.063 126.678 159.222 130.88C157.836 131.58 156.566 132.464 155.46 133.509C152.52 136.284 150.587 139.602 148.877 142.529C147.275 145.27 148.208 148.783 150.959 150.376C151.869 150.907 152.865 151.153 153.85 151.153C155.832 151.153 157.764 150.135 158.833 148.301C160.201 145.962 161.494 143.743 163.098 142.119C163.593 142.615 164.166 143.083 164.838 143.491C166.931 144.75 169.569 145.012 171.888 144.197C174.054 143.427 175.727 141.789 176.487 139.682C177.662 136.39 176.366 132.653 173.325 130.598C172.542 130.068 171.683 129.666 170.736 129.393C170.814 127.493 171.292 125.599 172.153 123.934C173.44 121.437 175.635 119.337 178.195 118.108C178.705 118.915 179.324 119.589 180.047 120.149C182.552 122.103 185.962 122.221 188.523 120.485C191.406 118.524 192.396 114.57 190.876 111.163C190.501 110.331 190.035 109.464 189.482 108.809C190.354 107.174 191.149 107.372 191.99 106.336C193.26 107.122 194.726 108.873 196.232 108.873C196.241 108.873 196.247 108.873 196.247 108.873C198.407 108.873 200.478 106.625 201.938 105.004C203.337 103.445 204.017 100.977 203.798 98.928C203.597 97.1228 202.704 95.0163 201.362 93.7908C202.145 93.1048 203.11 92.3069 204.181 91.9281C206.874 90.9695 210.295 90.8261 214.638 91.7387C217.763 92.3759 220.805 90.3439 221.458 87.2414C222.109 84.1389 220.113 81.068 217 80.4166C210.523 79.0705 205.06 79.214 200.305 80.9073C194.32 83.0368 189.813 87.7293 188.318 93.2082C183.226 96.0437 180.528 101.273 178.431 105.351Z" fill="url(#paint13_linear)"/>
|
||||
<path d="M126.2 73.8782C129.132 74.412 131.669 73.1406 133.046 72.2251C136.341 74.3547 138.702 78.0684 139.042 81.8797C136.122 81.6788 133.277 82.7322 131.376 84.7986C128.458 87.9642 128.334 93.024 131.091 96.3216C133.507 99.2174 136.954 100.337 140.327 99.295C141.413 98.9621 142.418 98.4196 143.333 97.7366C146.254 100.845 147.423 103.695 147.432 107.236C147.437 110.683 146.476 114.532 144.399 119.348C143.143 122.264 144.497 125.636 147.42 126.887C148.163 127.203 148.932 127.355 149.69 127.355C151.922 127.355 154.05 126.052 154.986 123.877C157.699 117.574 158.96 112.279 158.952 107.216C158.932 98.4138 154.704 92.4959 149.799 87.9499C150.191 86.776 150.421 85.7456 150.49 85.0109C151.294 76.731 147.36 68.6376 140.923 63.7127C144.782 57.746 146.867 50.6054 146.614 43.5366C146.499 40.3681 143.812 37.8597 140.649 38.0061C137.47 38.1209 134.987 40.7814 135.1 43.9499C135.295 49.3656 133.438 54.8473 130.094 59.1379C128.571 58.9542 126.624 58.9886 124.634 59.9731C122.707 60.9374 121.244 62.668 120.622 64.7287C120.034 66.6717 120.256 68.6864 121.25 70.4084C122.309 72.2337 124.112 73.4994 126.2 73.8782Z" fill="url(#paint14_linear)"/>
|
||||
<path d="M85.3726 121.199C88.207 121.199 90.5048 118.909 90.5048 116.085C90.5048 113.26 88.207 110.97 85.3726 110.97C82.5382 110.97 80.2405 113.26 80.2405 116.085C80.2405 118.909 82.5382 121.199 85.3726 121.199Z" fill="url(#paint15_linear)"/>
|
||||
<path d="M111.293 86.7592C114.127 86.7592 116.425 84.4695 116.425 81.6449C116.425 78.8203 114.127 76.5305 111.293 76.5305C108.458 76.5305 106.161 78.8203 106.161 81.6449C106.161 84.4695 108.458 86.7592 111.293 86.7592Z" fill="url(#paint16_linear)"/>
|
||||
<path d="M212.09 121.199C214.924 121.199 217.222 118.909 217.222 116.085C217.222 113.26 214.924 110.97 212.09 110.97C209.256 110.97 206.958 113.26 206.958 116.085C206.958 118.909 209.256 121.199 212.09 121.199Z" fill="url(#paint17_linear)"/>
|
||||
<path d="M145.853 167.119C148.687 167.119 150.985 164.829 150.985 162.005C150.985 159.18 148.687 156.89 145.853 156.89C143.018 156.89 140.72 159.18 140.72 162.005C140.72 164.829 143.018 167.119 145.853 167.119Z" fill="url(#paint18_linear)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear" x1="172.567" y1="98.8504" x2="172.567" y2="70.076" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C433FF"/>
|
||||
<stop offset="0.2577" stop-color="#D72EF0"/>
|
||||
<stop offset="0.7304" stop-color="#F425D8"/>
|
||||
<stop offset="1" stop-color="#FF22CF"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear" x1="84.601" y1="69.9292" x2="84.601" y2="41.3325" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C433FF"/>
|
||||
<stop offset="0.2577" stop-color="#D72EF0"/>
|
||||
<stop offset="0.7304" stop-color="#F425D8"/>
|
||||
<stop offset="1" stop-color="#FF22CF"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint2_linear" x1="96.446" y1="150.036" x2="96.446" y2="60.3956" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C433FF"/>
|
||||
<stop offset="0.2577" stop-color="#D72EF0"/>
|
||||
<stop offset="0.7304" stop-color="#F425D8"/>
|
||||
<stop offset="1" stop-color="#FF22CF"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint3_linear" x1="184.837" y1="151.153" x2="184.837" y2="79.5096" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C433FF"/>
|
||||
<stop offset="0.2577" stop-color="#D72EF0"/>
|
||||
<stop offset="0.7304" stop-color="#F425D8"/>
|
||||
<stop offset="1" stop-color="#FF22CF"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint4_linear" x1="139.626" y1="127.355" x2="139.626" y2="37.9998" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C433FF"/>
|
||||
<stop offset="0.2577" stop-color="#D72EF0"/>
|
||||
<stop offset="0.7304" stop-color="#F425D8"/>
|
||||
<stop offset="1" stop-color="#FF22CF"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint5_linear" x1="85.3726" y1="121.199" x2="85.3726" y2="110.97" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C433FF"/>
|
||||
<stop offset="0.2577" stop-color="#D72EF0"/>
|
||||
<stop offset="0.7304" stop-color="#F425D8"/>
|
||||
<stop offset="1" stop-color="#FF22CF"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint6_linear" x1="111.293" y1="86.7592" x2="111.293" y2="76.5305" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C433FF"/>
|
||||
<stop offset="0.2577" stop-color="#D72EF0"/>
|
||||
<stop offset="0.7304" stop-color="#F425D8"/>
|
||||
<stop offset="1" stop-color="#FF22CF"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint7_linear" x1="212.09" y1="121.199" x2="212.09" y2="110.97" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C433FF"/>
|
||||
<stop offset="0.2577" stop-color="#D72EF0"/>
|
||||
<stop offset="0.7304" stop-color="#F425D8"/>
|
||||
<stop offset="1" stop-color="#FF22CF"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint8_linear" x1="145.853" y1="167.119" x2="145.853" y2="156.89" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C433FF"/>
|
||||
<stop offset="0.2577" stop-color="#D72EF0"/>
|
||||
<stop offset="0.7304" stop-color="#F425D8"/>
|
||||
<stop offset="1" stop-color="#FF22CF"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint9_linear" x1="144.24" y1="249.503" x2="144.24" y2="37.9967" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#04468B"/>
|
||||
<stop offset="0.1742" stop-color="#0561A3"/>
|
||||
<stop offset="0.5126" stop-color="#0791CE"/>
|
||||
<stop offset="0.772" stop-color="#09AEE8"/>
|
||||
<stop offset="0.9194" stop-color="#09B9F2"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint10_linear" x1="172.568" y1="249.503" x2="172.568" y2="37.9966" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#04468B"/>
|
||||
<stop offset="0.1742" stop-color="#0561A3"/>
|
||||
<stop offset="0.5126" stop-color="#0791CE"/>
|
||||
<stop offset="0.772" stop-color="#09AEE8"/>
|
||||
<stop offset="0.9194" stop-color="#09B9F2"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint11_linear" x1="84.6012" y1="249.502" x2="84.6012" y2="37.9964" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#04468B"/>
|
||||
<stop offset="0.1742" stop-color="#0561A3"/>
|
||||
<stop offset="0.5126" stop-color="#0791CE"/>
|
||||
<stop offset="0.772" stop-color="#09AEE8"/>
|
||||
<stop offset="0.9194" stop-color="#09B9F2"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint12_linear" x1="96.446" y1="249.502" x2="96.446" y2="37.9961" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#04468B"/>
|
||||
<stop offset="0.1742" stop-color="#0561A3"/>
|
||||
<stop offset="0.5126" stop-color="#0791CE"/>
|
||||
<stop offset="0.772" stop-color="#09AEE8"/>
|
||||
<stop offset="0.9194" stop-color="#09B9F2"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint13_linear" x1="184.837" y1="249.503" x2="184.837" y2="37.9968" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#04468B"/>
|
||||
<stop offset="0.1742" stop-color="#0561A3"/>
|
||||
<stop offset="0.5126" stop-color="#0791CE"/>
|
||||
<stop offset="0.772" stop-color="#09AEE8"/>
|
||||
<stop offset="0.9194" stop-color="#09B9F2"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint14_linear" x1="139.626" y1="249.502" x2="139.626" y2="37.9963" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#04468B"/>
|
||||
<stop offset="0.1742" stop-color="#0561A3"/>
|
||||
<stop offset="0.5126" stop-color="#0791CE"/>
|
||||
<stop offset="0.772" stop-color="#09AEE8"/>
|
||||
<stop offset="0.9194" stop-color="#09B9F2"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint15_linear" x1="85.3726" y1="249.502" x2="85.3726" y2="37.9968" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#04468B"/>
|
||||
<stop offset="0.1742" stop-color="#0561A3"/>
|
||||
<stop offset="0.5126" stop-color="#0791CE"/>
|
||||
<stop offset="0.772" stop-color="#09AEE8"/>
|
||||
<stop offset="0.9194" stop-color="#09B9F2"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint16_linear" x1="111.293" y1="249.502" x2="111.293" y2="37.9968" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#04468B"/>
|
||||
<stop offset="0.1742" stop-color="#0561A3"/>
|
||||
<stop offset="0.5126" stop-color="#0791CE"/>
|
||||
<stop offset="0.772" stop-color="#09AEE8"/>
|
||||
<stop offset="0.9194" stop-color="#09B9F2"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint17_linear" x1="212.09" y1="249.502" x2="212.09" y2="37.9968" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#04468B"/>
|
||||
<stop offset="0.1742" stop-color="#0561A3"/>
|
||||
<stop offset="0.5126" stop-color="#0791CE"/>
|
||||
<stop offset="0.772" stop-color="#09AEE8"/>
|
||||
<stop offset="0.9194" stop-color="#09B9F2"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint18_linear" x1="145.853" y1="249.502" x2="145.853" y2="37.9967" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#04468B"/>
|
||||
<stop offset="0.1742" stop-color="#0561A3"/>
|
||||
<stop offset="0.5126" stop-color="#0791CE"/>
|
||||
<stop offset="0.772" stop-color="#09AEE8"/>
|
||||
<stop offset="0.9194" stop-color="#09B9F2"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 21 KiB |
32
public/assets/img/icons/xpearned.svg
Normal file
@@ -0,0 +1,32 @@
|
||||
<svg width="288" height="288" viewBox="0 0 288 288" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M144.061 247.348C86.4951 247.348 39.6605 200.514 39.6605 142.948C39.6605 85.3829 86.4951 38.5483 144.061 38.5483C201.626 38.5483 248.461 85.3829 248.461 142.948C248.461 200.514 201.626 247.348 144.061 247.348ZM144.061 50.0683C92.8484 50.0683 51.1805 91.7362 51.1805 142.948C51.1805 194.16 92.8484 235.828 144.061 235.828C195.273 235.828 236.941 194.16 236.941 142.948C236.941 91.7362 195.273 50.0683 144.061 50.0683Z" fill="url(#paint0_linear)"/>
|
||||
<path d="M148.951 89.4783L163.175 118.298C163.878 119.721 165.234 120.706 166.804 120.937L198.608 125.559C202.562 126.132 204.14 130.993 201.28 133.781L178.266 156.214C177.132 157.322 176.61 158.918 176.881 160.482L182.313 192.156C182.99 196.093 178.854 199.097 175.317 197.236L146.872 182.281C145.466 181.543 143.79 181.543 142.384 182.281L113.939 197.236C110.402 199.097 106.269 196.093 106.943 192.156L112.375 160.482C112.643 158.918 112.124 157.322 110.99 156.214L87.9755 133.781C85.1157 130.993 86.6939 126.135 90.6482 125.559L122.452 120.937C124.022 120.709 125.378 119.721 126.081 118.298L140.305 89.4783C142.073 85.8956 147.183 85.8956 148.951 89.4783Z" fill="url(#paint1_linear)"/>
|
||||
<path d="M144.061 247.348C86.4951 247.348 39.6605 200.514 39.6605 142.948C39.6605 85.3829 86.4951 38.5483 144.061 38.5483C201.626 38.5483 248.461 85.3829 248.461 142.948C248.461 200.514 201.626 247.348 144.061 247.348ZM144.061 50.0683C92.8484 50.0683 51.1805 91.7362 51.1805 142.948C51.1805 194.16 92.8484 235.828 144.061 235.828C195.273 235.828 236.941 194.16 236.941 142.948C236.941 91.7362 195.273 50.0683 144.061 50.0683Z" fill="url(#paint2_linear)"/>
|
||||
<path d="M148.951 89.4783L163.175 118.298C163.878 119.721 165.234 120.706 166.804 120.937L198.608 125.559C202.562 126.132 204.14 130.993 201.28 133.781L178.266 156.214C177.132 157.322 176.61 158.918 176.881 160.482L182.313 192.156C182.99 196.093 178.854 199.097 175.317 197.236L146.872 182.281C145.466 181.543 143.79 181.543 142.384 182.281L113.939 197.236C110.402 199.097 106.269 196.093 106.943 192.156L112.375 160.482C112.643 158.918 112.124 157.322 110.99 156.214L87.9755 133.781C85.1157 130.993 86.6939 126.135 90.6482 125.559L122.452 120.937C124.022 120.709 125.378 119.721 126.081 118.298L140.305 89.4783C142.073 85.8956 147.183 85.8956 148.951 89.4783Z" fill="url(#paint3_linear)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear" x1="144.061" y1="247.349" x2="144.061" y2="38.5486" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C433FF"/>
|
||||
<stop offset="0.2577" stop-color="#D72EF0"/>
|
||||
<stop offset="0.7304" stop-color="#F425D8"/>
|
||||
<stop offset="1" stop-color="#FF22CF"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear" x1="144.628" y1="197.797" x2="144.628" y2="86.7904" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C433FF"/>
|
||||
<stop offset="0.2577" stop-color="#D72EF0"/>
|
||||
<stop offset="0.7304" stop-color="#F425D8"/>
|
||||
<stop offset="1" stop-color="#FF22CF"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint2_linear" x1="144.061" y1="247.349" x2="144.061" y2="38.5486" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C433FF"/>
|
||||
<stop offset="0.2577" stop-color="#D72EF0"/>
|
||||
<stop offset="0.7304" stop-color="#F425D8"/>
|
||||
<stop offset="1" stop-color="#FF22CF"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint3_linear" x1="144.061" y1="247.349" x2="144.061" y2="38.5487" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#C433FF"/>
|
||||
<stop offset="0.2577" stop-color="#D72EF0"/>
|
||||
<stop offset="0.7304" stop-color="#F425D8"/>
|
||||
<stop offset="1" stop-color="#FF22CF"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.5 KiB |
BIN
public/assets/img/logo.png
Normal file
|
After Width: | Height: | Size: 45 KiB |
BIN
public/assets/img/mf2-logo.png
Normal file
|
After Width: | Height: | Size: 85 KiB |
BIN
public/assets/img/mindblown.gif
Normal file
|
After Width: | Height: | Size: 54 KiB |
BIN
public/assets/img/octopus.png
Normal file
|
After Width: | Height: | Size: 45 KiB |
BIN
public/assets/img/social.png
Normal file
|
After Width: | Height: | Size: 761 KiB |
BIN
public/assets/models/OCT.glb
Normal file
BIN
public/assets/models/OCTOPUS_EXP.glb
Normal file
60029
public/assets/models/OCTOPUS_EXP_triangulated.obj
Normal file
BIN
public/assets/models/OCT_02_fileEXPS.bin
Normal file
6661
public/assets/models/OCT_02_fileEXPS.gltf
Normal file
BIN
public/assets/models/jetsetter-vox.glb
Normal file
BIN
public/assets/models/lux-vox.glb
Normal file
BIN
public/assets/models/nomad-vox.glb
Normal file
BIN
public/assets/textures/baby_octo_alpha_0001.png
Normal file
|
After Width: | Height: | Size: 346 KiB |
BIN
public/assets/textures/baby_octo_alpha_map.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
public/assets/textures/particles/1.png
Normal file
|
After Width: | Height: | Size: 748 B |
BIN
public/assets/textures/particles/10.png
Normal file
|
After Width: | Height: | Size: 513 B |
BIN
public/assets/textures/particles/11.png
Normal file
|
After Width: | Height: | Size: 432 B |
BIN
public/assets/textures/particles/12.png
Normal file
|
After Width: | Height: | Size: 537 B |
BIN
public/assets/textures/particles/13.png
Normal file
|
After Width: | Height: | Size: 544 B |
BIN
public/assets/textures/particles/2.png
Normal file
|
After Width: | Height: | Size: 983 B |
BIN
public/assets/textures/particles/3.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
public/assets/textures/particles/4.png
Normal file
|
After Width: | Height: | Size: 529 B |
BIN
public/assets/textures/particles/5.png
Normal file
|
After Width: | Height: | Size: 958 B |
BIN
public/assets/textures/particles/6.png
Normal file
|
After Width: | Height: | Size: 675 B |
BIN
public/assets/textures/particles/7.png
Normal file
|
After Width: | Height: | Size: 699 B |
BIN
public/assets/textures/particles/8.png
Normal file
|
After Width: | Height: | Size: 571 B |
BIN
public/assets/textures/particles/9.png
Normal file
|
After Width: | Height: | Size: 680 B |
BIN
public/assets/textures/particles/icon-glow.png
Normal file
|
After Width: | Height: | Size: 618 KiB |
BIN
public/assets/textures/particles/seed_logo.png
Normal file
|
After Width: | Height: | Size: 96 KiB |
BIN
public/assets/textures/particles/ukraine-flag-xl.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
public/assets/textures/planet_disp.png
Normal file
|
After Width: | Height: | Size: 6.8 MiB |
BIN
public/assets/textures/textures-octob.zip
Normal file
BIN
public/assets/textures/textures.zip
Normal file
32
public/draco/README.md
Normal file
@@ -0,0 +1,32 @@
|
||||
# Draco 3D Data Compression
|
||||
|
||||
Draco is an open-source library for compressing and decompressing 3D geometric meshes and point clouds. It is intended to improve the storage and transmission of 3D graphics.
|
||||
|
||||
[Website](https://google.github.io/draco/) | [GitHub](https://github.com/google/draco)
|
||||
|
||||
## Contents
|
||||
|
||||
This folder contains three utilities:
|
||||
|
||||
* `draco_decoder.js` — Emscripten-compiled decoder, compatible with any modern browser.
|
||||
* `draco_decoder.wasm` — WebAssembly decoder, compatible with newer browsers and devices.
|
||||
* `draco_wasm_wrapper.js` — JavaScript wrapper for the WASM decoder.
|
||||
|
||||
Each file is provided in two variations:
|
||||
|
||||
* **Default:** Latest stable builds, tracking the project's [master branch](https://github.com/google/draco).
|
||||
* **glTF:** Builds targeted by the [glTF mesh compression extension](https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_draco_mesh_compression), tracking the [corresponding Draco branch](https://github.com/google/draco/tree/gltf_2.0_draco_extension).
|
||||
|
||||
Either variation may be used with `THREE.DRACOLoader`:
|
||||
|
||||
```js
|
||||
var dracoLoader = new THREE.DRACOLoader();
|
||||
dracoLoader.setDecoderPath('path/to/decoders/');
|
||||
dracoLoader.setDecoderConfig({type: 'js'}); // (Optional) Override detection of WASM support.
|
||||
```
|
||||
|
||||
Further [documentation on GitHub](https://github.com/google/draco/tree/master/javascript/example#static-loading-javascript-decoder).
|
||||
|
||||
## License
|
||||
|
||||
[Apache License 2.0](https://github.com/google/draco/blob/master/LICENSE)
|
||||
52
public/draco/draco_decoder.js
Normal file
BIN
public/draco/draco_decoder.wasm
Normal file
33
public/draco/draco_encoder.js
Normal file
104
public/draco/draco_wasm_wrapper.js
Normal file
@@ -0,0 +1,104 @@
|
||||
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(f){var m=0;return function(){return m<f.length?{done:!1,value:f[m++]}:{done:!0}}};$jscomp.arrayIterator=function(f){return{next:$jscomp.arrayIteratorImpl(f)}};$jscomp.makeIterator=function(f){var m="undefined"!=typeof Symbol&&Symbol.iterator&&f[Symbol.iterator];return m?m.call(f):$jscomp.arrayIterator(f)};
|
||||
$jscomp.getGlobal=function(f){return"undefined"!=typeof window&&window===f?f:"undefined"!=typeof global&&null!=global?global:f};$jscomp.global=$jscomp.getGlobal(this);$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(f,m,v){f!=Array.prototype&&f!=Object.prototype&&(f[m]=v.value)};
|
||||
$jscomp.polyfill=function(f,m,v,t){if(m){v=$jscomp.global;f=f.split(".");for(t=0;t<f.length-1;t++){var h=f[t];h in v||(v[h]={});v=v[h]}f=f[f.length-1];t=v[f];m=m(t);m!=t&&null!=m&&$jscomp.defineProperty(v,f,{configurable:!0,writable:!0,value:m})}};$jscomp.FORCE_POLYFILL_PROMISE=!1;
|
||||
$jscomp.polyfill("Promise",function(f){function m(){this.batch_=null}function v(e){return e instanceof h?e:new h(function(l,f){l(e)})}if(f&&!$jscomp.FORCE_POLYFILL_PROMISE)return f;m.prototype.asyncExecute=function(e){if(null==this.batch_){this.batch_=[];var l=this;this.asyncExecuteFunction(function(){l.executeBatch_()})}this.batch_.push(e)};var t=$jscomp.global.setTimeout;m.prototype.asyncExecuteFunction=function(e){t(e,0)};m.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var e=
|
||||
this.batch_;this.batch_=[];for(var l=0;l<e.length;++l){var f=e[l];e[l]=null;try{f()}catch(z){this.asyncThrow_(z)}}}this.batch_=null};m.prototype.asyncThrow_=function(e){this.asyncExecuteFunction(function(){throw e;})};var h=function(e){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];var l=this.createResolveAndReject_();try{e(l.resolve,l.reject)}catch(S){l.reject(S)}};h.prototype.createResolveAndReject_=function(){function e(e){return function(h){f||(f=!0,e.call(l,h))}}var l=this,f=!1;
|
||||
return{resolve:e(this.resolveTo_),reject:e(this.reject_)}};h.prototype.resolveTo_=function(e){if(e===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(e instanceof h)this.settleSameAsPromise_(e);else{a:switch(typeof e){case "object":var l=null!=e;break a;case "function":l=!0;break a;default:l=!1}l?this.resolveToNonPromiseObj_(e):this.fulfill_(e)}};h.prototype.resolveToNonPromiseObj_=function(e){var l=void 0;try{l=e.then}catch(S){this.reject_(S);return}"function"==typeof l?
|
||||
this.settleSameAsThenable_(l,e):this.fulfill_(e)};h.prototype.reject_=function(e){this.settle_(2,e)};h.prototype.fulfill_=function(e){this.settle_(1,e)};h.prototype.settle_=function(e,l){if(0!=this.state_)throw Error("Cannot settle("+e+", "+l+"): Promise already settled in state"+this.state_);this.state_=e;this.result_=l;this.executeOnSettledCallbacks_()};h.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var e=0;e<this.onSettledCallbacks_.length;++e)X.asyncExecute(this.onSettledCallbacks_[e]);
|
||||
this.onSettledCallbacks_=null}};var X=new m;h.prototype.settleSameAsPromise_=function(e){var l=this.createResolveAndReject_();e.callWhenSettled_(l.resolve,l.reject)};h.prototype.settleSameAsThenable_=function(e,l){var f=this.createResolveAndReject_();try{e.call(l,f.resolve,f.reject)}catch(z){f.reject(z)}};h.prototype.then=function(e,f){function l(e,f){return"function"==typeof e?function(f){try{m(e(f))}catch(p){v(p)}}:f}var m,v,t=new h(function(e,f){m=e;v=f});this.callWhenSettled_(l(e,m),l(f,v));return t};
|
||||
h.prototype.catch=function(e){return this.then(void 0,e)};h.prototype.callWhenSettled_=function(e,f){function l(){switch(h.state_){case 1:e(h.result_);break;case 2:f(h.result_);break;default:throw Error("Unexpected state: "+h.state_);}}var h=this;null==this.onSettledCallbacks_?X.asyncExecute(l):this.onSettledCallbacks_.push(l)};h.resolve=v;h.reject=function(e){return new h(function(f,h){h(e)})};h.race=function(e){return new h(function(f,h){for(var l=$jscomp.makeIterator(e),m=l.next();!m.done;m=l.next())v(m.value).callWhenSettled_(f,
|
||||
h)})};h.all=function(e){var f=$jscomp.makeIterator(e),m=f.next();return m.done?v([]):new h(function(e,h){function l(f){return function(h){t[f]=h;z--;0==z&&e(t)}}var t=[],z=0;do t.push(void 0),z++,v(m.value).callWhenSettled_(l(t.length-1),h),m=f.next();while(!m.done)})};return h},"es6","es3");
|
||||
var DracoDecoderModule=function(){var f="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;"undefined"!==typeof __filename&&(f=f||__filename);return function(m){function v(k){return a.locateFile?a.locateFile(k,M):M+k}function t(a,c){a||z("Assertion failed: "+c)}function h(a,c,b){var d=c+b;for(b=c;a[b]&&!(b>=d);)++b;if(16<b-c&&a.subarray&&xa)return xa.decode(a.subarray(c,b));for(d="";c<b;){var k=a[c++];if(k&128){var e=a[c++]&63;if(192==(k&224))d+=String.fromCharCode((k&
|
||||
31)<<6|e);else{var f=a[c++]&63;k=224==(k&240)?(k&15)<<12|e<<6|f:(k&7)<<18|e<<12|f<<6|a[c++]&63;65536>k?d+=String.fromCharCode(k):(k-=65536,d+=String.fromCharCode(55296|k>>10,56320|k&1023))}}else d+=String.fromCharCode(k)}return d}function X(a,c){return a?h(ca,a,c):""}function e(a,c){0<a%c&&(a+=c-a%c);return a}function l(k){ka=k;a.HEAP8=T=new Int8Array(k);a.HEAP16=new Int16Array(k);a.HEAP32=P=new Int32Array(k);a.HEAPU8=ca=new Uint8Array(k);a.HEAPU16=new Uint16Array(k);a.HEAPU32=new Uint32Array(k);
|
||||
a.HEAPF32=new Float32Array(k);a.HEAPF64=new Float64Array(k)}function S(k){for(;0<k.length;){var c=k.shift();if("function"==typeof c)c();else{var b=c.func;"number"===typeof b?void 0===c.arg?a.dynCall_v(b):a.dynCall_vi(b,c.arg):b(void 0===c.arg?null:c.arg)}}}function z(k){if(a.onAbort)a.onAbort(k);k+="";ya(k);Y(k);za=!0;throw new WebAssembly.RuntimeError("abort("+k+"). Build with -s ASSERTIONS=1 for more info.");}function va(a){return String.prototype.startsWith?a.startsWith("data:application/octet-stream;base64,"):
|
||||
0===a.indexOf("data:application/octet-stream;base64,")}function wa(){try{if(da)return new Uint8Array(da);if(la)return la(U);throw"both async and sync fetching of the wasm failed";}catch(k){z(k)}}function Ma(){return da||!ea&&!Z||"function"!==typeof fetch?new Promise(function(a,c){a(wa())}):fetch(U,{credentials:"same-origin"}).then(function(a){if(!a.ok)throw"failed to load wasm binary file at '"+U+"'";return a.arrayBuffer()}).catch(function(){return wa()})}function ba(){if(!ba.strings){var a={USER:"web_user",
|
||||
LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"===typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:na},c;for(c in Aa)a[c]=Aa[c];var b=[];for(c in a)b.push(c+"="+a[c]);ba.strings=b}return ba.strings}function ma(k){function c(){if(!fa&&(fa=!0,!za)){Ba=!0;S(Ca);S(Da);if(a.onRuntimeInitialized)a.onRuntimeInitialized();if(a.postRun)for("function"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)Ea.unshift(a.postRun.shift());
|
||||
S(Ea)}}if(!(0<aa)){if(a.preRun)for("function"==typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)Fa.unshift(a.preRun.shift());S(Fa);0<aa||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1);c()},1)):c())}}function p(){}function u(a){return(a||p).__cache__}function N(a,c){var b=u(c),d=b[a];if(d)return d;d=Object.create((c||p).prototype);d.ptr=a;return b[a]=d}function V(a){if("string"===typeof a){for(var c=0,b=0;b<a.length;++b){var d=a.charCodeAt(b);
|
||||
55296<=d&&57343>=d&&(d=65536+((d&1023)<<10)|a.charCodeAt(++b)&1023);127>=d?++c:c=2047>=d?c+2:65535>=d?c+3:c+4}c=Array(c+1);b=0;d=c.length;if(0<d){d=b+d-1;for(var k=0;k<a.length;++k){var e=a.charCodeAt(k);if(55296<=e&&57343>=e){var f=a.charCodeAt(++k);e=65536+((e&1023)<<10)|f&1023}if(127>=e){if(b>=d)break;c[b++]=e}else{if(2047>=e){if(b+1>=d)break;c[b++]=192|e>>6}else{if(65535>=e){if(b+2>=d)break;c[b++]=224|e>>12}else{if(b+3>=d)break;c[b++]=240|e>>18;c[b++]=128|e>>12&63}c[b++]=128|e>>6&63}c[b++]=128|
|
||||
e&63}}c[b]=0}a=n.alloc(c,T);n.copy(c,T,a)}return a}function x(){throw"cannot construct a Status, no constructor in IDL";}function A(){this.ptr=Oa();u(A)[this.ptr]=this}function B(){this.ptr=Pa();u(B)[this.ptr]=this}function C(){this.ptr=Qa();u(C)[this.ptr]=this}function D(){this.ptr=Ra();u(D)[this.ptr]=this}function E(){this.ptr=Sa();u(E)[this.ptr]=this}function q(){this.ptr=Ta();u(q)[this.ptr]=this}function J(){this.ptr=Ua();u(J)[this.ptr]=this}function w(){this.ptr=Va();u(w)[this.ptr]=this}function F(){this.ptr=
|
||||
Wa();u(F)[this.ptr]=this}function r(){this.ptr=Xa();u(r)[this.ptr]=this}function G(){this.ptr=Ya();u(G)[this.ptr]=this}function H(){this.ptr=Za();u(H)[this.ptr]=this}function O(){this.ptr=$a();u(O)[this.ptr]=this}function K(){this.ptr=ab();u(K)[this.ptr]=this}function g(){this.ptr=bb();u(g)[this.ptr]=this}function y(){this.ptr=cb();u(y)[this.ptr]=this}function Q(){throw"cannot construct a VoidPtr, no constructor in IDL";}function I(){this.ptr=db();u(I)[this.ptr]=this}function L(){this.ptr=eb();u(L)[this.ptr]=
|
||||
this}m=m||{};var a="undefined"!==typeof m?m:{},Ga=!1,Ha=!1;a.onRuntimeInitialized=function(){Ga=!0;if(Ha&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.onModuleParsed=function(){Ha=!0;if(Ga&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.isVersionSupported=function(a){if("string"!==typeof a)return!1;a=a.split(".");return 2>a.length||3<a.length?!1:1==a[0]&&0<=a[1]&&3>=a[1]?!0:0!=a[0]||10<a[1]?!1:!0};var ha={},W;for(W in a)a.hasOwnProperty(W)&&(ha[W]=a[W]);var na="./this.program",
|
||||
ea=!1,Z=!1,oa=!1,fb=!1,Ia=!1;ea="object"===typeof window;Z="function"===typeof importScripts;oa=(fb="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node)&&!ea&&!Z;Ia=!ea&&!oa&&!Z;var M="",pa,qa;if(oa){M=__dirname+"/";var ra=function(a,c){pa||(pa=require("fs"));qa||(qa=require("path"));a=qa.normalize(a);return pa.readFileSync(a,c?null:"utf8")};var la=function(a){a=ra(a,!0);a.buffer||(a=new Uint8Array(a));t(a.buffer);return a};1<process.argv.length&&
|
||||
(na=process.argv[1].replace(/\\/g,"/"));process.argv.slice(2);process.on("uncaughtException",function(a){throw a;});process.on("unhandledRejection",z);a.inspect=function(){return"[Emscripten Module object]"}}else if(Ia)"undefined"!=typeof read&&(ra=function(a){return read(a)}),la=function(a){if("function"===typeof readbuffer)return new Uint8Array(readbuffer(a));a=read(a,"binary");t("object"===typeof a);return a},"undefined"!==typeof print&&("undefined"===typeof console&&(console={}),console.log=print,
|
||||
console.warn=console.error="undefined"!==typeof printErr?printErr:print);else if(ea||Z)Z?M=self.location.href:document.currentScript&&(M=document.currentScript.src),f&&(M=f),M=0!==M.indexOf("blob:")?M.substr(0,M.lastIndexOf("/")+1):"",ra=function(a){var c=new XMLHttpRequest;c.open("GET",a,!1);c.send(null);return c.responseText},Z&&(la=function(a){var c=new XMLHttpRequest;c.open("GET",a,!1);c.responseType="arraybuffer";c.send(null);return new Uint8Array(c.response)});var ya=a.print||console.log.bind(console),
|
||||
Y=a.printErr||console.warn.bind(console);for(W in ha)ha.hasOwnProperty(W)&&(a[W]=ha[W]);ha=null;a.thisProgram&&(na=a.thisProgram);var da;a.wasmBinary&&(da=a.wasmBinary);"object"!==typeof WebAssembly&&Y("no native wasm support detected");var ia,gb=new WebAssembly.Table({initial:381,maximum:381,element:"anyfunc"}),za=!1,xa="undefined"!==typeof TextDecoder?new TextDecoder("utf8"):void 0;"undefined"!==typeof TextDecoder&&new TextDecoder("utf-16le");var T,ca,P,Ja=a.TOTAL_MEMORY||16777216;if(ia=a.wasmMemory?
|
||||
a.wasmMemory:new WebAssembly.Memory({initial:Ja/65536}))var ka=ia.buffer;Ja=ka.byteLength;l(ka);P[4604]=5261456;var Fa=[],Ca=[],Da=[],Ea=[],Ba=!1,aa=0,sa=null,ja=null;a.preloadedImages={};a.preloadedAudios={};var U="draco_decoder.wasm";va(U)||(U=v(U));Ca.push({func:function(){hb()}});var Aa={},R={buffers:[null,[],[]],printChar:function(a,c){var b=R.buffers[a];0===c||10===c?((1===a?ya:Y)(h(b,0)),b.length=0):b.push(c)},varargs:0,get:function(a){R.varargs+=4;return P[R.varargs-4>>2]},getStr:function(){return X(R.get())},
|
||||
get64:function(){var a=R.get();R.get();return a},getZero:function(){R.get()}},Ka={__cxa_allocate_exception:function(a){return ib(a)},__cxa_throw:function(a,c,b){"uncaught_exception"in ta?ta.uncaught_exceptions++:ta.uncaught_exceptions=1;throw a;},abort:function(){z()},emscripten_get_sbrk_ptr:function(){return 18416},emscripten_memcpy_big:function(a,c,b){ca.set(ca.subarray(c,c+b),a)},emscripten_resize_heap:function(a){if(2147418112<a)return!1;for(var c=Math.max(T.length,16777216);c<a;)c=536870912>=
|
||||
c?e(2*c,65536):Math.min(e((3*c+2147483648)/4,65536),2147418112);a:{try{ia.grow(c-ka.byteLength+65535>>16);l(ia.buffer);var b=1;break a}catch(d){}b=void 0}return b?!0:!1},environ_get:function(a,c){var b=0;ba().forEach(function(d,e){var f=c+b;e=P[a+4*e>>2]=f;for(f=0;f<d.length;++f)T[e++>>0]=d.charCodeAt(f);T[e>>0]=0;b+=d.length+1});return 0},environ_sizes_get:function(a,c){var b=ba();P[a>>2]=b.length;var d=0;b.forEach(function(a){d+=a.length+1});P[c>>2]=d;return 0},fd_close:function(a){return 0},fd_seek:function(a,
|
||||
c,b,d,e){return 0},fd_write:function(a,c,b,d){try{for(var e=0,f=0;f<b;f++){for(var g=P[c+8*f>>2],k=P[c+(8*f+4)>>2],h=0;h<k;h++)R.printChar(a,ca[g+h]);e+=k}P[d>>2]=e;return 0}catch(ua){return"undefined"!==typeof FS&&ua instanceof FS.ErrnoError||z(ua),ua.errno}},memory:ia,setTempRet0:function(a){},table:gb},La=function(){function e(c,b){a.asm=c.exports;aa--;a.monitorRunDependencies&&a.monitorRunDependencies(aa);0==aa&&(null!==sa&&(clearInterval(sa),sa=null),ja&&(c=ja,ja=null,c()))}function c(a){e(a.instance)}
|
||||
function b(a){return Ma().then(function(a){return WebAssembly.instantiate(a,d)}).then(a,function(a){Y("failed to asynchronously prepare wasm: "+a);z(a)})}var d={env:Ka,wasi_unstable:Ka};aa++;a.monitorRunDependencies&&a.monitorRunDependencies(aa);if(a.instantiateWasm)try{return a.instantiateWasm(d,e)}catch(Na){return Y("Module.instantiateWasm callback failed with error: "+Na),!1}(function(){if(da||"function"!==typeof WebAssembly.instantiateStreaming||va(U)||"function"!==typeof fetch)return b(c);fetch(U,
|
||||
{credentials:"same-origin"}).then(function(a){return WebAssembly.instantiateStreaming(a,d).then(c,function(a){Y("wasm streaming compile failed: "+a);Y("falling back to ArrayBuffer instantiation");b(c)})})})();return{}}();a.asm=La;var hb=a.___wasm_call_ctors=function(){return a.asm.__wasm_call_ctors.apply(null,arguments)},jb=a._emscripten_bind_Status_code_0=function(){return a.asm.emscripten_bind_Status_code_0.apply(null,arguments)},kb=a._emscripten_bind_Status_ok_0=function(){return a.asm.emscripten_bind_Status_ok_0.apply(null,
|
||||
arguments)},lb=a._emscripten_bind_Status_error_msg_0=function(){return a.asm.emscripten_bind_Status_error_msg_0.apply(null,arguments)},mb=a._emscripten_bind_Status___destroy___0=function(){return a.asm.emscripten_bind_Status___destroy___0.apply(null,arguments)},Oa=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return a.asm.emscripten_bind_DracoUInt16Array_DracoUInt16Array_0.apply(null,arguments)},nb=a._emscripten_bind_DracoUInt16Array_GetValue_1=function(){return a.asm.emscripten_bind_DracoUInt16Array_GetValue_1.apply(null,
|
||||
arguments)},ob=a._emscripten_bind_DracoUInt16Array_size_0=function(){return a.asm.emscripten_bind_DracoUInt16Array_size_0.apply(null,arguments)},pb=a._emscripten_bind_DracoUInt16Array___destroy___0=function(){return a.asm.emscripten_bind_DracoUInt16Array___destroy___0.apply(null,arguments)},Pa=a._emscripten_bind_PointCloud_PointCloud_0=function(){return a.asm.emscripten_bind_PointCloud_PointCloud_0.apply(null,arguments)},qb=a._emscripten_bind_PointCloud_num_attributes_0=function(){return a.asm.emscripten_bind_PointCloud_num_attributes_0.apply(null,
|
||||
arguments)},rb=a._emscripten_bind_PointCloud_num_points_0=function(){return a.asm.emscripten_bind_PointCloud_num_points_0.apply(null,arguments)},sb=a._emscripten_bind_PointCloud___destroy___0=function(){return a.asm.emscripten_bind_PointCloud___destroy___0.apply(null,arguments)},Qa=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return a.asm.emscripten_bind_DracoUInt8Array_DracoUInt8Array_0.apply(null,arguments)},tb=a._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return a.asm.emscripten_bind_DracoUInt8Array_GetValue_1.apply(null,
|
||||
arguments)},ub=a._emscripten_bind_DracoUInt8Array_size_0=function(){return a.asm.emscripten_bind_DracoUInt8Array_size_0.apply(null,arguments)},vb=a._emscripten_bind_DracoUInt8Array___destroy___0=function(){return a.asm.emscripten_bind_DracoUInt8Array___destroy___0.apply(null,arguments)},Ra=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=function(){return a.asm.emscripten_bind_DracoUInt32Array_DracoUInt32Array_0.apply(null,arguments)},wb=a._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return a.asm.emscripten_bind_DracoUInt32Array_GetValue_1.apply(null,
|
||||
arguments)},xb=a._emscripten_bind_DracoUInt32Array_size_0=function(){return a.asm.emscripten_bind_DracoUInt32Array_size_0.apply(null,arguments)},yb=a._emscripten_bind_DracoUInt32Array___destroy___0=function(){return a.asm.emscripten_bind_DracoUInt32Array___destroy___0.apply(null,arguments)},Sa=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return a.asm.emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0.apply(null,arguments)},zb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=
|
||||
function(){return a.asm.emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1.apply(null,arguments)},Ab=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return a.asm.emscripten_bind_AttributeOctahedronTransform_quantization_bits_0.apply(null,arguments)},Bb=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return a.asm.emscripten_bind_AttributeOctahedronTransform___destroy___0.apply(null,arguments)},Ta=a._emscripten_bind_PointAttribute_PointAttribute_0=
|
||||
function(){return a.asm.emscripten_bind_PointAttribute_PointAttribute_0.apply(null,arguments)},Cb=a._emscripten_bind_PointAttribute_size_0=function(){return a.asm.emscripten_bind_PointAttribute_size_0.apply(null,arguments)},Db=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=function(){return a.asm.emscripten_bind_PointAttribute_GetAttributeTransformData_0.apply(null,arguments)},Eb=a._emscripten_bind_PointAttribute_attribute_type_0=function(){return a.asm.emscripten_bind_PointAttribute_attribute_type_0.apply(null,
|
||||
arguments)},Fb=a._emscripten_bind_PointAttribute_data_type_0=function(){return a.asm.emscripten_bind_PointAttribute_data_type_0.apply(null,arguments)},Gb=a._emscripten_bind_PointAttribute_num_components_0=function(){return a.asm.emscripten_bind_PointAttribute_num_components_0.apply(null,arguments)},Hb=a._emscripten_bind_PointAttribute_normalized_0=function(){return a.asm.emscripten_bind_PointAttribute_normalized_0.apply(null,arguments)},Ib=a._emscripten_bind_PointAttribute_byte_stride_0=function(){return a.asm.emscripten_bind_PointAttribute_byte_stride_0.apply(null,
|
||||
arguments)},Jb=a._emscripten_bind_PointAttribute_byte_offset_0=function(){return a.asm.emscripten_bind_PointAttribute_byte_offset_0.apply(null,arguments)},Kb=a._emscripten_bind_PointAttribute_unique_id_0=function(){return a.asm.emscripten_bind_PointAttribute_unique_id_0.apply(null,arguments)},Lb=a._emscripten_bind_PointAttribute___destroy___0=function(){return a.asm.emscripten_bind_PointAttribute___destroy___0.apply(null,arguments)},Ua=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=
|
||||
function(){return a.asm.emscripten_bind_AttributeTransformData_AttributeTransformData_0.apply(null,arguments)},Mb=a._emscripten_bind_AttributeTransformData_transform_type_0=function(){return a.asm.emscripten_bind_AttributeTransformData_transform_type_0.apply(null,arguments)},Nb=a._emscripten_bind_AttributeTransformData___destroy___0=function(){return a.asm.emscripten_bind_AttributeTransformData___destroy___0.apply(null,arguments)},Va=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=
|
||||
function(){return a.asm.emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0.apply(null,arguments)},Ob=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=function(){return a.asm.emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1.apply(null,arguments)},Pb=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=function(){return a.asm.emscripten_bind_AttributeQuantizationTransform_quantization_bits_0.apply(null,arguments)},
|
||||
Qb=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return a.asm.emscripten_bind_AttributeQuantizationTransform_min_value_1.apply(null,arguments)},Rb=a._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return a.asm.emscripten_bind_AttributeQuantizationTransform_range_0.apply(null,arguments)},Sb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=function(){return a.asm.emscripten_bind_AttributeQuantizationTransform___destroy___0.apply(null,arguments)},
|
||||
Wa=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return a.asm.emscripten_bind_DracoInt8Array_DracoInt8Array_0.apply(null,arguments)},Tb=a._emscripten_bind_DracoInt8Array_GetValue_1=function(){return a.asm.emscripten_bind_DracoInt8Array_GetValue_1.apply(null,arguments)},Ub=a._emscripten_bind_DracoInt8Array_size_0=function(){return a.asm.emscripten_bind_DracoInt8Array_size_0.apply(null,arguments)},Vb=a._emscripten_bind_DracoInt8Array___destroy___0=function(){return a.asm.emscripten_bind_DracoInt8Array___destroy___0.apply(null,
|
||||
arguments)},Xa=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=function(){return a.asm.emscripten_bind_MetadataQuerier_MetadataQuerier_0.apply(null,arguments)},Wb=a._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return a.asm.emscripten_bind_MetadataQuerier_HasEntry_2.apply(null,arguments)},Xb=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return a.asm.emscripten_bind_MetadataQuerier_GetIntEntry_2.apply(null,arguments)},Yb=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=
|
||||
function(){return a.asm.emscripten_bind_MetadataQuerier_GetIntEntryArray_3.apply(null,arguments)},Zb=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return a.asm.emscripten_bind_MetadataQuerier_GetDoubleEntry_2.apply(null,arguments)},$b=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return a.asm.emscripten_bind_MetadataQuerier_GetStringEntry_2.apply(null,arguments)},ac=a._emscripten_bind_MetadataQuerier_NumEntries_1=function(){return a.asm.emscripten_bind_MetadataQuerier_NumEntries_1.apply(null,
|
||||
arguments)},bc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return a.asm.emscripten_bind_MetadataQuerier_GetEntryName_2.apply(null,arguments)},cc=a._emscripten_bind_MetadataQuerier___destroy___0=function(){return a.asm.emscripten_bind_MetadataQuerier___destroy___0.apply(null,arguments)},Ya=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return a.asm.emscripten_bind_DracoInt16Array_DracoInt16Array_0.apply(null,arguments)},dc=a._emscripten_bind_DracoInt16Array_GetValue_1=
|
||||
function(){return a.asm.emscripten_bind_DracoInt16Array_GetValue_1.apply(null,arguments)},ec=a._emscripten_bind_DracoInt16Array_size_0=function(){return a.asm.emscripten_bind_DracoInt16Array_size_0.apply(null,arguments)},fc=a._emscripten_bind_DracoInt16Array___destroy___0=function(){return a.asm.emscripten_bind_DracoInt16Array___destroy___0.apply(null,arguments)},Za=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return a.asm.emscripten_bind_DracoFloat32Array_DracoFloat32Array_0.apply(null,
|
||||
arguments)},gc=a._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return a.asm.emscripten_bind_DracoFloat32Array_GetValue_1.apply(null,arguments)},hc=a._emscripten_bind_DracoFloat32Array_size_0=function(){return a.asm.emscripten_bind_DracoFloat32Array_size_0.apply(null,arguments)},ic=a._emscripten_bind_DracoFloat32Array___destroy___0=function(){return a.asm.emscripten_bind_DracoFloat32Array___destroy___0.apply(null,arguments)},$a=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return a.asm.emscripten_bind_GeometryAttribute_GeometryAttribute_0.apply(null,
|
||||
arguments)},jc=a._emscripten_bind_GeometryAttribute___destroy___0=function(){return a.asm.emscripten_bind_GeometryAttribute___destroy___0.apply(null,arguments)},ab=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=function(){return a.asm.emscripten_bind_DecoderBuffer_DecoderBuffer_0.apply(null,arguments)},kc=a._emscripten_bind_DecoderBuffer_Init_2=function(){return a.asm.emscripten_bind_DecoderBuffer_Init_2.apply(null,arguments)},lc=a._emscripten_bind_DecoderBuffer___destroy___0=function(){return a.asm.emscripten_bind_DecoderBuffer___destroy___0.apply(null,
|
||||
arguments)},bb=a._emscripten_bind_Decoder_Decoder_0=function(){return a.asm.emscripten_bind_Decoder_Decoder_0.apply(null,arguments)},mc=a._emscripten_bind_Decoder_GetEncodedGeometryType_1=function(){return a.asm.emscripten_bind_Decoder_GetEncodedGeometryType_1.apply(null,arguments)},nc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=function(){return a.asm.emscripten_bind_Decoder_DecodeBufferToPointCloud_2.apply(null,arguments)},oc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=function(){return a.asm.emscripten_bind_Decoder_DecodeBufferToMesh_2.apply(null,
|
||||
arguments)},pc=a._emscripten_bind_Decoder_GetAttributeId_2=function(){return a.asm.emscripten_bind_Decoder_GetAttributeId_2.apply(null,arguments)},qc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=function(){return a.asm.emscripten_bind_Decoder_GetAttributeIdByName_2.apply(null,arguments)},rc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return a.asm.emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3.apply(null,arguments)},sc=a._emscripten_bind_Decoder_GetAttribute_2=
|
||||
function(){return a.asm.emscripten_bind_Decoder_GetAttribute_2.apply(null,arguments)},tc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return a.asm.emscripten_bind_Decoder_GetAttributeByUniqueId_2.apply(null,arguments)},uc=a._emscripten_bind_Decoder_GetMetadata_1=function(){return a.asm.emscripten_bind_Decoder_GetMetadata_1.apply(null,arguments)},vc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return a.asm.emscripten_bind_Decoder_GetAttributeMetadata_2.apply(null,
|
||||
arguments)},wc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=function(){return a.asm.emscripten_bind_Decoder_GetFaceFromMesh_3.apply(null,arguments)},xc=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=function(){return a.asm.emscripten_bind_Decoder_GetTriangleStripsFromMesh_2.apply(null,arguments)},yc=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return a.asm.emscripten_bind_Decoder_GetTrianglesUInt16Array_3.apply(null,arguments)},zc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=
|
||||
function(){return a.asm.emscripten_bind_Decoder_GetTrianglesUInt32Array_3.apply(null,arguments)},Ac=a._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return a.asm.emscripten_bind_Decoder_GetAttributeFloat_3.apply(null,arguments)},Bc=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return a.asm.emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3.apply(null,arguments)},Cc=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return a.asm.emscripten_bind_Decoder_GetAttributeIntForAllPoints_3.apply(null,
|
||||
arguments)},Dc=a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return a.asm.emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3.apply(null,arguments)},Ec=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return a.asm.emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3.apply(null,arguments)},Fc=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return a.asm.emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3.apply(null,arguments)},
|
||||
Gc=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=function(){return a.asm.emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3.apply(null,arguments)},Hc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return a.asm.emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3.apply(null,arguments)},Ic=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return a.asm.emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3.apply(null,arguments)},Jc=
|
||||
a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=function(){return a.asm.emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5.apply(null,arguments)},Kc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return a.asm.emscripten_bind_Decoder_SkipAttributeTransform_1.apply(null,arguments)},Lc=a._emscripten_bind_Decoder___destroy___0=function(){return a.asm.emscripten_bind_Decoder___destroy___0.apply(null,arguments)},cb=a._emscripten_bind_Mesh_Mesh_0=function(){return a.asm.emscripten_bind_Mesh_Mesh_0.apply(null,
|
||||
arguments)},Mc=a._emscripten_bind_Mesh_num_faces_0=function(){return a.asm.emscripten_bind_Mesh_num_faces_0.apply(null,arguments)},Nc=a._emscripten_bind_Mesh_num_attributes_0=function(){return a.asm.emscripten_bind_Mesh_num_attributes_0.apply(null,arguments)},Oc=a._emscripten_bind_Mesh_num_points_0=function(){return a.asm.emscripten_bind_Mesh_num_points_0.apply(null,arguments)},Pc=a._emscripten_bind_Mesh___destroy___0=function(){return a.asm.emscripten_bind_Mesh___destroy___0.apply(null,arguments)},
|
||||
Qc=a._emscripten_bind_VoidPtr___destroy___0=function(){return a.asm.emscripten_bind_VoidPtr___destroy___0.apply(null,arguments)},db=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=function(){return a.asm.emscripten_bind_DracoInt32Array_DracoInt32Array_0.apply(null,arguments)},Rc=a._emscripten_bind_DracoInt32Array_GetValue_1=function(){return a.asm.emscripten_bind_DracoInt32Array_GetValue_1.apply(null,arguments)},Sc=a._emscripten_bind_DracoInt32Array_size_0=function(){return a.asm.emscripten_bind_DracoInt32Array_size_0.apply(null,
|
||||
arguments)},Tc=a._emscripten_bind_DracoInt32Array___destroy___0=function(){return a.asm.emscripten_bind_DracoInt32Array___destroy___0.apply(null,arguments)},eb=a._emscripten_bind_Metadata_Metadata_0=function(){return a.asm.emscripten_bind_Metadata_Metadata_0.apply(null,arguments)},Uc=a._emscripten_bind_Metadata___destroy___0=function(){return a.asm.emscripten_bind_Metadata___destroy___0.apply(null,arguments)},Vc=a._emscripten_enum_draco_StatusCode_OK=function(){return a.asm.emscripten_enum_draco_StatusCode_OK.apply(null,
|
||||
arguments)},Wc=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return a.asm.emscripten_enum_draco_StatusCode_DRACO_ERROR.apply(null,arguments)},Xc=a._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return a.asm.emscripten_enum_draco_StatusCode_IO_ERROR.apply(null,arguments)},Yc=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=function(){return a.asm.emscripten_enum_draco_StatusCode_INVALID_PARAMETER.apply(null,arguments)},Zc=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=
|
||||
function(){return a.asm.emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION.apply(null,arguments)},$c=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return a.asm.emscripten_enum_draco_StatusCode_UNKNOWN_VERSION.apply(null,arguments)},ad=a._emscripten_enum_draco_DataType_DT_INVALID=function(){return a.asm.emscripten_enum_draco_DataType_DT_INVALID.apply(null,arguments)},bd=a._emscripten_enum_draco_DataType_DT_INT8=function(){return a.asm.emscripten_enum_draco_DataType_DT_INT8.apply(null,
|
||||
arguments)},cd=a._emscripten_enum_draco_DataType_DT_UINT8=function(){return a.asm.emscripten_enum_draco_DataType_DT_UINT8.apply(null,arguments)},dd=a._emscripten_enum_draco_DataType_DT_INT16=function(){return a.asm.emscripten_enum_draco_DataType_DT_INT16.apply(null,arguments)},ed=a._emscripten_enum_draco_DataType_DT_UINT16=function(){return a.asm.emscripten_enum_draco_DataType_DT_UINT16.apply(null,arguments)},fd=a._emscripten_enum_draco_DataType_DT_INT32=function(){return a.asm.emscripten_enum_draco_DataType_DT_INT32.apply(null,
|
||||
arguments)},gd=a._emscripten_enum_draco_DataType_DT_UINT32=function(){return a.asm.emscripten_enum_draco_DataType_DT_UINT32.apply(null,arguments)},hd=a._emscripten_enum_draco_DataType_DT_INT64=function(){return a.asm.emscripten_enum_draco_DataType_DT_INT64.apply(null,arguments)},id=a._emscripten_enum_draco_DataType_DT_UINT64=function(){return a.asm.emscripten_enum_draco_DataType_DT_UINT64.apply(null,arguments)},jd=a._emscripten_enum_draco_DataType_DT_FLOAT32=function(){return a.asm.emscripten_enum_draco_DataType_DT_FLOAT32.apply(null,
|
||||
arguments)},kd=a._emscripten_enum_draco_DataType_DT_FLOAT64=function(){return a.asm.emscripten_enum_draco_DataType_DT_FLOAT64.apply(null,arguments)},ld=a._emscripten_enum_draco_DataType_DT_BOOL=function(){return a.asm.emscripten_enum_draco_DataType_DT_BOOL.apply(null,arguments)},md=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=function(){return a.asm.emscripten_enum_draco_DataType_DT_TYPES_COUNT.apply(null,arguments)},nd=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return a.asm.emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE.apply(null,
|
||||
arguments)},od=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return a.asm.emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD.apply(null,arguments)},pd=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return a.asm.emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH.apply(null,arguments)},qd=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=function(){return a.asm.emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM.apply(null,
|
||||
arguments)},rd=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=function(){return a.asm.emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM.apply(null,arguments)},sd=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return a.asm.emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM.apply(null,arguments)},td=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=function(){return a.asm.emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM.apply(null,
|
||||
arguments)},ud=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return a.asm.emscripten_enum_draco_GeometryAttribute_Type_INVALID.apply(null,arguments)},vd=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return a.asm.emscripten_enum_draco_GeometryAttribute_Type_POSITION.apply(null,arguments)},wd=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return a.asm.emscripten_enum_draco_GeometryAttribute_Type_NORMAL.apply(null,arguments)},xd=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=
|
||||
function(){return a.asm.emscripten_enum_draco_GeometryAttribute_Type_COLOR.apply(null,arguments)},yd=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return a.asm.emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD.apply(null,arguments)},zd=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return a.asm.emscripten_enum_draco_GeometryAttribute_Type_GENERIC.apply(null,arguments)};a._setThrew=function(){return a.asm.setThrew.apply(null,arguments)};var ta=a.__ZSt18uncaught_exceptionv=
|
||||
function(){return a.asm._ZSt18uncaught_exceptionv.apply(null,arguments)};a._free=function(){return a.asm.free.apply(null,arguments)};var ib=a._malloc=function(){return a.asm.malloc.apply(null,arguments)};a.stackSave=function(){return a.asm.stackSave.apply(null,arguments)};a.stackAlloc=function(){return a.asm.stackAlloc.apply(null,arguments)};a.stackRestore=function(){return a.asm.stackRestore.apply(null,arguments)};a.__growWasmMemory=function(){return a.asm.__growWasmMemory.apply(null,arguments)};
|
||||
a.dynCall_ii=function(){return a.asm.dynCall_ii.apply(null,arguments)};a.dynCall_vi=function(){return a.asm.dynCall_vi.apply(null,arguments)};a.dynCall_iii=function(){return a.asm.dynCall_iii.apply(null,arguments)};a.dynCall_vii=function(){return a.asm.dynCall_vii.apply(null,arguments)};a.dynCall_iiii=function(){return a.asm.dynCall_iiii.apply(null,arguments)};a.dynCall_v=function(){return a.asm.dynCall_v.apply(null,arguments)};a.dynCall_viii=function(){return a.asm.dynCall_viii.apply(null,arguments)};
|
||||
a.dynCall_viiii=function(){return a.asm.dynCall_viiii.apply(null,arguments)};a.dynCall_iiiiiii=function(){return a.asm.dynCall_iiiiiii.apply(null,arguments)};a.dynCall_iidiiii=function(){return a.asm.dynCall_iidiiii.apply(null,arguments)};a.dynCall_jiji=function(){return a.asm.dynCall_jiji.apply(null,arguments)};a.dynCall_viiiiii=function(){return a.asm.dynCall_viiiiii.apply(null,arguments)};a.dynCall_viiiii=function(){return a.asm.dynCall_viiiii.apply(null,arguments)};a.asm=La;var fa;a.then=function(e){if(fa)e(a);
|
||||
else{var c=a.onRuntimeInitialized;a.onRuntimeInitialized=function(){c&&c();e(a)}}return a};ja=function c(){fa||ma();fa||(ja=c)};a.run=ma;if(a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()();ma();p.prototype=Object.create(p.prototype);p.prototype.constructor=p;p.prototype.__class__=p;p.__cache__={};a.WrapperObject=p;a.getCache=u;a.wrapPointer=N;a.castObject=function(a,b){return N(a.ptr,b)};a.NULL=N(0);a.destroy=function(a){if(!a.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";
|
||||
a.__destroy__();delete u(a.__class__)[a.ptr]};a.compare=function(a,b){return a.ptr===b.ptr};a.getPointer=function(a){return a.ptr};a.getClass=function(a){return a.__class__};var n={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(n.needed){for(var c=0;c<n.temps.length;c++)a._free(n.temps[c]);n.temps.length=0;a._free(n.buffer);n.buffer=0;n.size+=n.needed;n.needed=0}n.buffer||(n.size+=128,n.buffer=a._malloc(n.size),t(n.buffer));n.pos=0},alloc:function(c,b){t(n.buffer);c=c.length*b.BYTES_PER_ELEMENT;
|
||||
c=c+7&-8;n.pos+c>=n.size?(t(0<c),n.needed+=c,b=a._malloc(c),n.temps.push(b)):(b=n.buffer+n.pos,n.pos+=c);return b},copy:function(a,b,d){switch(b.BYTES_PER_ELEMENT){case 2:d>>=1;break;case 4:d>>=2;break;case 8:d>>=3}for(var c=0;c<a.length;c++)b[d+c]=a[c]}};x.prototype=Object.create(p.prototype);x.prototype.constructor=x;x.prototype.__class__=x;x.__cache__={};a.Status=x;x.prototype.code=x.prototype.code=function(){return jb(this.ptr)};x.prototype.ok=x.prototype.ok=function(){return!!kb(this.ptr)};x.prototype.error_msg=
|
||||
x.prototype.error_msg=function(){return X(lb(this.ptr))};x.prototype.__destroy__=x.prototype.__destroy__=function(){mb(this.ptr)};A.prototype=Object.create(p.prototype);A.prototype.constructor=A;A.prototype.__class__=A;A.__cache__={};a.DracoUInt16Array=A;A.prototype.GetValue=A.prototype.GetValue=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return nb(c,a)};A.prototype.size=A.prototype.size=function(){return ob(this.ptr)};A.prototype.__destroy__=A.prototype.__destroy__=function(){pb(this.ptr)};
|
||||
B.prototype=Object.create(p.prototype);B.prototype.constructor=B;B.prototype.__class__=B;B.__cache__={};a.PointCloud=B;B.prototype.num_attributes=B.prototype.num_attributes=function(){return qb(this.ptr)};B.prototype.num_points=B.prototype.num_points=function(){return rb(this.ptr)};B.prototype.__destroy__=B.prototype.__destroy__=function(){sb(this.ptr)};C.prototype=Object.create(p.prototype);C.prototype.constructor=C;C.prototype.__class__=C;C.__cache__={};a.DracoUInt8Array=C;C.prototype.GetValue=
|
||||
C.prototype.GetValue=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return tb(c,a)};C.prototype.size=C.prototype.size=function(){return ub(this.ptr)};C.prototype.__destroy__=C.prototype.__destroy__=function(){vb(this.ptr)};D.prototype=Object.create(p.prototype);D.prototype.constructor=D;D.prototype.__class__=D;D.__cache__={};a.DracoUInt32Array=D;D.prototype.GetValue=D.prototype.GetValue=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return wb(c,a)};D.prototype.size=D.prototype.size=
|
||||
function(){return xb(this.ptr)};D.prototype.__destroy__=D.prototype.__destroy__=function(){yb(this.ptr)};E.prototype=Object.create(p.prototype);E.prototype.constructor=E;E.prototype.__class__=E;E.__cache__={};a.AttributeOctahedronTransform=E;E.prototype.InitFromAttribute=E.prototype.InitFromAttribute=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return!!zb(c,a)};E.prototype.quantization_bits=E.prototype.quantization_bits=function(){return Ab(this.ptr)};E.prototype.__destroy__=E.prototype.__destroy__=
|
||||
function(){Bb(this.ptr)};q.prototype=Object.create(p.prototype);q.prototype.constructor=q;q.prototype.__class__=q;q.__cache__={};a.PointAttribute=q;q.prototype.size=q.prototype.size=function(){return Cb(this.ptr)};q.prototype.GetAttributeTransformData=q.prototype.GetAttributeTransformData=function(){return N(Db(this.ptr),J)};q.prototype.attribute_type=q.prototype.attribute_type=function(){return Eb(this.ptr)};q.prototype.data_type=q.prototype.data_type=function(){return Fb(this.ptr)};q.prototype.num_components=
|
||||
q.prototype.num_components=function(){return Gb(this.ptr)};q.prototype.normalized=q.prototype.normalized=function(){return!!Hb(this.ptr)};q.prototype.byte_stride=q.prototype.byte_stride=function(){return Ib(this.ptr)};q.prototype.byte_offset=q.prototype.byte_offset=function(){return Jb(this.ptr)};q.prototype.unique_id=q.prototype.unique_id=function(){return Kb(this.ptr)};q.prototype.__destroy__=q.prototype.__destroy__=function(){Lb(this.ptr)};J.prototype=Object.create(p.prototype);J.prototype.constructor=
|
||||
J;J.prototype.__class__=J;J.__cache__={};a.AttributeTransformData=J;J.prototype.transform_type=J.prototype.transform_type=function(){return Mb(this.ptr)};J.prototype.__destroy__=J.prototype.__destroy__=function(){Nb(this.ptr)};w.prototype=Object.create(p.prototype);w.prototype.constructor=w;w.prototype.__class__=w;w.__cache__={};a.AttributeQuantizationTransform=w;w.prototype.InitFromAttribute=w.prototype.InitFromAttribute=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return!!Ob(c,a)};
|
||||
w.prototype.quantization_bits=w.prototype.quantization_bits=function(){return Pb(this.ptr)};w.prototype.min_value=w.prototype.min_value=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return Qb(c,a)};w.prototype.range=w.prototype.range=function(){return Rb(this.ptr)};w.prototype.__destroy__=w.prototype.__destroy__=function(){Sb(this.ptr)};F.prototype=Object.create(p.prototype);F.prototype.constructor=F;F.prototype.__class__=F;F.__cache__={};a.DracoInt8Array=F;F.prototype.GetValue=F.prototype.GetValue=
|
||||
function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return Tb(c,a)};F.prototype.size=F.prototype.size=function(){return Ub(this.ptr)};F.prototype.__destroy__=F.prototype.__destroy__=function(){Vb(this.ptr)};r.prototype=Object.create(p.prototype);r.prototype.constructor=r;r.prototype.__class__=r;r.__cache__={};a.MetadataQuerier=r;r.prototype.HasEntry=r.prototype.HasEntry=function(a,b){var c=this.ptr;n.prepare();a&&"object"===typeof a&&(a=a.ptr);b=b&&"object"===typeof b?b.ptr:V(b);return!!Wb(c,
|
||||
a,b)};r.prototype.GetIntEntry=r.prototype.GetIntEntry=function(a,b){var c=this.ptr;n.prepare();a&&"object"===typeof a&&(a=a.ptr);b=b&&"object"===typeof b?b.ptr:V(b);return Xb(c,a,b)};r.prototype.GetIntEntryArray=r.prototype.GetIntEntryArray=function(a,b,d){var c=this.ptr;n.prepare();a&&"object"===typeof a&&(a=a.ptr);b=b&&"object"===typeof b?b.ptr:V(b);d&&"object"===typeof d&&(d=d.ptr);Yb(c,a,b,d)};r.prototype.GetDoubleEntry=r.prototype.GetDoubleEntry=function(a,b){var c=this.ptr;n.prepare();a&&"object"===
|
||||
typeof a&&(a=a.ptr);b=b&&"object"===typeof b?b.ptr:V(b);return Zb(c,a,b)};r.prototype.GetStringEntry=r.prototype.GetStringEntry=function(a,b){var c=this.ptr;n.prepare();a&&"object"===typeof a&&(a=a.ptr);b=b&&"object"===typeof b?b.ptr:V(b);return X($b(c,a,b))};r.prototype.NumEntries=r.prototype.NumEntries=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return ac(c,a)};r.prototype.GetEntryName=r.prototype.GetEntryName=function(a,b){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===
|
||||
typeof b&&(b=b.ptr);return X(bc(c,a,b))};r.prototype.__destroy__=r.prototype.__destroy__=function(){cc(this.ptr)};G.prototype=Object.create(p.prototype);G.prototype.constructor=G;G.prototype.__class__=G;G.__cache__={};a.DracoInt16Array=G;G.prototype.GetValue=G.prototype.GetValue=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return dc(c,a)};G.prototype.size=G.prototype.size=function(){return ec(this.ptr)};G.prototype.__destroy__=G.prototype.__destroy__=function(){fc(this.ptr)};H.prototype=
|
||||
Object.create(p.prototype);H.prototype.constructor=H;H.prototype.__class__=H;H.__cache__={};a.DracoFloat32Array=H;H.prototype.GetValue=H.prototype.GetValue=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return gc(c,a)};H.prototype.size=H.prototype.size=function(){return hc(this.ptr)};H.prototype.__destroy__=H.prototype.__destroy__=function(){ic(this.ptr)};O.prototype=Object.create(p.prototype);O.prototype.constructor=O;O.prototype.__class__=O;O.__cache__={};a.GeometryAttribute=O;O.prototype.__destroy__=
|
||||
O.prototype.__destroy__=function(){jc(this.ptr)};K.prototype=Object.create(p.prototype);K.prototype.constructor=K;K.prototype.__class__=K;K.__cache__={};a.DecoderBuffer=K;K.prototype.Init=K.prototype.Init=function(a,b){var c=this.ptr;n.prepare();if("object"==typeof a&&"object"===typeof a){var e=n.alloc(a,T);n.copy(a,T,e);a=e}b&&"object"===typeof b&&(b=b.ptr);kc(c,a,b)};K.prototype.__destroy__=K.prototype.__destroy__=function(){lc(this.ptr)};g.prototype=Object.create(p.prototype);g.prototype.constructor=
|
||||
g;g.prototype.__class__=g;g.__cache__={};a.Decoder=g;g.prototype.GetEncodedGeometryType=g.prototype.GetEncodedGeometryType=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return mc(c,a)};g.prototype.DecodeBufferToPointCloud=g.prototype.DecodeBufferToPointCloud=function(a,b){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);return N(nc(c,a,b),x)};g.prototype.DecodeBufferToMesh=g.prototype.DecodeBufferToMesh=function(a,b){var c=this.ptr;a&&"object"===typeof a&&
|
||||
(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);return N(oc(c,a,b),x)};g.prototype.GetAttributeId=g.prototype.GetAttributeId=function(a,b){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);return pc(c,a,b)};g.prototype.GetAttributeIdByName=g.prototype.GetAttributeIdByName=function(a,b){var c=this.ptr;n.prepare();a&&"object"===typeof a&&(a=a.ptr);b=b&&"object"===typeof b?b.ptr:V(b);return qc(c,a,b)};g.prototype.GetAttributeIdByMetadataEntry=g.prototype.GetAttributeIdByMetadataEntry=
|
||||
function(a,b,d){var c=this.ptr;n.prepare();a&&"object"===typeof a&&(a=a.ptr);b=b&&"object"===typeof b?b.ptr:V(b);d=d&&"object"===typeof d?d.ptr:V(d);return rc(c,a,b,d)};g.prototype.GetAttribute=g.prototype.GetAttribute=function(a,b){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);return N(sc(c,a,b),q)};g.prototype.GetAttributeByUniqueId=g.prototype.GetAttributeByUniqueId=function(a,b){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);
|
||||
return N(tc(c,a,b),q)};g.prototype.GetMetadata=g.prototype.GetMetadata=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return N(uc(c,a),L)};g.prototype.GetAttributeMetadata=g.prototype.GetAttributeMetadata=function(a,b){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);return N(vc(c,a,b),L)};g.prototype.GetFaceFromMesh=g.prototype.GetFaceFromMesh=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===
|
||||
typeof d&&(d=d.ptr);return!!wc(c,a,b,d)};g.prototype.GetTriangleStripsFromMesh=g.prototype.GetTriangleStripsFromMesh=function(a,b){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);return xc(c,a,b)};g.prototype.GetTrianglesUInt16Array=g.prototype.GetTrianglesUInt16Array=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!yc(c,a,b,d)};g.prototype.GetTrianglesUInt32Array=g.prototype.GetTrianglesUInt32Array=
|
||||
function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!zc(c,a,b,d)};g.prototype.GetAttributeFloat=g.prototype.GetAttributeFloat=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Ac(c,a,b,d)};g.prototype.GetAttributeFloatForAllPoints=g.prototype.GetAttributeFloatForAllPoints=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&
|
||||
(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Bc(c,a,b,d)};g.prototype.GetAttributeIntForAllPoints=g.prototype.GetAttributeIntForAllPoints=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Cc(c,a,b,d)};g.prototype.GetAttributeInt8ForAllPoints=g.prototype.GetAttributeInt8ForAllPoints=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&
|
||||
(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Dc(c,a,b,d)};g.prototype.GetAttributeUInt8ForAllPoints=g.prototype.GetAttributeUInt8ForAllPoints=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Ec(c,a,b,d)};g.prototype.GetAttributeInt16ForAllPoints=g.prototype.GetAttributeInt16ForAllPoints=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&
|
||||
(d=d.ptr);return!!Fc(c,a,b,d)};g.prototype.GetAttributeUInt16ForAllPoints=g.prototype.GetAttributeUInt16ForAllPoints=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Gc(c,a,b,d)};g.prototype.GetAttributeInt32ForAllPoints=g.prototype.GetAttributeInt32ForAllPoints=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Hc(c,
|
||||
a,b,d)};g.prototype.GetAttributeUInt32ForAllPoints=g.prototype.GetAttributeUInt32ForAllPoints=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Ic(c,a,b,d)};g.prototype.GetAttributeDataArrayForAllPoints=g.prototype.GetAttributeDataArrayForAllPoints=function(a,b,d,e,f){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&
|
||||
(e=e.ptr);f&&"object"===typeof f&&(f=f.ptr);return!!Jc(c,a,b,d,e,f)};g.prototype.SkipAttributeTransform=g.prototype.SkipAttributeTransform=function(a){var b=this.ptr;a&&"object"===typeof a&&(a=a.ptr);Kc(b,a)};g.prototype.__destroy__=g.prototype.__destroy__=function(){Lc(this.ptr)};y.prototype=Object.create(p.prototype);y.prototype.constructor=y;y.prototype.__class__=y;y.__cache__={};a.Mesh=y;y.prototype.num_faces=y.prototype.num_faces=function(){return Mc(this.ptr)};y.prototype.num_attributes=y.prototype.num_attributes=
|
||||
function(){return Nc(this.ptr)};y.prototype.num_points=y.prototype.num_points=function(){return Oc(this.ptr)};y.prototype.__destroy__=y.prototype.__destroy__=function(){Pc(this.ptr)};Q.prototype=Object.create(p.prototype);Q.prototype.constructor=Q;Q.prototype.__class__=Q;Q.__cache__={};a.VoidPtr=Q;Q.prototype.__destroy__=Q.prototype.__destroy__=function(){Qc(this.ptr)};I.prototype=Object.create(p.prototype);I.prototype.constructor=I;I.prototype.__class__=I;I.__cache__={};a.DracoInt32Array=I;I.prototype.GetValue=
|
||||
I.prototype.GetValue=function(a){var b=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return Rc(b,a)};I.prototype.size=I.prototype.size=function(){return Sc(this.ptr)};I.prototype.__destroy__=I.prototype.__destroy__=function(){Tc(this.ptr)};L.prototype=Object.create(p.prototype);L.prototype.constructor=L;L.prototype.__class__=L;L.__cache__={};a.Metadata=L;L.prototype.__destroy__=L.prototype.__destroy__=function(){Uc(this.ptr)};(function(){function c(){a.OK=Vc();a.DRACO_ERROR=Wc();a.IO_ERROR=Xc();a.INVALID_PARAMETER=
|
||||
Yc();a.UNSUPPORTED_VERSION=Zc();a.UNKNOWN_VERSION=$c();a.DT_INVALID=ad();a.DT_INT8=bd();a.DT_UINT8=cd();a.DT_INT16=dd();a.DT_UINT16=ed();a.DT_INT32=fd();a.DT_UINT32=gd();a.DT_INT64=hd();a.DT_UINT64=id();a.DT_FLOAT32=jd();a.DT_FLOAT64=kd();a.DT_BOOL=ld();a.DT_TYPES_COUNT=md();a.INVALID_GEOMETRY_TYPE=nd();a.POINT_CLOUD=od();a.TRIANGULAR_MESH=pd();a.ATTRIBUTE_INVALID_TRANSFORM=qd();a.ATTRIBUTE_NO_TRANSFORM=rd();a.ATTRIBUTE_QUANTIZATION_TRANSFORM=sd();a.ATTRIBUTE_OCTAHEDRON_TRANSFORM=td();a.INVALID=ud();
|
||||
a.POSITION=vd();a.NORMAL=wd();a.COLOR=xd();a.TEX_COORD=yd();a.GENERIC=zd()}Ba?c():Da.unshift(c)})();if("function"===typeof a.onModuleParsed)a.onModuleParsed();return m}}();"object"===typeof exports&&"object"===typeof module?module.exports=DracoDecoderModule:"function"===typeof define&&define.amd?define([],function(){return DracoDecoderModule}):"object"===typeof exports&&(exports.DracoDecoderModule=DracoDecoderModule);
|
||||
48
public/draco/gltf/draco_decoder.js
Normal file
BIN
public/draco/gltf/draco_decoder.wasm
Normal file
33
public/draco/gltf/draco_encoder.js
Executable file
104
public/draco/gltf/draco_wasm_wrapper.js
Normal file
@@ -0,0 +1,104 @@
|
||||
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(f){var m=0;return function(){return m<f.length?{done:!1,value:f[m++]}:{done:!0}}};$jscomp.arrayIterator=function(f){return{next:$jscomp.arrayIteratorImpl(f)}};$jscomp.makeIterator=function(f){var m="undefined"!=typeof Symbol&&Symbol.iterator&&f[Symbol.iterator];return m?m.call(f):$jscomp.arrayIterator(f)};
|
||||
$jscomp.getGlobal=function(f){return"undefined"!=typeof window&&window===f?f:"undefined"!=typeof global&&null!=global?global:f};$jscomp.global=$jscomp.getGlobal(this);$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(f,m,v){f!=Array.prototype&&f!=Object.prototype&&(f[m]=v.value)};
|
||||
$jscomp.polyfill=function(f,m,v,t){if(m){v=$jscomp.global;f=f.split(".");for(t=0;t<f.length-1;t++){var h=f[t];h in v||(v[h]={});v=v[h]}f=f[f.length-1];t=v[f];m=m(t);m!=t&&null!=m&&$jscomp.defineProperty(v,f,{configurable:!0,writable:!0,value:m})}};$jscomp.FORCE_POLYFILL_PROMISE=!1;
|
||||
$jscomp.polyfill("Promise",function(f){function m(){this.batch_=null}function v(e){return e instanceof h?e:new h(function(l,f){l(e)})}if(f&&!$jscomp.FORCE_POLYFILL_PROMISE)return f;m.prototype.asyncExecute=function(e){if(null==this.batch_){this.batch_=[];var l=this;this.asyncExecuteFunction(function(){l.executeBatch_()})}this.batch_.push(e)};var t=$jscomp.global.setTimeout;m.prototype.asyncExecuteFunction=function(e){t(e,0)};m.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var e=
|
||||
this.batch_;this.batch_=[];for(var l=0;l<e.length;++l){var f=e[l];e[l]=null;try{f()}catch(z){this.asyncThrow_(z)}}}this.batch_=null};m.prototype.asyncThrow_=function(e){this.asyncExecuteFunction(function(){throw e;})};var h=function(e){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];var l=this.createResolveAndReject_();try{e(l.resolve,l.reject)}catch(S){l.reject(S)}};h.prototype.createResolveAndReject_=function(){function e(e){return function(h){f||(f=!0,e.call(l,h))}}var l=this,f=!1;
|
||||
return{resolve:e(this.resolveTo_),reject:e(this.reject_)}};h.prototype.resolveTo_=function(e){if(e===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(e instanceof h)this.settleSameAsPromise_(e);else{a:switch(typeof e){case "object":var l=null!=e;break a;case "function":l=!0;break a;default:l=!1}l?this.resolveToNonPromiseObj_(e):this.fulfill_(e)}};h.prototype.resolveToNonPromiseObj_=function(e){var l=void 0;try{l=e.then}catch(S){this.reject_(S);return}"function"==typeof l?
|
||||
this.settleSameAsThenable_(l,e):this.fulfill_(e)};h.prototype.reject_=function(e){this.settle_(2,e)};h.prototype.fulfill_=function(e){this.settle_(1,e)};h.prototype.settle_=function(e,l){if(0!=this.state_)throw Error("Cannot settle("+e+", "+l+"): Promise already settled in state"+this.state_);this.state_=e;this.result_=l;this.executeOnSettledCallbacks_()};h.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var e=0;e<this.onSettledCallbacks_.length;++e)X.asyncExecute(this.onSettledCallbacks_[e]);
|
||||
this.onSettledCallbacks_=null}};var X=new m;h.prototype.settleSameAsPromise_=function(e){var l=this.createResolveAndReject_();e.callWhenSettled_(l.resolve,l.reject)};h.prototype.settleSameAsThenable_=function(e,l){var f=this.createResolveAndReject_();try{e.call(l,f.resolve,f.reject)}catch(z){f.reject(z)}};h.prototype.then=function(e,f){function l(e,f){return"function"==typeof e?function(f){try{m(e(f))}catch(p){v(p)}}:f}var m,v,t=new h(function(e,f){m=e;v=f});this.callWhenSettled_(l(e,m),l(f,v));return t};
|
||||
h.prototype.catch=function(e){return this.then(void 0,e)};h.prototype.callWhenSettled_=function(e,f){function l(){switch(h.state_){case 1:e(h.result_);break;case 2:f(h.result_);break;default:throw Error("Unexpected state: "+h.state_);}}var h=this;null==this.onSettledCallbacks_?X.asyncExecute(l):this.onSettledCallbacks_.push(l)};h.resolve=v;h.reject=function(e){return new h(function(f,h){h(e)})};h.race=function(e){return new h(function(f,h){for(var l=$jscomp.makeIterator(e),m=l.next();!m.done;m=l.next())v(m.value).callWhenSettled_(f,
|
||||
h)})};h.all=function(e){var f=$jscomp.makeIterator(e),m=f.next();return m.done?v([]):new h(function(e,h){function l(f){return function(h){t[f]=h;z--;0==z&&e(t)}}var t=[],z=0;do t.push(void 0),z++,v(m.value).callWhenSettled_(l(t.length-1),h),m=f.next();while(!m.done)})};return h},"es6","es3");
|
||||
var DracoDecoderModule=function(){var f="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;"undefined"!==typeof __filename&&(f=f||__filename);return function(m){function v(k){return a.locateFile?a.locateFile(k,M):M+k}function t(a,c){a||z("Assertion failed: "+c)}function h(a,c,b){var d=c+b;for(b=c;a[b]&&!(b>=d);)++b;if(16<b-c&&a.subarray&&xa)return xa.decode(a.subarray(c,b));for(d="";c<b;){var k=a[c++];if(k&128){var e=a[c++]&63;if(192==(k&224))d+=String.fromCharCode((k&
|
||||
31)<<6|e);else{var f=a[c++]&63;k=224==(k&240)?(k&15)<<12|e<<6|f:(k&7)<<18|e<<12|f<<6|a[c++]&63;65536>k?d+=String.fromCharCode(k):(k-=65536,d+=String.fromCharCode(55296|k>>10,56320|k&1023))}}else d+=String.fromCharCode(k)}return d}function X(a,c){return a?h(ca,a,c):""}function e(a,c){0<a%c&&(a+=c-a%c);return a}function l(k){ka=k;a.HEAP8=T=new Int8Array(k);a.HEAP16=new Int16Array(k);a.HEAP32=P=new Int32Array(k);a.HEAPU8=ca=new Uint8Array(k);a.HEAPU16=new Uint16Array(k);a.HEAPU32=new Uint32Array(k);
|
||||
a.HEAPF32=new Float32Array(k);a.HEAPF64=new Float64Array(k)}function S(k){for(;0<k.length;){var c=k.shift();if("function"==typeof c)c();else{var b=c.func;"number"===typeof b?void 0===c.arg?a.dynCall_v(b):a.dynCall_vi(b,c.arg):b(void 0===c.arg?null:c.arg)}}}function z(k){if(a.onAbort)a.onAbort(k);k+="";ya(k);Y(k);za=!0;throw new WebAssembly.RuntimeError("abort("+k+"). Build with -s ASSERTIONS=1 for more info.");}function va(a){return String.prototype.startsWith?a.startsWith("data:application/octet-stream;base64,"):
|
||||
0===a.indexOf("data:application/octet-stream;base64,")}function wa(){try{if(da)return new Uint8Array(da);if(la)return la(U);throw"both async and sync fetching of the wasm failed";}catch(k){z(k)}}function Ma(){return da||!ea&&!Z||"function"!==typeof fetch?new Promise(function(a,c){a(wa())}):fetch(U,{credentials:"same-origin"}).then(function(a){if(!a.ok)throw"failed to load wasm binary file at '"+U+"'";return a.arrayBuffer()}).catch(function(){return wa()})}function ba(){if(!ba.strings){var a={USER:"web_user",
|
||||
LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"===typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:na},c;for(c in Aa)a[c]=Aa[c];var b=[];for(c in a)b.push(c+"="+a[c]);ba.strings=b}return ba.strings}function ma(k){function c(){if(!fa&&(fa=!0,!za)){Ba=!0;S(Ca);S(Da);if(a.onRuntimeInitialized)a.onRuntimeInitialized();if(a.postRun)for("function"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)Ea.unshift(a.postRun.shift());
|
||||
S(Ea)}}if(!(0<aa)){if(a.preRun)for("function"==typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)Fa.unshift(a.preRun.shift());S(Fa);0<aa||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1);c()},1)):c())}}function p(){}function u(a){return(a||p).__cache__}function N(a,c){var b=u(c),d=b[a];if(d)return d;d=Object.create((c||p).prototype);d.ptr=a;return b[a]=d}function V(a){if("string"===typeof a){for(var c=0,b=0;b<a.length;++b){var d=a.charCodeAt(b);
|
||||
55296<=d&&57343>=d&&(d=65536+((d&1023)<<10)|a.charCodeAt(++b)&1023);127>=d?++c:c=2047>=d?c+2:65535>=d?c+3:c+4}c=Array(c+1);b=0;d=c.length;if(0<d){d=b+d-1;for(var k=0;k<a.length;++k){var e=a.charCodeAt(k);if(55296<=e&&57343>=e){var f=a.charCodeAt(++k);e=65536+((e&1023)<<10)|f&1023}if(127>=e){if(b>=d)break;c[b++]=e}else{if(2047>=e){if(b+1>=d)break;c[b++]=192|e>>6}else{if(65535>=e){if(b+2>=d)break;c[b++]=224|e>>12}else{if(b+3>=d)break;c[b++]=240|e>>18;c[b++]=128|e>>12&63}c[b++]=128|e>>6&63}c[b++]=128|
|
||||
e&63}}c[b]=0}a=n.alloc(c,T);n.copy(c,T,a)}return a}function x(){throw"cannot construct a Status, no constructor in IDL";}function A(){this.ptr=Oa();u(A)[this.ptr]=this}function B(){this.ptr=Pa();u(B)[this.ptr]=this}function C(){this.ptr=Qa();u(C)[this.ptr]=this}function D(){this.ptr=Ra();u(D)[this.ptr]=this}function E(){this.ptr=Sa();u(E)[this.ptr]=this}function q(){this.ptr=Ta();u(q)[this.ptr]=this}function J(){this.ptr=Ua();u(J)[this.ptr]=this}function w(){this.ptr=Va();u(w)[this.ptr]=this}function F(){this.ptr=
|
||||
Wa();u(F)[this.ptr]=this}function r(){this.ptr=Xa();u(r)[this.ptr]=this}function G(){this.ptr=Ya();u(G)[this.ptr]=this}function H(){this.ptr=Za();u(H)[this.ptr]=this}function O(){this.ptr=$a();u(O)[this.ptr]=this}function K(){this.ptr=ab();u(K)[this.ptr]=this}function g(){this.ptr=bb();u(g)[this.ptr]=this}function y(){this.ptr=cb();u(y)[this.ptr]=this}function Q(){throw"cannot construct a VoidPtr, no constructor in IDL";}function I(){this.ptr=db();u(I)[this.ptr]=this}function L(){this.ptr=eb();u(L)[this.ptr]=
|
||||
this}m=m||{};var a="undefined"!==typeof m?m:{},Ga=!1,Ha=!1;a.onRuntimeInitialized=function(){Ga=!0;if(Ha&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.onModuleParsed=function(){Ha=!0;if(Ga&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.isVersionSupported=function(a){if("string"!==typeof a)return!1;a=a.split(".");return 2>a.length||3<a.length?!1:1==a[0]&&0<=a[1]&&3>=a[1]?!0:0!=a[0]||10<a[1]?!1:!0};var ha={},W;for(W in a)a.hasOwnProperty(W)&&(ha[W]=a[W]);var na="./this.program",
|
||||
ea=!1,Z=!1,oa=!1,fb=!1,Ia=!1;ea="object"===typeof window;Z="function"===typeof importScripts;oa=(fb="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node)&&!ea&&!Z;Ia=!ea&&!oa&&!Z;var M="",pa,qa;if(oa){M=__dirname+"/";var ra=function(a,c){pa||(pa=require("fs"));qa||(qa=require("path"));a=qa.normalize(a);return pa.readFileSync(a,c?null:"utf8")};var la=function(a){a=ra(a,!0);a.buffer||(a=new Uint8Array(a));t(a.buffer);return a};1<process.argv.length&&
|
||||
(na=process.argv[1].replace(/\\/g,"/"));process.argv.slice(2);process.on("uncaughtException",function(a){throw a;});process.on("unhandledRejection",z);a.inspect=function(){return"[Emscripten Module object]"}}else if(Ia)"undefined"!=typeof read&&(ra=function(a){return read(a)}),la=function(a){if("function"===typeof readbuffer)return new Uint8Array(readbuffer(a));a=read(a,"binary");t("object"===typeof a);return a},"undefined"!==typeof print&&("undefined"===typeof console&&(console={}),console.log=print,
|
||||
console.warn=console.error="undefined"!==typeof printErr?printErr:print);else if(ea||Z)Z?M=self.location.href:document.currentScript&&(M=document.currentScript.src),f&&(M=f),M=0!==M.indexOf("blob:")?M.substr(0,M.lastIndexOf("/")+1):"",ra=function(a){var c=new XMLHttpRequest;c.open("GET",a,!1);c.send(null);return c.responseText},Z&&(la=function(a){var c=new XMLHttpRequest;c.open("GET",a,!1);c.responseType="arraybuffer";c.send(null);return new Uint8Array(c.response)});var ya=a.print||console.log.bind(console),
|
||||
Y=a.printErr||console.warn.bind(console);for(W in ha)ha.hasOwnProperty(W)&&(a[W]=ha[W]);ha=null;a.thisProgram&&(na=a.thisProgram);var da;a.wasmBinary&&(da=a.wasmBinary);"object"!==typeof WebAssembly&&Y("no native wasm support detected");var ia,gb=new WebAssembly.Table({initial:293,maximum:293,element:"anyfunc"}),za=!1,xa="undefined"!==typeof TextDecoder?new TextDecoder("utf8"):void 0;"undefined"!==typeof TextDecoder&&new TextDecoder("utf-16le");var T,ca,P,Ja=a.TOTAL_MEMORY||16777216;if(ia=a.wasmMemory?
|
||||
a.wasmMemory:new WebAssembly.Memory({initial:Ja/65536}))var ka=ia.buffer;Ja=ka.byteLength;l(ka);P[3416]=5256704;var Fa=[],Ca=[],Da=[],Ea=[],Ba=!1,aa=0,sa=null,ja=null;a.preloadedImages={};a.preloadedAudios={};var U="draco_decoder.wasm";va(U)||(U=v(U));Ca.push({func:function(){hb()}});var Aa={},R={buffers:[null,[],[]],printChar:function(a,c){var b=R.buffers[a];0===c||10===c?((1===a?ya:Y)(h(b,0)),b.length=0):b.push(c)},varargs:0,get:function(a){R.varargs+=4;return P[R.varargs-4>>2]},getStr:function(){return X(R.get())},
|
||||
get64:function(){var a=R.get();R.get();return a},getZero:function(){R.get()}},Ka={__cxa_allocate_exception:function(a){return ib(a)},__cxa_throw:function(a,c,b){"uncaught_exception"in ta?ta.uncaught_exceptions++:ta.uncaught_exceptions=1;throw a;},abort:function(){z()},emscripten_get_sbrk_ptr:function(){return 13664},emscripten_memcpy_big:function(a,c,b){ca.set(ca.subarray(c,c+b),a)},emscripten_resize_heap:function(a){if(2147418112<a)return!1;for(var c=Math.max(T.length,16777216);c<a;)c=536870912>=
|
||||
c?e(2*c,65536):Math.min(e((3*c+2147483648)/4,65536),2147418112);a:{try{ia.grow(c-ka.byteLength+65535>>16);l(ia.buffer);var b=1;break a}catch(d){}b=void 0}return b?!0:!1},environ_get:function(a,c){var b=0;ba().forEach(function(d,e){var f=c+b;e=P[a+4*e>>2]=f;for(f=0;f<d.length;++f)T[e++>>0]=d.charCodeAt(f);T[e>>0]=0;b+=d.length+1});return 0},environ_sizes_get:function(a,c){var b=ba();P[a>>2]=b.length;var d=0;b.forEach(function(a){d+=a.length+1});P[c>>2]=d;return 0},fd_close:function(a){return 0},fd_seek:function(a,
|
||||
c,b,d,e){return 0},fd_write:function(a,c,b,d){try{for(var e=0,f=0;f<b;f++){for(var g=P[c+8*f>>2],k=P[c+(8*f+4)>>2],h=0;h<k;h++)R.printChar(a,ca[g+h]);e+=k}P[d>>2]=e;return 0}catch(ua){return"undefined"!==typeof FS&&ua instanceof FS.ErrnoError||z(ua),ua.errno}},memory:ia,setTempRet0:function(a){},table:gb},La=function(){function e(c,b){a.asm=c.exports;aa--;a.monitorRunDependencies&&a.monitorRunDependencies(aa);0==aa&&(null!==sa&&(clearInterval(sa),sa=null),ja&&(c=ja,ja=null,c()))}function c(a){e(a.instance)}
|
||||
function b(a){return Ma().then(function(a){return WebAssembly.instantiate(a,d)}).then(a,function(a){Y("failed to asynchronously prepare wasm: "+a);z(a)})}var d={env:Ka,wasi_unstable:Ka};aa++;a.monitorRunDependencies&&a.monitorRunDependencies(aa);if(a.instantiateWasm)try{return a.instantiateWasm(d,e)}catch(Na){return Y("Module.instantiateWasm callback failed with error: "+Na),!1}(function(){if(da||"function"!==typeof WebAssembly.instantiateStreaming||va(U)||"function"!==typeof fetch)return b(c);fetch(U,
|
||||
{credentials:"same-origin"}).then(function(a){return WebAssembly.instantiateStreaming(a,d).then(c,function(a){Y("wasm streaming compile failed: "+a);Y("falling back to ArrayBuffer instantiation");b(c)})})})();return{}}();a.asm=La;var hb=a.___wasm_call_ctors=function(){return a.asm.__wasm_call_ctors.apply(null,arguments)},jb=a._emscripten_bind_Status_code_0=function(){return a.asm.emscripten_bind_Status_code_0.apply(null,arguments)},kb=a._emscripten_bind_Status_ok_0=function(){return a.asm.emscripten_bind_Status_ok_0.apply(null,
|
||||
arguments)},lb=a._emscripten_bind_Status_error_msg_0=function(){return a.asm.emscripten_bind_Status_error_msg_0.apply(null,arguments)},mb=a._emscripten_bind_Status___destroy___0=function(){return a.asm.emscripten_bind_Status___destroy___0.apply(null,arguments)},Oa=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return a.asm.emscripten_bind_DracoUInt16Array_DracoUInt16Array_0.apply(null,arguments)},nb=a._emscripten_bind_DracoUInt16Array_GetValue_1=function(){return a.asm.emscripten_bind_DracoUInt16Array_GetValue_1.apply(null,
|
||||
arguments)},ob=a._emscripten_bind_DracoUInt16Array_size_0=function(){return a.asm.emscripten_bind_DracoUInt16Array_size_0.apply(null,arguments)},pb=a._emscripten_bind_DracoUInt16Array___destroy___0=function(){return a.asm.emscripten_bind_DracoUInt16Array___destroy___0.apply(null,arguments)},Pa=a._emscripten_bind_PointCloud_PointCloud_0=function(){return a.asm.emscripten_bind_PointCloud_PointCloud_0.apply(null,arguments)},qb=a._emscripten_bind_PointCloud_num_attributes_0=function(){return a.asm.emscripten_bind_PointCloud_num_attributes_0.apply(null,
|
||||
arguments)},rb=a._emscripten_bind_PointCloud_num_points_0=function(){return a.asm.emscripten_bind_PointCloud_num_points_0.apply(null,arguments)},sb=a._emscripten_bind_PointCloud___destroy___0=function(){return a.asm.emscripten_bind_PointCloud___destroy___0.apply(null,arguments)},Qa=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return a.asm.emscripten_bind_DracoUInt8Array_DracoUInt8Array_0.apply(null,arguments)},tb=a._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return a.asm.emscripten_bind_DracoUInt8Array_GetValue_1.apply(null,
|
||||
arguments)},ub=a._emscripten_bind_DracoUInt8Array_size_0=function(){return a.asm.emscripten_bind_DracoUInt8Array_size_0.apply(null,arguments)},vb=a._emscripten_bind_DracoUInt8Array___destroy___0=function(){return a.asm.emscripten_bind_DracoUInt8Array___destroy___0.apply(null,arguments)},Ra=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=function(){return a.asm.emscripten_bind_DracoUInt32Array_DracoUInt32Array_0.apply(null,arguments)},wb=a._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return a.asm.emscripten_bind_DracoUInt32Array_GetValue_1.apply(null,
|
||||
arguments)},xb=a._emscripten_bind_DracoUInt32Array_size_0=function(){return a.asm.emscripten_bind_DracoUInt32Array_size_0.apply(null,arguments)},yb=a._emscripten_bind_DracoUInt32Array___destroy___0=function(){return a.asm.emscripten_bind_DracoUInt32Array___destroy___0.apply(null,arguments)},Sa=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return a.asm.emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0.apply(null,arguments)},zb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=
|
||||
function(){return a.asm.emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1.apply(null,arguments)},Ab=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return a.asm.emscripten_bind_AttributeOctahedronTransform_quantization_bits_0.apply(null,arguments)},Bb=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return a.asm.emscripten_bind_AttributeOctahedronTransform___destroy___0.apply(null,arguments)},Ta=a._emscripten_bind_PointAttribute_PointAttribute_0=
|
||||
function(){return a.asm.emscripten_bind_PointAttribute_PointAttribute_0.apply(null,arguments)},Cb=a._emscripten_bind_PointAttribute_size_0=function(){return a.asm.emscripten_bind_PointAttribute_size_0.apply(null,arguments)},Db=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=function(){return a.asm.emscripten_bind_PointAttribute_GetAttributeTransformData_0.apply(null,arguments)},Eb=a._emscripten_bind_PointAttribute_attribute_type_0=function(){return a.asm.emscripten_bind_PointAttribute_attribute_type_0.apply(null,
|
||||
arguments)},Fb=a._emscripten_bind_PointAttribute_data_type_0=function(){return a.asm.emscripten_bind_PointAttribute_data_type_0.apply(null,arguments)},Gb=a._emscripten_bind_PointAttribute_num_components_0=function(){return a.asm.emscripten_bind_PointAttribute_num_components_0.apply(null,arguments)},Hb=a._emscripten_bind_PointAttribute_normalized_0=function(){return a.asm.emscripten_bind_PointAttribute_normalized_0.apply(null,arguments)},Ib=a._emscripten_bind_PointAttribute_byte_stride_0=function(){return a.asm.emscripten_bind_PointAttribute_byte_stride_0.apply(null,
|
||||
arguments)},Jb=a._emscripten_bind_PointAttribute_byte_offset_0=function(){return a.asm.emscripten_bind_PointAttribute_byte_offset_0.apply(null,arguments)},Kb=a._emscripten_bind_PointAttribute_unique_id_0=function(){return a.asm.emscripten_bind_PointAttribute_unique_id_0.apply(null,arguments)},Lb=a._emscripten_bind_PointAttribute___destroy___0=function(){return a.asm.emscripten_bind_PointAttribute___destroy___0.apply(null,arguments)},Ua=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=
|
||||
function(){return a.asm.emscripten_bind_AttributeTransformData_AttributeTransformData_0.apply(null,arguments)},Mb=a._emscripten_bind_AttributeTransformData_transform_type_0=function(){return a.asm.emscripten_bind_AttributeTransformData_transform_type_0.apply(null,arguments)},Nb=a._emscripten_bind_AttributeTransformData___destroy___0=function(){return a.asm.emscripten_bind_AttributeTransformData___destroy___0.apply(null,arguments)},Va=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=
|
||||
function(){return a.asm.emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0.apply(null,arguments)},Ob=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=function(){return a.asm.emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1.apply(null,arguments)},Pb=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=function(){return a.asm.emscripten_bind_AttributeQuantizationTransform_quantization_bits_0.apply(null,arguments)},
|
||||
Qb=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return a.asm.emscripten_bind_AttributeQuantizationTransform_min_value_1.apply(null,arguments)},Rb=a._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return a.asm.emscripten_bind_AttributeQuantizationTransform_range_0.apply(null,arguments)},Sb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=function(){return a.asm.emscripten_bind_AttributeQuantizationTransform___destroy___0.apply(null,arguments)},
|
||||
Wa=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return a.asm.emscripten_bind_DracoInt8Array_DracoInt8Array_0.apply(null,arguments)},Tb=a._emscripten_bind_DracoInt8Array_GetValue_1=function(){return a.asm.emscripten_bind_DracoInt8Array_GetValue_1.apply(null,arguments)},Ub=a._emscripten_bind_DracoInt8Array_size_0=function(){return a.asm.emscripten_bind_DracoInt8Array_size_0.apply(null,arguments)},Vb=a._emscripten_bind_DracoInt8Array___destroy___0=function(){return a.asm.emscripten_bind_DracoInt8Array___destroy___0.apply(null,
|
||||
arguments)},Xa=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=function(){return a.asm.emscripten_bind_MetadataQuerier_MetadataQuerier_0.apply(null,arguments)},Wb=a._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return a.asm.emscripten_bind_MetadataQuerier_HasEntry_2.apply(null,arguments)},Xb=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return a.asm.emscripten_bind_MetadataQuerier_GetIntEntry_2.apply(null,arguments)},Yb=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=
|
||||
function(){return a.asm.emscripten_bind_MetadataQuerier_GetIntEntryArray_3.apply(null,arguments)},Zb=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return a.asm.emscripten_bind_MetadataQuerier_GetDoubleEntry_2.apply(null,arguments)},$b=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return a.asm.emscripten_bind_MetadataQuerier_GetStringEntry_2.apply(null,arguments)},ac=a._emscripten_bind_MetadataQuerier_NumEntries_1=function(){return a.asm.emscripten_bind_MetadataQuerier_NumEntries_1.apply(null,
|
||||
arguments)},bc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return a.asm.emscripten_bind_MetadataQuerier_GetEntryName_2.apply(null,arguments)},cc=a._emscripten_bind_MetadataQuerier___destroy___0=function(){return a.asm.emscripten_bind_MetadataQuerier___destroy___0.apply(null,arguments)},Ya=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return a.asm.emscripten_bind_DracoInt16Array_DracoInt16Array_0.apply(null,arguments)},dc=a._emscripten_bind_DracoInt16Array_GetValue_1=
|
||||
function(){return a.asm.emscripten_bind_DracoInt16Array_GetValue_1.apply(null,arguments)},ec=a._emscripten_bind_DracoInt16Array_size_0=function(){return a.asm.emscripten_bind_DracoInt16Array_size_0.apply(null,arguments)},fc=a._emscripten_bind_DracoInt16Array___destroy___0=function(){return a.asm.emscripten_bind_DracoInt16Array___destroy___0.apply(null,arguments)},Za=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return a.asm.emscripten_bind_DracoFloat32Array_DracoFloat32Array_0.apply(null,
|
||||
arguments)},gc=a._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return a.asm.emscripten_bind_DracoFloat32Array_GetValue_1.apply(null,arguments)},hc=a._emscripten_bind_DracoFloat32Array_size_0=function(){return a.asm.emscripten_bind_DracoFloat32Array_size_0.apply(null,arguments)},ic=a._emscripten_bind_DracoFloat32Array___destroy___0=function(){return a.asm.emscripten_bind_DracoFloat32Array___destroy___0.apply(null,arguments)},$a=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return a.asm.emscripten_bind_GeometryAttribute_GeometryAttribute_0.apply(null,
|
||||
arguments)},jc=a._emscripten_bind_GeometryAttribute___destroy___0=function(){return a.asm.emscripten_bind_GeometryAttribute___destroy___0.apply(null,arguments)},ab=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=function(){return a.asm.emscripten_bind_DecoderBuffer_DecoderBuffer_0.apply(null,arguments)},kc=a._emscripten_bind_DecoderBuffer_Init_2=function(){return a.asm.emscripten_bind_DecoderBuffer_Init_2.apply(null,arguments)},lc=a._emscripten_bind_DecoderBuffer___destroy___0=function(){return a.asm.emscripten_bind_DecoderBuffer___destroy___0.apply(null,
|
||||
arguments)},bb=a._emscripten_bind_Decoder_Decoder_0=function(){return a.asm.emscripten_bind_Decoder_Decoder_0.apply(null,arguments)},mc=a._emscripten_bind_Decoder_GetEncodedGeometryType_1=function(){return a.asm.emscripten_bind_Decoder_GetEncodedGeometryType_1.apply(null,arguments)},nc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=function(){return a.asm.emscripten_bind_Decoder_DecodeBufferToPointCloud_2.apply(null,arguments)},oc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=function(){return a.asm.emscripten_bind_Decoder_DecodeBufferToMesh_2.apply(null,
|
||||
arguments)},pc=a._emscripten_bind_Decoder_GetAttributeId_2=function(){return a.asm.emscripten_bind_Decoder_GetAttributeId_2.apply(null,arguments)},qc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=function(){return a.asm.emscripten_bind_Decoder_GetAttributeIdByName_2.apply(null,arguments)},rc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return a.asm.emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3.apply(null,arguments)},sc=a._emscripten_bind_Decoder_GetAttribute_2=
|
||||
function(){return a.asm.emscripten_bind_Decoder_GetAttribute_2.apply(null,arguments)},tc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return a.asm.emscripten_bind_Decoder_GetAttributeByUniqueId_2.apply(null,arguments)},uc=a._emscripten_bind_Decoder_GetMetadata_1=function(){return a.asm.emscripten_bind_Decoder_GetMetadata_1.apply(null,arguments)},vc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return a.asm.emscripten_bind_Decoder_GetAttributeMetadata_2.apply(null,
|
||||
arguments)},wc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=function(){return a.asm.emscripten_bind_Decoder_GetFaceFromMesh_3.apply(null,arguments)},xc=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=function(){return a.asm.emscripten_bind_Decoder_GetTriangleStripsFromMesh_2.apply(null,arguments)},yc=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return a.asm.emscripten_bind_Decoder_GetTrianglesUInt16Array_3.apply(null,arguments)},zc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=
|
||||
function(){return a.asm.emscripten_bind_Decoder_GetTrianglesUInt32Array_3.apply(null,arguments)},Ac=a._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return a.asm.emscripten_bind_Decoder_GetAttributeFloat_3.apply(null,arguments)},Bc=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return a.asm.emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3.apply(null,arguments)},Cc=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return a.asm.emscripten_bind_Decoder_GetAttributeIntForAllPoints_3.apply(null,
|
||||
arguments)},Dc=a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return a.asm.emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3.apply(null,arguments)},Ec=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return a.asm.emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3.apply(null,arguments)},Fc=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return a.asm.emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3.apply(null,arguments)},
|
||||
Gc=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=function(){return a.asm.emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3.apply(null,arguments)},Hc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return a.asm.emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3.apply(null,arguments)},Ic=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return a.asm.emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3.apply(null,arguments)},Jc=
|
||||
a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=function(){return a.asm.emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5.apply(null,arguments)},Kc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return a.asm.emscripten_bind_Decoder_SkipAttributeTransform_1.apply(null,arguments)},Lc=a._emscripten_bind_Decoder___destroy___0=function(){return a.asm.emscripten_bind_Decoder___destroy___0.apply(null,arguments)},cb=a._emscripten_bind_Mesh_Mesh_0=function(){return a.asm.emscripten_bind_Mesh_Mesh_0.apply(null,
|
||||
arguments)},Mc=a._emscripten_bind_Mesh_num_faces_0=function(){return a.asm.emscripten_bind_Mesh_num_faces_0.apply(null,arguments)},Nc=a._emscripten_bind_Mesh_num_attributes_0=function(){return a.asm.emscripten_bind_Mesh_num_attributes_0.apply(null,arguments)},Oc=a._emscripten_bind_Mesh_num_points_0=function(){return a.asm.emscripten_bind_Mesh_num_points_0.apply(null,arguments)},Pc=a._emscripten_bind_Mesh___destroy___0=function(){return a.asm.emscripten_bind_Mesh___destroy___0.apply(null,arguments)},
|
||||
Qc=a._emscripten_bind_VoidPtr___destroy___0=function(){return a.asm.emscripten_bind_VoidPtr___destroy___0.apply(null,arguments)},db=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=function(){return a.asm.emscripten_bind_DracoInt32Array_DracoInt32Array_0.apply(null,arguments)},Rc=a._emscripten_bind_DracoInt32Array_GetValue_1=function(){return a.asm.emscripten_bind_DracoInt32Array_GetValue_1.apply(null,arguments)},Sc=a._emscripten_bind_DracoInt32Array_size_0=function(){return a.asm.emscripten_bind_DracoInt32Array_size_0.apply(null,
|
||||
arguments)},Tc=a._emscripten_bind_DracoInt32Array___destroy___0=function(){return a.asm.emscripten_bind_DracoInt32Array___destroy___0.apply(null,arguments)},eb=a._emscripten_bind_Metadata_Metadata_0=function(){return a.asm.emscripten_bind_Metadata_Metadata_0.apply(null,arguments)},Uc=a._emscripten_bind_Metadata___destroy___0=function(){return a.asm.emscripten_bind_Metadata___destroy___0.apply(null,arguments)},Vc=a._emscripten_enum_draco_StatusCode_OK=function(){return a.asm.emscripten_enum_draco_StatusCode_OK.apply(null,
|
||||
arguments)},Wc=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return a.asm.emscripten_enum_draco_StatusCode_DRACO_ERROR.apply(null,arguments)},Xc=a._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return a.asm.emscripten_enum_draco_StatusCode_IO_ERROR.apply(null,arguments)},Yc=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=function(){return a.asm.emscripten_enum_draco_StatusCode_INVALID_PARAMETER.apply(null,arguments)},Zc=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=
|
||||
function(){return a.asm.emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION.apply(null,arguments)},$c=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return a.asm.emscripten_enum_draco_StatusCode_UNKNOWN_VERSION.apply(null,arguments)},ad=a._emscripten_enum_draco_DataType_DT_INVALID=function(){return a.asm.emscripten_enum_draco_DataType_DT_INVALID.apply(null,arguments)},bd=a._emscripten_enum_draco_DataType_DT_INT8=function(){return a.asm.emscripten_enum_draco_DataType_DT_INT8.apply(null,
|
||||
arguments)},cd=a._emscripten_enum_draco_DataType_DT_UINT8=function(){return a.asm.emscripten_enum_draco_DataType_DT_UINT8.apply(null,arguments)},dd=a._emscripten_enum_draco_DataType_DT_INT16=function(){return a.asm.emscripten_enum_draco_DataType_DT_INT16.apply(null,arguments)},ed=a._emscripten_enum_draco_DataType_DT_UINT16=function(){return a.asm.emscripten_enum_draco_DataType_DT_UINT16.apply(null,arguments)},fd=a._emscripten_enum_draco_DataType_DT_INT32=function(){return a.asm.emscripten_enum_draco_DataType_DT_INT32.apply(null,
|
||||
arguments)},gd=a._emscripten_enum_draco_DataType_DT_UINT32=function(){return a.asm.emscripten_enum_draco_DataType_DT_UINT32.apply(null,arguments)},hd=a._emscripten_enum_draco_DataType_DT_INT64=function(){return a.asm.emscripten_enum_draco_DataType_DT_INT64.apply(null,arguments)},id=a._emscripten_enum_draco_DataType_DT_UINT64=function(){return a.asm.emscripten_enum_draco_DataType_DT_UINT64.apply(null,arguments)},jd=a._emscripten_enum_draco_DataType_DT_FLOAT32=function(){return a.asm.emscripten_enum_draco_DataType_DT_FLOAT32.apply(null,
|
||||
arguments)},kd=a._emscripten_enum_draco_DataType_DT_FLOAT64=function(){return a.asm.emscripten_enum_draco_DataType_DT_FLOAT64.apply(null,arguments)},ld=a._emscripten_enum_draco_DataType_DT_BOOL=function(){return a.asm.emscripten_enum_draco_DataType_DT_BOOL.apply(null,arguments)},md=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=function(){return a.asm.emscripten_enum_draco_DataType_DT_TYPES_COUNT.apply(null,arguments)},nd=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return a.asm.emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE.apply(null,
|
||||
arguments)},od=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return a.asm.emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD.apply(null,arguments)},pd=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return a.asm.emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH.apply(null,arguments)},qd=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=function(){return a.asm.emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM.apply(null,
|
||||
arguments)},rd=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=function(){return a.asm.emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM.apply(null,arguments)},sd=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return a.asm.emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM.apply(null,arguments)},td=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=function(){return a.asm.emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM.apply(null,
|
||||
arguments)},ud=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return a.asm.emscripten_enum_draco_GeometryAttribute_Type_INVALID.apply(null,arguments)},vd=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return a.asm.emscripten_enum_draco_GeometryAttribute_Type_POSITION.apply(null,arguments)},wd=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return a.asm.emscripten_enum_draco_GeometryAttribute_Type_NORMAL.apply(null,arguments)},xd=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=
|
||||
function(){return a.asm.emscripten_enum_draco_GeometryAttribute_Type_COLOR.apply(null,arguments)},yd=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return a.asm.emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD.apply(null,arguments)},zd=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return a.asm.emscripten_enum_draco_GeometryAttribute_Type_GENERIC.apply(null,arguments)};a._setThrew=function(){return a.asm.setThrew.apply(null,arguments)};var ta=a.__ZSt18uncaught_exceptionv=
|
||||
function(){return a.asm._ZSt18uncaught_exceptionv.apply(null,arguments)};a._free=function(){return a.asm.free.apply(null,arguments)};var ib=a._malloc=function(){return a.asm.malloc.apply(null,arguments)};a.stackSave=function(){return a.asm.stackSave.apply(null,arguments)};a.stackAlloc=function(){return a.asm.stackAlloc.apply(null,arguments)};a.stackRestore=function(){return a.asm.stackRestore.apply(null,arguments)};a.__growWasmMemory=function(){return a.asm.__growWasmMemory.apply(null,arguments)};
|
||||
a.dynCall_ii=function(){return a.asm.dynCall_ii.apply(null,arguments)};a.dynCall_vi=function(){return a.asm.dynCall_vi.apply(null,arguments)};a.dynCall_iii=function(){return a.asm.dynCall_iii.apply(null,arguments)};a.dynCall_vii=function(){return a.asm.dynCall_vii.apply(null,arguments)};a.dynCall_iiii=function(){return a.asm.dynCall_iiii.apply(null,arguments)};a.dynCall_v=function(){return a.asm.dynCall_v.apply(null,arguments)};a.dynCall_viii=function(){return a.asm.dynCall_viii.apply(null,arguments)};
|
||||
a.dynCall_viiii=function(){return a.asm.dynCall_viiii.apply(null,arguments)};a.dynCall_iiiiiii=function(){return a.asm.dynCall_iiiiiii.apply(null,arguments)};a.dynCall_iidiiii=function(){return a.asm.dynCall_iidiiii.apply(null,arguments)};a.dynCall_jiji=function(){return a.asm.dynCall_jiji.apply(null,arguments)};a.dynCall_viiiiii=function(){return a.asm.dynCall_viiiiii.apply(null,arguments)};a.dynCall_viiiii=function(){return a.asm.dynCall_viiiii.apply(null,arguments)};a.asm=La;var fa;a.then=function(e){if(fa)e(a);
|
||||
else{var c=a.onRuntimeInitialized;a.onRuntimeInitialized=function(){c&&c();e(a)}}return a};ja=function c(){fa||ma();fa||(ja=c)};a.run=ma;if(a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()();ma();p.prototype=Object.create(p.prototype);p.prototype.constructor=p;p.prototype.__class__=p;p.__cache__={};a.WrapperObject=p;a.getCache=u;a.wrapPointer=N;a.castObject=function(a,b){return N(a.ptr,b)};a.NULL=N(0);a.destroy=function(a){if(!a.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";
|
||||
a.__destroy__();delete u(a.__class__)[a.ptr]};a.compare=function(a,b){return a.ptr===b.ptr};a.getPointer=function(a){return a.ptr};a.getClass=function(a){return a.__class__};var n={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(n.needed){for(var c=0;c<n.temps.length;c++)a._free(n.temps[c]);n.temps.length=0;a._free(n.buffer);n.buffer=0;n.size+=n.needed;n.needed=0}n.buffer||(n.size+=128,n.buffer=a._malloc(n.size),t(n.buffer));n.pos=0},alloc:function(c,b){t(n.buffer);c=c.length*b.BYTES_PER_ELEMENT;
|
||||
c=c+7&-8;n.pos+c>=n.size?(t(0<c),n.needed+=c,b=a._malloc(c),n.temps.push(b)):(b=n.buffer+n.pos,n.pos+=c);return b},copy:function(a,b,d){switch(b.BYTES_PER_ELEMENT){case 2:d>>=1;break;case 4:d>>=2;break;case 8:d>>=3}for(var c=0;c<a.length;c++)b[d+c]=a[c]}};x.prototype=Object.create(p.prototype);x.prototype.constructor=x;x.prototype.__class__=x;x.__cache__={};a.Status=x;x.prototype.code=x.prototype.code=function(){return jb(this.ptr)};x.prototype.ok=x.prototype.ok=function(){return!!kb(this.ptr)};x.prototype.error_msg=
|
||||
x.prototype.error_msg=function(){return X(lb(this.ptr))};x.prototype.__destroy__=x.prototype.__destroy__=function(){mb(this.ptr)};A.prototype=Object.create(p.prototype);A.prototype.constructor=A;A.prototype.__class__=A;A.__cache__={};a.DracoUInt16Array=A;A.prototype.GetValue=A.prototype.GetValue=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return nb(c,a)};A.prototype.size=A.prototype.size=function(){return ob(this.ptr)};A.prototype.__destroy__=A.prototype.__destroy__=function(){pb(this.ptr)};
|
||||
B.prototype=Object.create(p.prototype);B.prototype.constructor=B;B.prototype.__class__=B;B.__cache__={};a.PointCloud=B;B.prototype.num_attributes=B.prototype.num_attributes=function(){return qb(this.ptr)};B.prototype.num_points=B.prototype.num_points=function(){return rb(this.ptr)};B.prototype.__destroy__=B.prototype.__destroy__=function(){sb(this.ptr)};C.prototype=Object.create(p.prototype);C.prototype.constructor=C;C.prototype.__class__=C;C.__cache__={};a.DracoUInt8Array=C;C.prototype.GetValue=
|
||||
C.prototype.GetValue=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return tb(c,a)};C.prototype.size=C.prototype.size=function(){return ub(this.ptr)};C.prototype.__destroy__=C.prototype.__destroy__=function(){vb(this.ptr)};D.prototype=Object.create(p.prototype);D.prototype.constructor=D;D.prototype.__class__=D;D.__cache__={};a.DracoUInt32Array=D;D.prototype.GetValue=D.prototype.GetValue=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return wb(c,a)};D.prototype.size=D.prototype.size=
|
||||
function(){return xb(this.ptr)};D.prototype.__destroy__=D.prototype.__destroy__=function(){yb(this.ptr)};E.prototype=Object.create(p.prototype);E.prototype.constructor=E;E.prototype.__class__=E;E.__cache__={};a.AttributeOctahedronTransform=E;E.prototype.InitFromAttribute=E.prototype.InitFromAttribute=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return!!zb(c,a)};E.prototype.quantization_bits=E.prototype.quantization_bits=function(){return Ab(this.ptr)};E.prototype.__destroy__=E.prototype.__destroy__=
|
||||
function(){Bb(this.ptr)};q.prototype=Object.create(p.prototype);q.prototype.constructor=q;q.prototype.__class__=q;q.__cache__={};a.PointAttribute=q;q.prototype.size=q.prototype.size=function(){return Cb(this.ptr)};q.prototype.GetAttributeTransformData=q.prototype.GetAttributeTransformData=function(){return N(Db(this.ptr),J)};q.prototype.attribute_type=q.prototype.attribute_type=function(){return Eb(this.ptr)};q.prototype.data_type=q.prototype.data_type=function(){return Fb(this.ptr)};q.prototype.num_components=
|
||||
q.prototype.num_components=function(){return Gb(this.ptr)};q.prototype.normalized=q.prototype.normalized=function(){return!!Hb(this.ptr)};q.prototype.byte_stride=q.prototype.byte_stride=function(){return Ib(this.ptr)};q.prototype.byte_offset=q.prototype.byte_offset=function(){return Jb(this.ptr)};q.prototype.unique_id=q.prototype.unique_id=function(){return Kb(this.ptr)};q.prototype.__destroy__=q.prototype.__destroy__=function(){Lb(this.ptr)};J.prototype=Object.create(p.prototype);J.prototype.constructor=
|
||||
J;J.prototype.__class__=J;J.__cache__={};a.AttributeTransformData=J;J.prototype.transform_type=J.prototype.transform_type=function(){return Mb(this.ptr)};J.prototype.__destroy__=J.prototype.__destroy__=function(){Nb(this.ptr)};w.prototype=Object.create(p.prototype);w.prototype.constructor=w;w.prototype.__class__=w;w.__cache__={};a.AttributeQuantizationTransform=w;w.prototype.InitFromAttribute=w.prototype.InitFromAttribute=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return!!Ob(c,a)};
|
||||
w.prototype.quantization_bits=w.prototype.quantization_bits=function(){return Pb(this.ptr)};w.prototype.min_value=w.prototype.min_value=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return Qb(c,a)};w.prototype.range=w.prototype.range=function(){return Rb(this.ptr)};w.prototype.__destroy__=w.prototype.__destroy__=function(){Sb(this.ptr)};F.prototype=Object.create(p.prototype);F.prototype.constructor=F;F.prototype.__class__=F;F.__cache__={};a.DracoInt8Array=F;F.prototype.GetValue=F.prototype.GetValue=
|
||||
function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return Tb(c,a)};F.prototype.size=F.prototype.size=function(){return Ub(this.ptr)};F.prototype.__destroy__=F.prototype.__destroy__=function(){Vb(this.ptr)};r.prototype=Object.create(p.prototype);r.prototype.constructor=r;r.prototype.__class__=r;r.__cache__={};a.MetadataQuerier=r;r.prototype.HasEntry=r.prototype.HasEntry=function(a,b){var c=this.ptr;n.prepare();a&&"object"===typeof a&&(a=a.ptr);b=b&&"object"===typeof b?b.ptr:V(b);return!!Wb(c,
|
||||
a,b)};r.prototype.GetIntEntry=r.prototype.GetIntEntry=function(a,b){var c=this.ptr;n.prepare();a&&"object"===typeof a&&(a=a.ptr);b=b&&"object"===typeof b?b.ptr:V(b);return Xb(c,a,b)};r.prototype.GetIntEntryArray=r.prototype.GetIntEntryArray=function(a,b,d){var c=this.ptr;n.prepare();a&&"object"===typeof a&&(a=a.ptr);b=b&&"object"===typeof b?b.ptr:V(b);d&&"object"===typeof d&&(d=d.ptr);Yb(c,a,b,d)};r.prototype.GetDoubleEntry=r.prototype.GetDoubleEntry=function(a,b){var c=this.ptr;n.prepare();a&&"object"===
|
||||
typeof a&&(a=a.ptr);b=b&&"object"===typeof b?b.ptr:V(b);return Zb(c,a,b)};r.prototype.GetStringEntry=r.prototype.GetStringEntry=function(a,b){var c=this.ptr;n.prepare();a&&"object"===typeof a&&(a=a.ptr);b=b&&"object"===typeof b?b.ptr:V(b);return X($b(c,a,b))};r.prototype.NumEntries=r.prototype.NumEntries=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return ac(c,a)};r.prototype.GetEntryName=r.prototype.GetEntryName=function(a,b){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===
|
||||
typeof b&&(b=b.ptr);return X(bc(c,a,b))};r.prototype.__destroy__=r.prototype.__destroy__=function(){cc(this.ptr)};G.prototype=Object.create(p.prototype);G.prototype.constructor=G;G.prototype.__class__=G;G.__cache__={};a.DracoInt16Array=G;G.prototype.GetValue=G.prototype.GetValue=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return dc(c,a)};G.prototype.size=G.prototype.size=function(){return ec(this.ptr)};G.prototype.__destroy__=G.prototype.__destroy__=function(){fc(this.ptr)};H.prototype=
|
||||
Object.create(p.prototype);H.prototype.constructor=H;H.prototype.__class__=H;H.__cache__={};a.DracoFloat32Array=H;H.prototype.GetValue=H.prototype.GetValue=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return gc(c,a)};H.prototype.size=H.prototype.size=function(){return hc(this.ptr)};H.prototype.__destroy__=H.prototype.__destroy__=function(){ic(this.ptr)};O.prototype=Object.create(p.prototype);O.prototype.constructor=O;O.prototype.__class__=O;O.__cache__={};a.GeometryAttribute=O;O.prototype.__destroy__=
|
||||
O.prototype.__destroy__=function(){jc(this.ptr)};K.prototype=Object.create(p.prototype);K.prototype.constructor=K;K.prototype.__class__=K;K.__cache__={};a.DecoderBuffer=K;K.prototype.Init=K.prototype.Init=function(a,b){var c=this.ptr;n.prepare();if("object"==typeof a&&"object"===typeof a){var e=n.alloc(a,T);n.copy(a,T,e);a=e}b&&"object"===typeof b&&(b=b.ptr);kc(c,a,b)};K.prototype.__destroy__=K.prototype.__destroy__=function(){lc(this.ptr)};g.prototype=Object.create(p.prototype);g.prototype.constructor=
|
||||
g;g.prototype.__class__=g;g.__cache__={};a.Decoder=g;g.prototype.GetEncodedGeometryType=g.prototype.GetEncodedGeometryType=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return mc(c,a)};g.prototype.DecodeBufferToPointCloud=g.prototype.DecodeBufferToPointCloud=function(a,b){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);return N(nc(c,a,b),x)};g.prototype.DecodeBufferToMesh=g.prototype.DecodeBufferToMesh=function(a,b){var c=this.ptr;a&&"object"===typeof a&&
|
||||
(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);return N(oc(c,a,b),x)};g.prototype.GetAttributeId=g.prototype.GetAttributeId=function(a,b){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);return pc(c,a,b)};g.prototype.GetAttributeIdByName=g.prototype.GetAttributeIdByName=function(a,b){var c=this.ptr;n.prepare();a&&"object"===typeof a&&(a=a.ptr);b=b&&"object"===typeof b?b.ptr:V(b);return qc(c,a,b)};g.prototype.GetAttributeIdByMetadataEntry=g.prototype.GetAttributeIdByMetadataEntry=
|
||||
function(a,b,d){var c=this.ptr;n.prepare();a&&"object"===typeof a&&(a=a.ptr);b=b&&"object"===typeof b?b.ptr:V(b);d=d&&"object"===typeof d?d.ptr:V(d);return rc(c,a,b,d)};g.prototype.GetAttribute=g.prototype.GetAttribute=function(a,b){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);return N(sc(c,a,b),q)};g.prototype.GetAttributeByUniqueId=g.prototype.GetAttributeByUniqueId=function(a,b){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);
|
||||
return N(tc(c,a,b),q)};g.prototype.GetMetadata=g.prototype.GetMetadata=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return N(uc(c,a),L)};g.prototype.GetAttributeMetadata=g.prototype.GetAttributeMetadata=function(a,b){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);return N(vc(c,a,b),L)};g.prototype.GetFaceFromMesh=g.prototype.GetFaceFromMesh=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===
|
||||
typeof d&&(d=d.ptr);return!!wc(c,a,b,d)};g.prototype.GetTriangleStripsFromMesh=g.prototype.GetTriangleStripsFromMesh=function(a,b){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);return xc(c,a,b)};g.prototype.GetTrianglesUInt16Array=g.prototype.GetTrianglesUInt16Array=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!yc(c,a,b,d)};g.prototype.GetTrianglesUInt32Array=g.prototype.GetTrianglesUInt32Array=
|
||||
function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!zc(c,a,b,d)};g.prototype.GetAttributeFloat=g.prototype.GetAttributeFloat=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Ac(c,a,b,d)};g.prototype.GetAttributeFloatForAllPoints=g.prototype.GetAttributeFloatForAllPoints=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&
|
||||
(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Bc(c,a,b,d)};g.prototype.GetAttributeIntForAllPoints=g.prototype.GetAttributeIntForAllPoints=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Cc(c,a,b,d)};g.prototype.GetAttributeInt8ForAllPoints=g.prototype.GetAttributeInt8ForAllPoints=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&
|
||||
(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Dc(c,a,b,d)};g.prototype.GetAttributeUInt8ForAllPoints=g.prototype.GetAttributeUInt8ForAllPoints=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Ec(c,a,b,d)};g.prototype.GetAttributeInt16ForAllPoints=g.prototype.GetAttributeInt16ForAllPoints=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&
|
||||
(d=d.ptr);return!!Fc(c,a,b,d)};g.prototype.GetAttributeUInt16ForAllPoints=g.prototype.GetAttributeUInt16ForAllPoints=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Gc(c,a,b,d)};g.prototype.GetAttributeInt32ForAllPoints=g.prototype.GetAttributeInt32ForAllPoints=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Hc(c,
|
||||
a,b,d)};g.prototype.GetAttributeUInt32ForAllPoints=g.prototype.GetAttributeUInt32ForAllPoints=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Ic(c,a,b,d)};g.prototype.GetAttributeDataArrayForAllPoints=g.prototype.GetAttributeDataArrayForAllPoints=function(a,b,d,e,f){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&
|
||||
(e=e.ptr);f&&"object"===typeof f&&(f=f.ptr);return!!Jc(c,a,b,d,e,f)};g.prototype.SkipAttributeTransform=g.prototype.SkipAttributeTransform=function(a){var b=this.ptr;a&&"object"===typeof a&&(a=a.ptr);Kc(b,a)};g.prototype.__destroy__=g.prototype.__destroy__=function(){Lc(this.ptr)};y.prototype=Object.create(p.prototype);y.prototype.constructor=y;y.prototype.__class__=y;y.__cache__={};a.Mesh=y;y.prototype.num_faces=y.prototype.num_faces=function(){return Mc(this.ptr)};y.prototype.num_attributes=y.prototype.num_attributes=
|
||||
function(){return Nc(this.ptr)};y.prototype.num_points=y.prototype.num_points=function(){return Oc(this.ptr)};y.prototype.__destroy__=y.prototype.__destroy__=function(){Pc(this.ptr)};Q.prototype=Object.create(p.prototype);Q.prototype.constructor=Q;Q.prototype.__class__=Q;Q.__cache__={};a.VoidPtr=Q;Q.prototype.__destroy__=Q.prototype.__destroy__=function(){Qc(this.ptr)};I.prototype=Object.create(p.prototype);I.prototype.constructor=I;I.prototype.__class__=I;I.__cache__={};a.DracoInt32Array=I;I.prototype.GetValue=
|
||||
I.prototype.GetValue=function(a){var b=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return Rc(b,a)};I.prototype.size=I.prototype.size=function(){return Sc(this.ptr)};I.prototype.__destroy__=I.prototype.__destroy__=function(){Tc(this.ptr)};L.prototype=Object.create(p.prototype);L.prototype.constructor=L;L.prototype.__class__=L;L.__cache__={};a.Metadata=L;L.prototype.__destroy__=L.prototype.__destroy__=function(){Uc(this.ptr)};(function(){function c(){a.OK=Vc();a.DRACO_ERROR=Wc();a.IO_ERROR=Xc();a.INVALID_PARAMETER=
|
||||
Yc();a.UNSUPPORTED_VERSION=Zc();a.UNKNOWN_VERSION=$c();a.DT_INVALID=ad();a.DT_INT8=bd();a.DT_UINT8=cd();a.DT_INT16=dd();a.DT_UINT16=ed();a.DT_INT32=fd();a.DT_UINT32=gd();a.DT_INT64=hd();a.DT_UINT64=id();a.DT_FLOAT32=jd();a.DT_FLOAT64=kd();a.DT_BOOL=ld();a.DT_TYPES_COUNT=md();a.INVALID_GEOMETRY_TYPE=nd();a.POINT_CLOUD=od();a.TRIANGULAR_MESH=pd();a.ATTRIBUTE_INVALID_TRANSFORM=qd();a.ATTRIBUTE_NO_TRANSFORM=rd();a.ATTRIBUTE_QUANTIZATION_TRANSFORM=sd();a.ATTRIBUTE_OCTAHEDRON_TRANSFORM=td();a.INVALID=ud();
|
||||
a.POSITION=vd();a.NORMAL=wd();a.COLOR=xd();a.TEX_COORD=yd();a.GENERIC=zd()}Ba?c():Da.unshift(c)})();if("function"===typeof a.onModuleParsed)a.onModuleParsed();return m}}();"object"===typeof exports&&"object"===typeof module?module.exports=DracoDecoderModule:"function"===typeof define&&define.amd?define([],function(){return DracoDecoderModule}):"object"===typeof exports&&(exports.DracoDecoderModule=DracoDecoderModule);
|
||||
BIN
public/favicon.ico
Normal file
|
After Width: | Height: | Size: 25 KiB |
4
public/vercel.svg
Normal file
@@ -0,0 +1,4 @@
|
||||
<svg width="283" height="64" viewBox="0 0 283 64" fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M141.04 16c-11.04 0-19 7.2-19 18s8.96 18 20 18c6.67 0 12.55-2.64 16.19-7.09l-7.65-4.42c-2.02 2.21-5.09 3.5-8.54 3.5-4.79 0-8.86-2.5-10.37-6.5h28.02c.22-1.12.35-2.28.35-3.5 0-10.79-7.96-17.99-19-17.99zm-9.46 14.5c1.25-3.99 4.67-6.5 9.45-6.5 4.79 0 8.21 2.51 9.45 6.5h-18.9zM248.72 16c-11.04 0-19 7.2-19 18s8.96 18 20 18c6.67 0 12.55-2.64 16.19-7.09l-7.65-4.42c-2.02 2.21-5.09 3.5-8.54 3.5-4.79 0-8.86-2.5-10.37-6.5h28.02c.22-1.12.35-2.28.35-3.5 0-10.79-7.96-17.99-19-17.99zm-9.45 14.5c1.25-3.99 4.67-6.5 9.45-6.5 4.79 0 8.21 2.51 9.45 6.5h-18.9zM200.24 34c0 6 3.92 10 10 10 4.12 0 7.21-1.87 8.8-4.92l7.68 4.43c-3.18 5.3-9.14 8.49-16.48 8.49-11.05 0-19-7.2-19-18s7.96-18 19-18c7.34 0 13.29 3.19 16.48 8.49l-7.68 4.43c-1.59-3.05-4.68-4.92-8.8-4.92-6.07 0-10 4-10 10zm82.48-29v46h-9V5h9zM36.95 0L73.9 64H0L36.95 0zm92.38 5l-27.71 48L73.91 5H84.3l17.32 30 17.32-30h10.39zm58.91 12v9.69c-1-.29-2.06-.49-3.2-.49-5.81 0-10 4-10 10V51h-9V17h9v9.2c0-5.08 5.91-9.2 13.2-9.2z" fill="#000"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"infiniteLoopProtection": true,
|
||||
"hardReloadOnChange": false,
|
||||
"hardReloadOnChange": true,
|
||||
"view": "browser",
|
||||
"container": {
|
||||
"node": "12"
|
||||
|
||||
@@ -20,8 +20,8 @@ const BoxComponent = ({ route }) => {
|
||||
<mesh
|
||||
ref={mesh}
|
||||
onClick={() => router.push(route)}
|
||||
onPointerOver={() => setHover(true)}
|
||||
onPointerOut={() => setHover(false)}
|
||||
onPointerOver={(e) => setHover(true)}
|
||||
onPointerOut={(e) => setHover(false)}
|
||||
scale={hovered ? 1.1 : 1}
|
||||
>
|
||||
<boxBufferGeometry args={[1, 1, 1]} />
|
||||
|
||||
50
src/components/canvas/EasterEgg.r3f.jsx
Normal file
@@ -0,0 +1,50 @@
|
||||
import { Box } from '@chakra-ui/react';
|
||||
import React, { useRef, useState, useMemo } from "react";
|
||||
import { useFrame, useLoader } from "@react-three/fiber";
|
||||
import * as THREE from "three";
|
||||
|
||||
import babyOctoGif from "../../static/assets/textures/baby_octo_alpha_0001.png";
|
||||
import babyOctoAlpha from "../../static/assets/textures/baby_octo_alpha_map.png";
|
||||
|
||||
export const OctoEasterEggR3F = (props) => {
|
||||
const mesh = useRef();
|
||||
const [active, setActive] = useState(false);
|
||||
const clock = new THREE.Clock();
|
||||
const textureLoader = new THREE.TextureLoader();
|
||||
let previousTime = 0;
|
||||
|
||||
const texture = useMemo(() => textureLoader.load(babyOctoGif),[textureLoader]);
|
||||
const alphaTexture = useMemo(() => textureLoader.load(babyOctoAlpha), [textureLoader]);
|
||||
// alphaTexture.minFilter = THREE.NearestFilter;
|
||||
// alphaTexture.magFilter = THREE.NearestFilter;
|
||||
// alphaTexture.generateMipmaps = true;
|
||||
|
||||
useFrame(() => {
|
||||
const elapsedTime = clock.getElapsedTime();
|
||||
const deltaTime = elapsedTime - previousTime;
|
||||
previousTime = elapsedTime;
|
||||
|
||||
if (mesh.current) {
|
||||
mesh.current.position.x = -3.5 + Math.sin(elapsedTime * 0.9) * Math.PI * 0.05;
|
||||
mesh.current.position.y = -1.5 - Math.cos(elapsedTime * 0.1) * Math.PI * 0.5;
|
||||
mesh.current.rotation.z = -elapsedTime * 0.06;
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
||||
return (
|
||||
<mesh
|
||||
{...props}
|
||||
ref={mesh}
|
||||
name="BabyOcto"
|
||||
scale={active ? [2, 2, 2] : [1.5, 1.5, 1.5]}
|
||||
rotation={[0,0,0]}
|
||||
onClick={(e) => setActive(!active)}
|
||||
>
|
||||
<planeBufferGeometry attach="geometry" args={[1, 1]} />
|
||||
<meshBasicMaterial attach="material"color="green" />
|
||||
</mesh>
|
||||
)
|
||||
};
|
||||
43
src/components/canvas/Jetsetter.jsx
Normal file
@@ -0,0 +1,43 @@
|
||||
import React, { useRef, useState } from "react";
|
||||
import { useFrame } from '@react-three/fiber'
|
||||
import { useGLTF } from "@react-three/drei";
|
||||
import * as THREE from "three";
|
||||
import gsap from "gsap";
|
||||
import useStore from '@/helpers/store'
|
||||
|
||||
export default function JetsetterVox(props) {
|
||||
const router = useStore((s) => s.router)
|
||||
const group = useRef();
|
||||
const [hovered, setHover] = useState(false)
|
||||
const { nodes, materials } = useGLTF("/assets/models/jetsetter-vox.glb");
|
||||
const { route } = props
|
||||
const clock = new THREE.Clock();
|
||||
let previousTime = 0;
|
||||
useFrame(() => {
|
||||
const elapsedTime = clock.getElapsedTime();
|
||||
const deltaTime = elapsedTime - previousTime;
|
||||
previousTime = elapsedTime;
|
||||
|
||||
if (group.current) {
|
||||
// group.current.position.x = -3.5 + Math.sin(elapsedTime * 0.9) * Math.PI * 0.05;
|
||||
// group.current.position.y = -1.5 - Math.cos(elapsedTime * 0.1) * Math.PI * 0.5;
|
||||
// group.current.rotation.y = elapsedTime * 0.6;
|
||||
}
|
||||
})
|
||||
return (
|
||||
<group ref={group} {...props} dispose={null}>
|
||||
<mesh
|
||||
castShadow
|
||||
receiveShadow
|
||||
geometry={nodes.jetsetter.geometry}
|
||||
material={materials.palette}
|
||||
rotation={[Math.PI / 2, 0, 0]}
|
||||
onClick={() => router.push(route)}
|
||||
onPointerOver={(e) => setHover(true)}
|
||||
onPointerOut={(e) => setHover(false)}
|
||||
/>
|
||||
</group>
|
||||
);
|
||||
}
|
||||
|
||||
useGLTF.preload("/assets/models/jetsetter-vox.glb");
|
||||
42
src/components/canvas/Lux.jsx
Normal file
@@ -0,0 +1,42 @@
|
||||
import React, { useRef, useState } from "react";
|
||||
import { useFrame } from '@react-three/fiber'
|
||||
import { useGLTF } from "@react-three/drei";
|
||||
import * as THREE from "three";
|
||||
import gsap from "gsap";
|
||||
import useStore from '@/helpers/store'
|
||||
import { useOnScreen } from "@/utils/hooks";
|
||||
|
||||
export default function LuxVox(props) {
|
||||
const router = useStore((s) => s.router)
|
||||
const group = useRef(null);
|
||||
|
||||
const [hovered, setHover] = useState(false)
|
||||
const { nodes, materials } = useGLTF("/assets/models/lux-vox.glb");
|
||||
const { route } = props
|
||||
const clock = new THREE.Clock();
|
||||
let previousTime = 0;
|
||||
useFrame(() => {
|
||||
const elapsedTime = clock.getElapsedTime();
|
||||
const deltaTime = elapsedTime - previousTime;
|
||||
previousTime = elapsedTime;
|
||||
|
||||
if (group.current) {
|
||||
// group.current.position.x = -3.5 + Math.sin(elapsedTime * 0.9) * Math.PI * 0.05;
|
||||
// group.current.position.y = -1.5 - Math.cos(elapsedTime * 0.1) * Math.PI * 0.5;
|
||||
group.current.rotation.y = -elapsedTime * 0.6;
|
||||
}
|
||||
})
|
||||
return (
|
||||
<group ref={group} {...props} dispose={null}>
|
||||
<mesh
|
||||
castShadow
|
||||
receiveShadow
|
||||
geometry={nodes.lux.geometry}
|
||||
material={materials.palette}
|
||||
rotation={[Math.PI / 2, 0, 0]}
|
||||
/>
|
||||
</group>
|
||||
);
|
||||
}
|
||||
|
||||
useGLTF.preload("/assets/models/lux-vox.glb");
|
||||
45
src/components/canvas/Nomad.jsx
Normal file
@@ -0,0 +1,45 @@
|
||||
import React, { useRef, useState } from "react";
|
||||
import { useFrame } from '@react-three/fiber'
|
||||
import { useGLTF } from "@react-three/drei";
|
||||
import gsap from "gsap";
|
||||
import useStore from '@/helpers/store'
|
||||
|
||||
export default function NomadVox(props) {
|
||||
const router = useStore((s) => s.router)
|
||||
const group = useRef();
|
||||
const [hovered, setHover] = useState(false)
|
||||
const { nodes, materials } = useGLTF("/assets/models/nomad-vox.glb");
|
||||
const {route} = props
|
||||
// useFrame((state, delta) =>
|
||||
// group.current
|
||||
// ? (group.current.rotation.y += 0.01)
|
||||
// : null
|
||||
// )
|
||||
|
||||
return (
|
||||
<group ref={group} {...props} dispose={null}>
|
||||
{/* <group position={[0.01, 0, -0.01]} rotation={[2, 0.1, 2.13]}>
|
||||
<directionalLight
|
||||
intensity={5}
|
||||
color="pink"
|
||||
decay={2}
|
||||
rotation={[-Math.PI / 2, 0, 0]}
|
||||
/>
|
||||
</group> */}
|
||||
<mesh
|
||||
castShadow
|
||||
receiveShadow
|
||||
geometry={nodes.nomad.geometry}
|
||||
material={materials.palette}
|
||||
rotation={[Math.PI * 0.5, -Math.PI / 0.05, 0]}
|
||||
onClick={() => router.push(route)}
|
||||
onPointerOver={(e) => setHover(true)}
|
||||
onPointerOut={(e) => setHover(false)}
|
||||
// scale={hovered ? 1.1 : 1}
|
||||
/>
|
||||
{/* <axesHelper /> */}
|
||||
</group>
|
||||
);
|
||||
}
|
||||
|
||||
useGLTF.preload("/assets/models/nomad-vox.glb");
|
||||
@@ -43,7 +43,7 @@ const Shader = (props) => {
|
||||
ref={meshRef}
|
||||
scale={hovered ? 1.1 : 1}
|
||||
onClick={() => {
|
||||
router.push(`/box`)
|
||||
router.push(`/cv`)
|
||||
}}
|
||||
onPointerOver={(e) => setHover(true)}
|
||||
onPointerOut={(e) => setHover(false)}
|
||||
|
||||
65
src/components/canvas/Starfield.r3f.jsx
Normal file
@@ -0,0 +1,65 @@
|
||||
import { Box } from '@chakra-ui/react';
|
||||
import React, { useRef, useState, useMemo } from "react";
|
||||
import { useFrame, useLoader } from "@react-three/fiber";
|
||||
import * as THREE from "three";
|
||||
|
||||
import babyOctoGif from "../../static/assets/textures/baby_octo_alpha_0001.png";
|
||||
import babyOctoAlpha from "../../static/assets/textures/baby_octo_alpha_map.png";
|
||||
|
||||
export const StarfieldR3F = (props) => {
|
||||
const mesh = useRef();
|
||||
const particlesCount = 35000;
|
||||
const positions = new Float32Array(particlesCount * 3);
|
||||
const objectsDistance = 4;
|
||||
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
const count = 20;
|
||||
const colors = new Float32Array(count * 3);
|
||||
for (let i = 0; i < count * 3; i++) {
|
||||
// positions[i] = (Math.random() - 0.5) * 10
|
||||
colors[i] = Math.random();
|
||||
}
|
||||
|
||||
for (let i = 0; i < particlesCount; i++) {
|
||||
const i3 = i * 3;
|
||||
positions[i3 + 0] = (Math.random() - 0.5) * 40;
|
||||
positions[i3 + 1] =
|
||||
objectsDistance * 0.8 -
|
||||
Math.random() * objectsDistance * (sections.length * 2);
|
||||
positions[i3 + 2] = (Math.random() - 0.5) * 40;
|
||||
}
|
||||
|
||||
const particlesGeometry = new THREE.BufferGeometry();
|
||||
particlesGeometry.setAttribute(
|
||||
"position",
|
||||
new THREE.BufferAttribute(positions, 3)
|
||||
);
|
||||
|
||||
// Material
|
||||
const particlesMaterial = new THREE.PointsMaterial({
|
||||
map: planeColorTexture,
|
||||
alphaMap: planeAlphaTexture,
|
||||
// color: parameters.particleColor,
|
||||
transparent: true,
|
||||
sizeAttenuation: true,
|
||||
size: 0.03,
|
||||
});
|
||||
|
||||
// Points
|
||||
const particles = new THREE.Points(particlesGeometry, particlesMaterial);
|
||||
|
||||
|
||||
|
||||
|
||||
return (
|
||||
<point
|
||||
{...props}
|
||||
ref={mesh}
|
||||
name="Starfield"
|
||||
>
|
||||
<bufferGeometry attach="geometry" position={new THREE.BufferAttribute(positions, 3)} />
|
||||
</point>
|
||||
)
|
||||
};
|
||||
75
src/components/dom/AlphaNotice.jsx
Normal file
@@ -0,0 +1,75 @@
|
||||
import React, { useState, useRef } from 'react'
|
||||
import {
|
||||
Text,
|
||||
IconButton,
|
||||
CloseIcon,
|
||||
Box,
|
||||
} from '@chakra-ui/react'
|
||||
|
||||
|
||||
export function AlphaNotice() {
|
||||
const [toggle, setToggle] = useState(true);
|
||||
const ref = useRef(null);
|
||||
return (
|
||||
<Box
|
||||
ref={ref}
|
||||
// display="none"
|
||||
bg="linear-gradient(90.24deg, #640DFB80 0.3%, rgba(100, 13, 251, 0.1) 80.16%)"
|
||||
backdropFilter="blur(7px)"
|
||||
boxShadow="0 0 15px rgba(0,0,0,0.6)"
|
||||
color="#FF61E6"
|
||||
position="fixed"
|
||||
bottom={0}
|
||||
left={0}
|
||||
right={0}
|
||||
width="100%"
|
||||
textAlign="center"
|
||||
height="auto"
|
||||
opacity={toggle ? 1 : 0}
|
||||
transform={`translateY(${toggle ? 0 : 100}px)`}
|
||||
transition="transform 0.3s 0.2s ease-in-out, opacity 0.3s 0.3s ease-in-out"
|
||||
zIndex={3000}
|
||||
>
|
||||
<Box
|
||||
d="flex"
|
||||
position="relative"
|
||||
alignItems="center"
|
||||
justifyContent="space-around"
|
||||
flexFlow="row nowrap"
|
||||
mx="auto"
|
||||
maxW={{base: '75%', md: '66%', '2xl': "6xl"}}
|
||||
px={{base: 5, lg: 3}}
|
||||
py={3}
|
||||
>
|
||||
{/* <Image src={BabyOctoGif} boxSize="25px" objectFit="cover" /> */}
|
||||
<Text fontSize={{base: "2vmin", lg: '0.7vmax'}} fontWeight={700}>
|
||||
The site is in{" "}
|
||||
<Text as="span" color="#76EBF2" fontWeight="700">
|
||||
Alpha
|
||||
</Text>
|
||||
.{" "}
|
||||
<span role="img" aria-label="watchful eyes">
|
||||
👀
|
||||
</span>{" "}
|
||||
We're still working on content, there's no Web3 connectivity and there
|
||||
are some bugs. <br /> We're working to get it
|
||||
all ship shape for June!
|
||||
</Text>
|
||||
{/* <Image src={BabyOctoGif} boxSize="35px" objectFit="cover" /> */}
|
||||
<IconButton
|
||||
onClick={() => setToggle(!toggle)}
|
||||
colorScheme="ghost"
|
||||
color="#927CFF"
|
||||
pos="fixed"
|
||||
bottom={3}
|
||||
right={{base: 2, lg: 6}}
|
||||
size="sm"
|
||||
aria-label="Close easter egg"
|
||||
icon={<CloseIcon />}
|
||||
zIndex={2001}
|
||||
/>
|
||||
</Box>
|
||||
</Box>
|
||||
);
|
||||
};
|
||||
|
||||
15
src/components/dom/BoxedNextImage.jsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import { Box } from '@chakra-ui/react';
|
||||
import NextImage from 'next/image';
|
||||
import React from 'react';
|
||||
|
||||
export const BoxedNextImage = ({ src, alt, ...props }) => (
|
||||
<Box
|
||||
pos="relative"
|
||||
{...props}
|
||||
style={{
|
||||
objectFit: 'contain',
|
||||
}}
|
||||
>
|
||||
<NextImage {...{ src, alt }} layout="fill" objectFit="contain" />
|
||||
</Box>
|
||||
);
|
||||
723
src/components/dom/Canvas.jsx
Normal file
@@ -0,0 +1,723 @@
|
||||
import React, { useEffect } from "react";
|
||||
import * as THREE from "three";
|
||||
// import { useFrame, useThree } from "@react-three/fiber";
|
||||
import gsap from "gsap";
|
||||
// import * as dat from "lil-gui";
|
||||
import {
|
||||
// galaxyColors,
|
||||
generateGalaxy,
|
||||
galaxy1Params,
|
||||
galaxy2Params,
|
||||
galaxy3Params,
|
||||
galaxy4Params,
|
||||
} from "./galaxies";
|
||||
// import { OctoA } from './models/Octopus'
|
||||
// import NomadModel from "./models/CarbonNomad";
|
||||
import SeedLogo from "../img/assets/textures/particles/seed_logo.png";
|
||||
import BabyOctoImg from "../static/assets/textures/baby_octo_alpha_0001.png";
|
||||
import BabyOctoAlpha from "../static/assets/textures/baby_octo_alpha_map.png";
|
||||
|
||||
export const Canvas = ({toggleAnimations}) => {
|
||||
useEffect(() => {
|
||||
if (typeof window !== "undefined") {
|
||||
const canvas = document.querySelector("canvas.webgl");
|
||||
// const logo = document.querySelector(".mf-logo");
|
||||
|
||||
// Scene
|
||||
const scene = new THREE.Scene();
|
||||
const sectionOne = new THREE.Group();
|
||||
const sectionTwo = new THREE.Group();
|
||||
const sectionThree = new THREE.Group();
|
||||
const sectionFour = new THREE.Group();
|
||||
const sectionFive = new THREE.Group();
|
||||
const sectionSix = new THREE.Group();
|
||||
const sectionSeven = new THREE.Group();
|
||||
|
||||
const nomadModel = new THREE.Group();
|
||||
scene.add(nomadModel);
|
||||
|
||||
/**
|
||||
* Debug
|
||||
*/
|
||||
// const gui = new dat.GUI();
|
||||
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
const count = 20;
|
||||
const colors = new Float32Array(count * 3);
|
||||
for (let i = 0; i < count * 3; i++) {
|
||||
// positions[i] = (Math.random() - 0.5) * 10
|
||||
colors[i] = Math.random();
|
||||
}
|
||||
|
||||
/**
|
||||
* Textures
|
||||
*/
|
||||
const textureLoader = new THREE.TextureLoader();
|
||||
const babyOctoColorTexture = textureLoader.load(BabyOctoImg);
|
||||
const babyOctoAlphaTexture = textureLoader.load(BabyOctoAlpha);
|
||||
babyOctoAlphaTexture.minFilter = THREE.NearestFilter;
|
||||
babyOctoAlphaTexture.magFilter = THREE.NearestFilter;
|
||||
babyOctoAlphaTexture.generateMipmaps = true;
|
||||
|
||||
const planeColorTexture = textureLoader.load(SeedLogo);
|
||||
const planeAlphaTexture = textureLoader.load(SeedLogo);
|
||||
planeAlphaTexture.minFilter = THREE.NearestFilter;
|
||||
planeAlphaTexture.magFilter = THREE.NearestFilter;
|
||||
planeAlphaTexture.generateMipmaps = true;
|
||||
|
||||
/**
|
||||
* Models
|
||||
*/
|
||||
|
||||
// // Animation mixer
|
||||
let mixer = null;
|
||||
|
||||
/**
|
||||
* Objects
|
||||
*/
|
||||
const objectsDistance = 4;
|
||||
|
||||
// const particleTexture = textureLoader.load(SeedLogo);
|
||||
|
||||
const babyOctoGeometry = new THREE.PlaneGeometry(1, 1, 1);
|
||||
const babyOctoMaterial = new THREE.MeshBasicMaterial({
|
||||
map: babyOctoColorTexture,
|
||||
alphaMap: babyOctoAlphaTexture,
|
||||
sizeAttenuation: true,
|
||||
transparent: true,
|
||||
});
|
||||
|
||||
// const planeGeometry = new THREE.PlaneGeometry(1, 1, 1);
|
||||
// const planeMaterial = new THREE.PointsMaterial({
|
||||
// map: planeColorTexture,
|
||||
// alphaMap: planeAlphaTexture,
|
||||
// sizeAttenuation: true,
|
||||
// transparent: true,
|
||||
// });
|
||||
|
||||
const plane1 = new THREE.Mesh(babyOctoGeometry, babyOctoMaterial);
|
||||
// const plane2 = new THREE.Mesh(planeGeometry, planeMaterial);
|
||||
const plane3 = new THREE.Mesh(babyOctoGeometry, babyOctoMaterial);
|
||||
|
||||
plane1.geometry.center();
|
||||
plane1.position.x = 0;
|
||||
plane1.position.y = 0;
|
||||
sectionOne.add(plane1);
|
||||
plane3.geometry.center();
|
||||
plane3.position.x = 0;
|
||||
plane3.position.y = 0;
|
||||
plane3.rotation.y = 0;
|
||||
// sectionFour.add(plane3);
|
||||
sectionSeven.add(plane3);
|
||||
|
||||
// sectionTwo.add(plane2);
|
||||
// Galaxies
|
||||
const galaxy1 = generateGalaxy(galaxy1Params);
|
||||
const galaxy2 = generateGalaxy(galaxy2Params);
|
||||
const galaxy3 = generateGalaxy(galaxy3Params);
|
||||
const galaxy4 = generateGalaxy(galaxy4Params);
|
||||
|
||||
galaxy1.position.x = 6;
|
||||
galaxy1.position.y = 0;
|
||||
galaxy1.position.z = -13;
|
||||
|
||||
galaxy1.rotation.x = 4.8;
|
||||
galaxy1.rotation.y = 4.15;
|
||||
galaxy1.rotation.z = 4.75;
|
||||
|
||||
galaxy2.position.x = -12;
|
||||
galaxy2.position.y = 25;
|
||||
galaxy2.position.z = -20;
|
||||
// galaxy2.rotation.z = 0.01
|
||||
galaxy2.rotation.x = 1.3;
|
||||
// galaxy2.rotation.z= 1.3;
|
||||
|
||||
galaxy3.position.x = 3;
|
||||
galaxy3.position.y = 1;
|
||||
galaxy3.position.z = 5;
|
||||
|
||||
galaxy4.position.x = -1;
|
||||
galaxy4.position.y = 1;
|
||||
galaxy4.position.z = 2;
|
||||
galaxy4.rotation.x = 7;
|
||||
galaxy4.rotation.y = 3.3;
|
||||
|
||||
sectionOne.add(galaxy1);
|
||||
sectionTwo.add(galaxy2);
|
||||
sectionThree.add(galaxy3);
|
||||
sectionSeven.add(galaxy4);
|
||||
|
||||
sectionOne.position.x = 0;
|
||||
sectionOne.position.y = -objectsDistance * 0;
|
||||
sectionTwo.position.x = 0;
|
||||
sectionTwo.position.y = -objectsDistance * 1;
|
||||
sectionThree.position.x = 0;
|
||||
sectionThree.position.y = -objectsDistance * 2;
|
||||
sectionFour.position.x = -1;
|
||||
sectionFour.position.y = -objectsDistance * 3;
|
||||
sectionFive.position.x = -1;
|
||||
sectionFive.position.y = -objectsDistance * 4;
|
||||
sectionSix.position.x = -1;
|
||||
sectionSix.position.y = -objectsDistance * 5;
|
||||
sectionSeven.position.x = 0;
|
||||
sectionSeven.position.y = -objectsDistance * 6;
|
||||
|
||||
scene.add(
|
||||
sectionOne,
|
||||
sectionTwo,
|
||||
sectionThree,
|
||||
sectionFour,
|
||||
sectionFive,
|
||||
sectionSix,
|
||||
sectionSeven
|
||||
);
|
||||
const sections = [
|
||||
sectionOne,
|
||||
sectionTwo,
|
||||
sectionThree,
|
||||
sectionFour,
|
||||
sectionFive,
|
||||
sectionSix,
|
||||
sectionSeven,
|
||||
];
|
||||
// const galaxies = [galaxy1, galaxy2, galaxy3];
|
||||
// scene.add(planet1Group)
|
||||
galaxy1.geometry.center();
|
||||
galaxy2.geometry.center();
|
||||
galaxy3.geometry.center();
|
||||
galaxy4.geometry.center();
|
||||
// galaxy2.scale.set(0.5, 0.5, 0.5)
|
||||
galaxy3.scale.set(1.5, 1.5, 1.5);
|
||||
// sectionTwo.scale.set(0.5, 0.5, 0.5)
|
||||
|
||||
/**
|
||||
* Particles
|
||||
*/
|
||||
// const parameters = {
|
||||
// materialColor: galaxyColors.inside,
|
||||
// particleColor: "#fff",
|
||||
// };
|
||||
const particlesCount = 35000;
|
||||
const positions = new Float32Array(particlesCount * 3);
|
||||
|
||||
for (let i = 0; i < particlesCount; i++) {
|
||||
const i3 = i * 3;
|
||||
positions[i3 + 0] = (Math.random() - 0.5) * 40;
|
||||
positions[i3 + 1] =
|
||||
objectsDistance * 0.8 -
|
||||
Math.random() * objectsDistance * (sections.length * 2);
|
||||
positions[i3 + 2] = (Math.random() - 0.5) * 40;
|
||||
}
|
||||
|
||||
const particlesGeometry = new THREE.BufferGeometry();
|
||||
particlesGeometry.setAttribute(
|
||||
"position",
|
||||
new THREE.BufferAttribute(positions, 3)
|
||||
);
|
||||
|
||||
// Material
|
||||
const particlesMaterial = new THREE.PointsMaterial({
|
||||
map: planeColorTexture,
|
||||
alphaMap: planeAlphaTexture,
|
||||
// color: parameters.particleColor,
|
||||
transparent: true,
|
||||
sizeAttenuation: true,
|
||||
size: 0.03,
|
||||
});
|
||||
|
||||
// Points
|
||||
const particles = new THREE.Points(particlesGeometry, particlesMaterial);
|
||||
scene.add(particles);
|
||||
|
||||
// Easter eggs
|
||||
const easterEgg1 = document.querySelectorAll(".ee1");
|
||||
|
||||
/**
|
||||
* Sizes
|
||||
*/
|
||||
const sizes = {
|
||||
width: window.innerWidth,
|
||||
height: window.innerHeight,
|
||||
};
|
||||
|
||||
window.addEventListener("resize", () => {
|
||||
// Update sizes
|
||||
sizes.width = window.innerWidth;
|
||||
sizes.height = window.innerHeight;
|
||||
|
||||
// Update camera
|
||||
camera.aspect = sizes.width / sizes.height;
|
||||
camera.updateProjectionMatrix();
|
||||
|
||||
// Update renderer
|
||||
renderer.setSize(sizes.width, sizes.height);
|
||||
renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2));
|
||||
});
|
||||
|
||||
/**
|
||||
* Camera
|
||||
*/
|
||||
// Camera group
|
||||
const cameraGroup = new THREE.Group();
|
||||
scene.add(cameraGroup);
|
||||
|
||||
// Base camera
|
||||
const camera = new THREE.PerspectiveCamera(
|
||||
50,
|
||||
sizes.width / sizes.height,
|
||||
0.1,
|
||||
400
|
||||
);
|
||||
camera.position.z = 6;
|
||||
cameraGroup.add(camera);
|
||||
|
||||
/**
|
||||
* Helpers
|
||||
*/
|
||||
// Leave these.
|
||||
// const cameraHelper = new THREE.CameraHelper( camera );
|
||||
// scene.add(cameraHelper);
|
||||
// const axesHelper = new THREE.AxesHelper( 5 );
|
||||
// sectionThree.add(axesHelper);
|
||||
// const axesHelper = new THREE.AxesHelper( 5 );
|
||||
// sectionSeven.add( axesHelper );
|
||||
// Controls
|
||||
// const controls = new OrbitControls(camera, canvas)
|
||||
// controls.enableDamping = true
|
||||
|
||||
/**
|
||||
* Renderer
|
||||
*/
|
||||
const renderer = new THREE.WebGLRenderer({
|
||||
canvas: canvas,
|
||||
alpha: true,
|
||||
});
|
||||
renderer.shadowMap.enabled = true;
|
||||
renderer.shadowMap.type = THREE.PCFSoftShadowMap;
|
||||
renderer.setSize(sizes.width, sizes.height);
|
||||
renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2));
|
||||
|
||||
/**
|
||||
* Raycaster
|
||||
*/
|
||||
const raycaster = new THREE.Raycaster();
|
||||
let currentIntersect = null;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Cursor / Mouse
|
||||
*/
|
||||
const cursor = {};
|
||||
cursor.x = 0;
|
||||
cursor.y = 0;
|
||||
const mouse = new THREE.Vector2();
|
||||
const rayMouse = new THREE.Vector2();
|
||||
|
||||
/**
|
||||
* Events
|
||||
*/
|
||||
|
||||
// Scroll
|
||||
let scrollY = window.scrollY;
|
||||
let currentSection = 0;
|
||||
|
||||
window.addEventListener("scroll", () => {
|
||||
scrollY = window.scrollY;
|
||||
|
||||
const newSection = Math.round(scrollY / sizes.height);
|
||||
|
||||
if (newSection !== currentSection) {
|
||||
currentSection = newSection;
|
||||
console.log(currentSection);
|
||||
switch (currentSection) {
|
||||
case 0:
|
||||
gsap.to(cameraGroup.rotation, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
y: "0",
|
||||
x: "0",
|
||||
z: "0",
|
||||
});
|
||||
gsap.to(cameraGroup.position, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
z: 0,
|
||||
});
|
||||
gsap.to(galaxy1.position, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
x: 6,
|
||||
y: 0,
|
||||
z: -13,
|
||||
});
|
||||
gsap.to(galaxy2.position, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
y: 25,
|
||||
});
|
||||
gsap.to(plane1.position, {
|
||||
duration: 3,
|
||||
ease: "power2.inOut",
|
||||
x: -8,
|
||||
y: -3,
|
||||
z: -4,
|
||||
});
|
||||
gsap.to(plane1.rotation, {
|
||||
duration: 3,
|
||||
ease: "power2.inOut",
|
||||
x: 0,
|
||||
});
|
||||
break;
|
||||
|
||||
// Schedule
|
||||
case 1:
|
||||
gsap.to(cameraGroup.rotation, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
y: "0.33",
|
||||
z: "0",
|
||||
});
|
||||
gsap.to(cameraGroup.position, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
z: -10,
|
||||
});
|
||||
gsap.to(galaxy1.position, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
x: 5,
|
||||
z: -15,
|
||||
});
|
||||
gsap.to(galaxy2.position, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
y: -18,
|
||||
});
|
||||
gsap.to(plane1.position, {
|
||||
duration: 3,
|
||||
ease: "power2.inOut",
|
||||
x: 5,
|
||||
y: -2,
|
||||
z: -10,
|
||||
});
|
||||
break;
|
||||
|
||||
case 2:
|
||||
gsap.to(cameraGroup.rotation, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
y: "-0.90",
|
||||
x: "0.10",
|
||||
z: "0",
|
||||
});
|
||||
gsap.to(cameraGroup.position, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
z: 0,
|
||||
});
|
||||
gsap.to(galaxy1.position, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
x: 5,
|
||||
z: 10,
|
||||
});
|
||||
gsap.to(galaxy2.position, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
y: 1,
|
||||
z: 10,
|
||||
});
|
||||
gsap.to(galaxy3.position, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
x: 1,
|
||||
y: 1,
|
||||
z: 3,
|
||||
});
|
||||
gsap.to(plane1.position, {
|
||||
duration: 3,
|
||||
ease: "power2.inOut",
|
||||
x: 25,
|
||||
y: 3,
|
||||
z: -15,
|
||||
});
|
||||
break;
|
||||
|
||||
case 3:
|
||||
gsap.to(cameraGroup.rotation, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
y: "0.03",
|
||||
x: "0.25",
|
||||
z: "-0.2",
|
||||
});
|
||||
gsap.to(cameraGroup.position, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
z: -2,
|
||||
});
|
||||
gsap.to(galaxy1.position, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
x: 3,
|
||||
z: 10,
|
||||
});
|
||||
gsap.to(galaxy2.position, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
x: -10,
|
||||
y: 1,
|
||||
z: -10,
|
||||
});
|
||||
break;
|
||||
|
||||
case 4:
|
||||
gsap.to(cameraGroup.rotation, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
y: "2.8",
|
||||
x: "-.95",
|
||||
z: "0.4",
|
||||
});
|
||||
gsap.to(cameraGroup.position, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
z: -2,
|
||||
});
|
||||
gsap.to(galaxy1.position, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
x: 0,
|
||||
y: 0,
|
||||
z: -13,
|
||||
});
|
||||
gsap.to(galaxy2.position, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
x: -14,
|
||||
y: 3,
|
||||
z: 5,
|
||||
});
|
||||
gsap.to(plane1.position, {
|
||||
duration: 3,
|
||||
ease: "power2.inOut",
|
||||
x: -26,
|
||||
y: 20,
|
||||
z: -5,
|
||||
});
|
||||
break;
|
||||
|
||||
case 5:
|
||||
gsap.to(cameraGroup.rotation, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
y: "2.8",
|
||||
x: "-.95",
|
||||
z: "0.4",
|
||||
});
|
||||
gsap.to(cameraGroup.position, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
z: -2,
|
||||
});
|
||||
gsap.to(galaxy1.position, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
x: 0,
|
||||
y: 0,
|
||||
z: -13,
|
||||
});
|
||||
gsap.to(galaxy2.position, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
x: -8,
|
||||
y: 1,
|
||||
z: 5,
|
||||
});
|
||||
gsap.to(plane1.position, {
|
||||
duration: 3,
|
||||
ease: "power2.inOut",
|
||||
x: 0,
|
||||
y: 0,
|
||||
z: 0,
|
||||
});
|
||||
break;
|
||||
|
||||
case 6:
|
||||
gsap.to(cameraGroup.rotation, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
y: "0.0",
|
||||
x: "0",
|
||||
z: "0",
|
||||
});
|
||||
// gsap.to(cameraGroup.position, {
|
||||
// duration: 1.5,
|
||||
// ease: "power2.inOut",
|
||||
// z: -2,
|
||||
// });
|
||||
break;
|
||||
|
||||
default:
|
||||
gsap.to(cameraGroup.rotation, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
y: "-.60",
|
||||
x: "0",
|
||||
z: "0",
|
||||
});
|
||||
gsap.to(cameraGroup.position, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
z: 0,
|
||||
});
|
||||
gsap.to(galaxy1.position, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
x: 3,
|
||||
y: 0,
|
||||
z: -13,
|
||||
});
|
||||
gsap.to(galaxy2.position, {
|
||||
duration: 1.5,
|
||||
ease: "power2.inOut",
|
||||
x: -12,
|
||||
y: 20,
|
||||
z: -20,
|
||||
});
|
||||
gsap.to(plane1.position, {
|
||||
duration: 3,
|
||||
ease: "power2.inOut",
|
||||
x: -26,
|
||||
y: 20,
|
||||
z: 0,
|
||||
});
|
||||
break;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
//Click events
|
||||
window.addEventListener("click", () => {
|
||||
console.log(easterEgg1[0].classList);
|
||||
if (currentIntersect) {
|
||||
console.log("i", currentIntersect);
|
||||
if (currentIntersect === plane1 || currentIntersect === plane3 || currentIntersect === galaxy1) {
|
||||
easterEgg1[0].classList.toggle("found");
|
||||
console.log(easterEgg1[0].classList);
|
||||
}
|
||||
} else {
|
||||
console.log("no intersect", currentIntersect);
|
||||
}
|
||||
});
|
||||
|
||||
// Mouse move
|
||||
window.addEventListener("mousemove", (event) => {
|
||||
cursor.x = (event.clientX / sizes.width) - 0.3;
|
||||
cursor.y = -(event.clientY / sizes.height) - 0.3;
|
||||
|
||||
mouse.x = (event.clientX / sizes.width) * 2 - 1;
|
||||
mouse.y = -(event.clientY / sizes.height) * 2 - 1;
|
||||
|
||||
rayMouse.x = event.clientX / sizes.width;
|
||||
rayMouse.y = event.clientY / sizes.height;
|
||||
});
|
||||
|
||||
/**
|
||||
* Animate
|
||||
*/
|
||||
const clock = new THREE.Clock();
|
||||
let previousTime = 0;
|
||||
|
||||
|
||||
const tick = () => {
|
||||
const elapsedTime = clock.getElapsedTime();
|
||||
const deltaTime = elapsedTime - previousTime;
|
||||
previousTime = elapsedTime;
|
||||
|
||||
// const galaxy2Angle = elapsedTime * 0.3;
|
||||
const parallaxX = cursor.x * 0.5;
|
||||
const parallaxY = cursor.y * 0.5;
|
||||
// camera.updateMatrixWorld();
|
||||
// Animate camera
|
||||
camera.position.y = (-scrollY / sizes.height) * objectsDistance;
|
||||
cameraGroup.position.x +=
|
||||
(parallaxX - cameraGroup.position.x) * 5 * deltaTime;
|
||||
cameraGroup.position.y +=
|
||||
(parallaxY - cameraGroup.position.y) * 5 * deltaTime;
|
||||
|
||||
// for (const galaxy of galaxies) {
|
||||
// // galaxy.rotation.y += deltaTime * 0.1
|
||||
// }
|
||||
|
||||
galaxy1.position.y = -scrollY * 0.0005;
|
||||
// galaxy1.rotation.y += (parallaxX - cameraGroup.position.x) * 2 * deltaTime
|
||||
galaxy1.rotation.z = scrollY * 0.0004;
|
||||
galaxy1.rotation.x = -elapsedTime * 0.006;
|
||||
|
||||
galaxy2.rotation.y = -elapsedTime * 0.05;
|
||||
|
||||
galaxy3.rotation.y = -elapsedTime * 0.006;
|
||||
|
||||
galaxy4.rotation.y = -elapsedTime * 0.01;
|
||||
|
||||
plane1.position.x = -3.5 + Math.sin(elapsedTime * 0.9) * Math.PI * 0.05;
|
||||
plane1.position.y = -1.5 - Math.cos(elapsedTime * 0.1) * Math.PI * 0.5;
|
||||
plane1.rotation.z = -elapsedTime * 0.06;
|
||||
|
||||
plane3.position.x = 1.5 - Math.sin(elapsedTime * 0.02) * Math.PI * 0.9;
|
||||
plane3.position.y = 1 - Math.cos(elapsedTime * 0.09) * Math.PI * 1;
|
||||
// plane3.position.x = mouse.x / 2;
|
||||
// plane3.position.y = mouse.y;
|
||||
plane3.position.z = 2 - Math.sin(elapsedTime * 0.1) * Math.PI * 0.9;
|
||||
plane3.rotation.z = -elapsedTime * 0.1;
|
||||
|
||||
particles.position.y = scrollY * 0.0004;
|
||||
particles.rotation.y = Math.cos(elapsedTime * 0.05) * Math.PI * 0.05;
|
||||
|
||||
// Cast ray
|
||||
|
||||
raycaster.setFromCamera(mouse, camera);
|
||||
// raycaster.layers.enableAll()
|
||||
const objectsToTest = [plane1, plane3];
|
||||
const intersects = raycaster.intersectObjects(objectsToTest, false);
|
||||
if (intersects.length) {
|
||||
console.log('length', intersects.length);
|
||||
console.log("Something is being hovered");
|
||||
if (currentIntersect === null) {
|
||||
}
|
||||
currentIntersect = intersects[0];
|
||||
console.log("mouse enter", currentIntersect);
|
||||
|
||||
} else {
|
||||
if (currentIntersect) {
|
||||
console.log("mouse leave");
|
||||
// easterEgg1.classList.remove('found')
|
||||
}
|
||||
currentIntersect = null;
|
||||
}
|
||||
|
||||
// Update animations mixer
|
||||
if (mixer) {
|
||||
mixer.update(deltaTime);
|
||||
}
|
||||
|
||||
// Render
|
||||
renderer.render(scene, camera);
|
||||
|
||||
// if(toggleAnimations) return
|
||||
// Call tick again on the next frame
|
||||
window.requestAnimationFrame(tick);
|
||||
|
||||
};
|
||||
tick();
|
||||
}
|
||||
}, [toggleAnimations]);
|
||||
|
||||
return <canvas className="webgl"></canvas>;
|
||||
};
|
||||
|
||||
// const ProfilePage = React.lazy(() => import('./ProfilePage'));
|
||||
207
src/components/dom/EasterEgg.jsx
Normal file
@@ -0,0 +1,207 @@
|
||||
import React, {useState, useRef} from 'react'
|
||||
import {
|
||||
Text,
|
||||
Button,
|
||||
Image,
|
||||
IconButton,
|
||||
CloseIcon,
|
||||
Container,
|
||||
Box,
|
||||
Link,
|
||||
useBreakpointValue
|
||||
} from '@chakra-ui/react'
|
||||
import { ExternalLinkIcon } from '@chakra-ui/icons'
|
||||
|
||||
import BabyOctoGif from "@/static/assets/img/baby_octo_alpha.gif";
|
||||
|
||||
export const EasterEgg = () => {
|
||||
const [toggle, setToggle] = useState(false);
|
||||
const [openClaim, setOpenClaim] = useState(false);
|
||||
const ref = useRef(null);
|
||||
const claimRef = useRef(null);
|
||||
const responsiveButtonSize = useBreakpointValue({base: 'sm', lg: 'md'})
|
||||
const handleToggle = () => {
|
||||
if (typeof window !== "undefined") {
|
||||
setToggle(!toggle);
|
||||
ref.current.classList.remove("found");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return (
|
||||
<>
|
||||
<Box
|
||||
ref={ref}
|
||||
className="ee1"
|
||||
bg="rgba(0,0,0,0.3)"
|
||||
boxShadow="0 0 15px rgba(0,0,0,0.6)"
|
||||
backdropFilter="blur(7px)"
|
||||
color="white"
|
||||
position="fixed"
|
||||
bottom={0}
|
||||
left={0}
|
||||
right={0}
|
||||
maxW="100vw"
|
||||
textAlign="center"
|
||||
height={{base: '150px', md: "auto"}}
|
||||
opacity={0}
|
||||
// transform="translateY(100px)"
|
||||
transition="transform 0.3s 0.2s ease-in-out, opacity 0.3s 0.3s ease-in-out"
|
||||
zIndex={0}
|
||||
overflowX="clip"
|
||||
sx={{
|
||||
h4: {
|
||||
fontSize: "2vmax",
|
||||
fontWeight: 700,
|
||||
},
|
||||
"&.found": {
|
||||
opacity: 1,
|
||||
transform: "translateY(0)",
|
||||
zIndex: 2003,
|
||||
},
|
||||
}}
|
||||
>
|
||||
{openClaim ? (
|
||||
<Button
|
||||
position="absolute"
|
||||
bottom={20}
|
||||
right={6}
|
||||
colorScheme="pink"
|
||||
bg="#FF61E6"
|
||||
boxShadow="0 0 10px rgba(0, 0, 0, 0.6)"
|
||||
size="sm"
|
||||
transition="all 0.3s 0.8s ease"
|
||||
// transform={`translateY(${openClaim ? 0 : "-70px"})`}
|
||||
onClick={() => setOpenClaim(!openClaim)}
|
||||
zIndex={2004}
|
||||
>
|
||||
Close the claimer
|
||||
</Button>
|
||||
) : null}
|
||||
<Box
|
||||
d="flex"
|
||||
position="relative"
|
||||
alignItems="center"
|
||||
justifyContent="space-around"
|
||||
flexFlow="row nowrap"
|
||||
mx="auto"
|
||||
maxW={{base: '100%', md: "5xl"}}
|
||||
py={3}
|
||||
>
|
||||
<Image src={BabyOctoGif} alt="Baby Octo mascot" boxSize={{base: '35px', xl:"100px"}} objectFit="cover" />
|
||||
<Box flex={1}>
|
||||
<Text as="h4">
|
||||
<span role="img" aria-label="Octo emoji">
|
||||
🐙
|
||||
</span>{" "}
|
||||
Nova's blessings!!{" "}
|
||||
<span role="img" aria-label="Octo emoji">
|
||||
🐙
|
||||
</span>
|
||||
</Text>
|
||||
<Text as="p" fontWeight={500}>
|
||||
Welcome Anon!{" "}
|
||||
<span role="img" aria-label="Cheers/Clinking glasses emoji">
|
||||
🍻
|
||||
</span>
|
||||
<br />
|
||||
You noticed little octo, all alone in space.{" "}
|
||||
<span role="img" aria-label="Loved up emoji">
|
||||
🥰
|
||||
</span>{" "}
|
||||
<br /> For that Nova will bestow wonderment upon you! Do you wish
|
||||
to accept the gift?
|
||||
<br />
|
||||
</Text>
|
||||
<Button
|
||||
href="#"
|
||||
colorScheme="pink"
|
||||
bg="#FF61E6"
|
||||
size={responsiveButtonSize}
|
||||
mt={5}
|
||||
onClick={() => setOpenClaim(!openClaim)}
|
||||
>
|
||||
Claim your NFT
|
||||
</Button>
|
||||
</Box>
|
||||
|
||||
<Image src={BabyOctoGif} alt="Baby Octo mascot" boxSize={{base: '35px', xl:"100px"}} objectFit="cover" />
|
||||
<IconButton
|
||||
onClick={handleToggle}
|
||||
colorScheme="ghost"
|
||||
pos="absolute"
|
||||
top={3}
|
||||
right={0}
|
||||
size="sm"
|
||||
aria-label="Close easter egg"
|
||||
icon={<CloseIcon />}
|
||||
zIndex={2001}
|
||||
/>
|
||||
</Box>
|
||||
</Box>
|
||||
{openClaim ? (
|
||||
<Box
|
||||
ref={claimRef}
|
||||
position="fixed"
|
||||
top="12.5vh"
|
||||
left={0}
|
||||
height="75vh"
|
||||
minH="75vh"
|
||||
width="100vw"
|
||||
boxShadow="0 0 30px rgba(0,0,0,0.8)"
|
||||
// opacity={onScreen ? 1 : 0}
|
||||
transition="opacity 1.2s 0.8s ease-in-out"
|
||||
zIndex={2003}
|
||||
sx={{
|
||||
bg: "rgba(25,0,50,0.4)",
|
||||
backdropFilter: "blur(7px)",
|
||||
}}
|
||||
>
|
||||
<Container maxW={{base: '100%', md: "2xl"}} height="100%" py={12} align="center">
|
||||
<MinterInstance />
|
||||
</Container>
|
||||
<Box
|
||||
display="flex"
|
||||
position="absolute"
|
||||
bottom={0}
|
||||
right={0}
|
||||
width="100%"
|
||||
textAlign="center"
|
||||
>
|
||||
<Link
|
||||
href="https://testnets.opensea.io/assets?search[query]=0x91BBa1e0EE2DCC8d78Fa017588614f328d6d1885"
|
||||
isExternal
|
||||
fontWeight={700}
|
||||
fontSize="0.7vmax"
|
||||
// d="inline-block"
|
||||
mx="auto"
|
||||
p={3}
|
||||
bg="linear-gradient(90.24deg, #640DFB99 0.3%, rgba(100, 13, 251, 0.9) 80.16%)"
|
||||
borderRadius="5px 5px 0 0"
|
||||
boxShadow="0 0 5px rgba(0,0,0,0.6)"
|
||||
overflow="clip"
|
||||
>
|
||||
<span role="img" aria-label="Attention!">
|
||||
📢
|
||||
</span>{" "}
|
||||
Need more NFTs? View the contract on OpenSea. <ExternalLinkIcon />
|
||||
</Link>
|
||||
</Box>
|
||||
</Box>
|
||||
):null}
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
export const MinterInstance = () => {
|
||||
return (
|
||||
<iframe
|
||||
title="Claim Easter Egg NFT"
|
||||
src="https://gateway.ipfscdn.io/ipfs/QmQpHkDDWGJPBHFKkpX1DsfzvwZXQYNVoaW4R1Lhenp6T5/bundledrop.html?contract=0x91BBa1e0EE2DCC8d78Fa017588614f328d6d1885&chainId=80001&tokenId=0"
|
||||
width="100%"
|
||||
height="100%"
|
||||
frameBorder="0"
|
||||
></iframe>
|
||||
);
|
||||
};
|
||||
100
src/components/dom/Footer.jsx
Normal file
@@ -0,0 +1,100 @@
|
||||
import React, {useRef} from "react";
|
||||
import {
|
||||
Box,
|
||||
Flex,
|
||||
Image,
|
||||
Link,
|
||||
Text,
|
||||
} from "@chakra-ui/react";
|
||||
import { useOnScreen } from "@/utils/hooks";
|
||||
import { BoxedNextImage } from "@/components/dom/BoxedNextImage";
|
||||
// import { HamburgerIcon, CloseIcon, AddIcon } from "@chakra-ui/icons";
|
||||
import OctopusImg from "@/static/assets/img/octopus.png";
|
||||
// import MetaGameLogo from '../static/assets/img/logo.png'
|
||||
|
||||
export function SiteFooter() {
|
||||
const ref = useRef(null);
|
||||
const onScreen = useOnScreen(ref);
|
||||
|
||||
return (
|
||||
<Box
|
||||
ref={ref}
|
||||
as="footer"
|
||||
bg="transparent"
|
||||
position="absolute"
|
||||
bottom={0}
|
||||
left={0}
|
||||
px={4}
|
||||
w="100vw"
|
||||
h={{base: 'auto'}}
|
||||
// transform={{md: `translate3d(0, ${onScreen ? 0 : "70px"}, 0)`}}
|
||||
opacity={onScreen ? 1 : 0}
|
||||
transition="transform 0.3s 0.4s ease-in-out, opacity 0.6s 0.3s ease-in"
|
||||
zIndex={0}
|
||||
sx={{
|
||||
a: {
|
||||
color: "white",
|
||||
},
|
||||
}}
|
||||
>
|
||||
<BoxedNextImage
|
||||
src={OctopusImg}
|
||||
boxSize={{base: '90px', md: "150px"}}
|
||||
position="absolute"
|
||||
bottom={0}
|
||||
left={{base: "calc(50% - 45px)", md: "calc(50% - 75px)"}}
|
||||
/>
|
||||
<Flex h={"100px"} alignItems={"center"} justifyContent={"center"}>
|
||||
<Box className="gradient2">
|
||||
<Text textShadow="none" ><span role="img" aria-label="Octopus mascot">🐙</span> © 2022 MetaFam <span role="img" aria-label="Octopus mascot">🐙</span> <Link href="https://metagame.wtf" isExternal>metagame.wtf</Link> <span role="img" aria-label="Octopus mascot">🐙</span></Text>
|
||||
</Box>
|
||||
</Flex>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
|
||||
export const MenuIcon2SVG = ({ toggle }) => (
|
||||
<Box>
|
||||
<Box
|
||||
as="svg"
|
||||
w={{ base: "2.25rem", xl: "2.5rem", "4xl": "2.9rem" }}
|
||||
position="absolute"
|
||||
ml={0.5}
|
||||
mt={0.5}
|
||||
left={0}
|
||||
bottom={0}
|
||||
top={0}
|
||||
transition="transform 0.5s ease"
|
||||
transform={toggle ? "rotate(-90deg)" : "rotate(0)"}
|
||||
preserveAspectRatio="xMidYMid meet"
|
||||
viewBox="0 0 48 48"
|
||||
>
|
||||
<path
|
||||
d="M46.8937 23.64C46.8937 36.4827 36.4827 46.8937 23.64 46.8937C10.7973 46.8937 0.386262 36.4827 0.386262 23.64C0.386262 10.7973 10.7973 0.386262 23.64 0.386262C36.4827 0.386262 46.8937 10.7973 46.8937 23.64Z"
|
||||
stroke="white"
|
||||
strokeOpacity={0.9}
|
||||
strokeWidth={1}
|
||||
/>
|
||||
<path
|
||||
d="M32.6262 20.7609L13.8833 20.7612"
|
||||
className="top-line"
|
||||
stroke="white"
|
||||
strokeWidth={1}
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
/>
|
||||
<path
|
||||
d={
|
||||
toggle
|
||||
? "M32.6258 27.5447L13.8835 27.5447"
|
||||
: "M26.7258 27.5447L13.8835 27.5447"
|
||||
}
|
||||
className="bottom-line"
|
||||
stroke="white"
|
||||
strokeWidth={1}
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
/>
|
||||
</Box>
|
||||
</Box>
|
||||
);
|
||||
53
src/components/dom/HeadComponent.jsx
Normal file
@@ -0,0 +1,53 @@
|
||||
import React from 'react';
|
||||
import { Helmet } from 'react-helmet';
|
||||
|
||||
export const HeadComponent = ({
|
||||
title = 'MetaFest2. Powered by MetaGame',
|
||||
description = 'A virtual festival/conference/hackathon with the goal of helping you level up & manifest a better future.',
|
||||
url = 'https://metafest2.metagame.wtf/',
|
||||
img = 'https://metafest2.metagame.wtf/static/media/social.bc426e19.png',
|
||||
}) => (
|
||||
<Helmet>
|
||||
<title>{title}</title>
|
||||
<meta
|
||||
name="viewport"
|
||||
property="viewport"
|
||||
content="width=device-width, initial-scale=1.0"
|
||||
/>
|
||||
<meta name="title" property="title" content={title} />
|
||||
<meta name="description" property="description" content={description} />
|
||||
<meta name="theme-color" property="theme-color" content="#5a32e6" />
|
||||
|
||||
<meta name="og:type" property="og:type" content="website" />
|
||||
<meta name="og:site_name" property="og:site_name" content="MetaFest2" />
|
||||
<meta name="og:locale" property="og:locale" content="en_US" />
|
||||
|
||||
<meta name="og:title" property="og:title" content={title} />
|
||||
<meta
|
||||
name="og:description"
|
||||
property="og:description"
|
||||
content={description}
|
||||
/>
|
||||
<meta name="og:url" property="og:url" content={url} />
|
||||
<meta name="og:image" property="og:image" content={img} />
|
||||
|
||||
<meta name="twitter:card" property="twitter:card" content="summary" />
|
||||
<meta name="twitter:url" property="twitter:url" content={url} />
|
||||
<meta name="twitter:site" property="twitter:site" content="@MetaFam" />
|
||||
<meta name="twitter:title" property="twitter:title" content={title} />
|
||||
<meta
|
||||
name="twitter:description"
|
||||
property="twitter:description"
|
||||
content={description}
|
||||
/>
|
||||
<meta name="twitter:image" property="twitter:image" content={img} />
|
||||
|
||||
<link rel="icon" href={`${url}/favicon.ico`} />
|
||||
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin />
|
||||
<link href="https://fonts.googleapis.com/css2?family=Exo+2:wght@300;500;700&display=swap" rel="stylesheet" />
|
||||
</Helmet>
|
||||
);
|
||||
|
||||
|
||||
311
src/components/dom/Header.jsx
Normal file
@@ -0,0 +1,311 @@
|
||||
import React, {useRef} from "react";
|
||||
import {
|
||||
Box,
|
||||
Flex,
|
||||
HStack,
|
||||
Link,
|
||||
IconButton,
|
||||
Button,
|
||||
Image,
|
||||
useBreakpoint,
|
||||
useDisclosure,
|
||||
Stack,
|
||||
} from "@chakra-ui/react";
|
||||
import { BiWalletAlt } from 'react-icons/bi'
|
||||
import { BoxedNextImage } from "@/components/dom/BoxedNextImage";
|
||||
import { useDisabledGeneralNotify, useOnScreen } from "@/utils/hooks";
|
||||
|
||||
import MF2Logo from "@/static/assets/img/mf2-logo.png";
|
||||
// import MetaGameLogo from '../static/assets/img/logo.png'
|
||||
|
||||
const Links = [
|
||||
{
|
||||
name: "Home",
|
||||
href: "#home",
|
||||
},
|
||||
{
|
||||
name: "Schedule",
|
||||
href: "#schedule",
|
||||
},
|
||||
{
|
||||
name: "Workshops",
|
||||
href: "#workshops",
|
||||
},
|
||||
{
|
||||
name: "Speakers",
|
||||
href: "#speakers",
|
||||
},
|
||||
{
|
||||
name: "MetaFest-a-verse",
|
||||
href: "#metafest-verse",
|
||||
},
|
||||
{
|
||||
name: "Chat",
|
||||
href: "#chat",
|
||||
},
|
||||
{
|
||||
name: "Apply",
|
||||
href: "#apply",
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
|
||||
export function SiteHeader() {
|
||||
const { isOpen, onOpen, onClose } = useDisclosure();
|
||||
const ref = useRef(null);
|
||||
const linkRef = useRef(null);
|
||||
const onScreen = useOnScreen(ref);
|
||||
const linkOnScreen = useOnScreen(linkRef)
|
||||
const disabledGenNotify = useDisabledGeneralNotify();
|
||||
const handleToggle = () => (isOpen ? onClose() : onOpen());
|
||||
const screenSize = useBreakpoint()
|
||||
console.log('s',screenSize);
|
||||
|
||||
const NavLink = ({ href, children, offset }) => (
|
||||
<Link
|
||||
ref={linkRef}
|
||||
fontWeight={{ base: 500, lg: 700 }}
|
||||
px={2}
|
||||
py={1}
|
||||
rounded={"md"}
|
||||
textShadow="0 0 10px rgba(0, 0, 0, 0.8)"
|
||||
opacity={!linkOnScreen ? 1 : 0}
|
||||
transform={`translate3d(${!linkOnScreen ? 0 : -200}, 0, 0)`}
|
||||
transition={`all 0.2s ${0.6 + offset}s ease`}
|
||||
_hover={{
|
||||
textDecoration: "none",
|
||||
background: "linear-gradient(-90deg, #FF61E6 -29.22%, #7C56FF 107.53%)",
|
||||
backgroundClip: "text",
|
||||
WebkitTextFillColor: "transparent",
|
||||
}}
|
||||
href={`/${href}`}
|
||||
onClick={handleToggle}
|
||||
color="white"
|
||||
>
|
||||
{children}
|
||||
</Link>
|
||||
);
|
||||
|
||||
|
||||
return (
|
||||
<>
|
||||
<Box
|
||||
ref={ref}
|
||||
as="header"
|
||||
bg="transparent"
|
||||
position="fixed"
|
||||
top={0}
|
||||
px={4}
|
||||
w="100%"
|
||||
maxW="100vw"
|
||||
h={{base: '75px', md: "100px"}}
|
||||
// transform={`translate3d(0, ${onScreen ? 0 : "-70px"}, 0)`}
|
||||
opacity={onScreen ? 1 : 0}
|
||||
transition="transform 0.3s 1s ease-in-out, opacity 0.6s 0.8s ease-in"
|
||||
zIndex={2001}
|
||||
sx={{
|
||||
a: {
|
||||
color: "white",
|
||||
},
|
||||
}}
|
||||
>
|
||||
<Flex
|
||||
h={{base: '75px', md: "100px"}}
|
||||
alignItems={"center"}
|
||||
justifyContent={"space-between"}
|
||||
>
|
||||
<Box width={{ base: "25%" }} h="2.5rem" overflow="visible" sx={{
|
||||
d: {base: 'inline-flex', md: 'none'},
|
||||
}}>
|
||||
<Button
|
||||
onClick={handleToggle}
|
||||
sx={{
|
||||
alignSelf: "center",
|
||||
justifySelf: "right",
|
||||
position: "relative",
|
||||
flexDirection: "column",
|
||||
justifyContent: "space-around",
|
||||
overflow: 'visible',
|
||||
w: { base: "2.25rem" },
|
||||
h: { base: "2.25rem" },
|
||||
background: "transparent",
|
||||
border: "none",
|
||||
cursor: "pointer",
|
||||
padding: 0,
|
||||
mx: 0,
|
||||
zIndex: 2003,
|
||||
"&:hover, &:focus, &[data-hover]": {
|
||||
outline: "none",
|
||||
background: "transparent",
|
||||
boxShadow: "none",
|
||||
},
|
||||
div: {
|
||||
w: "100%",
|
||||
h: "100%",
|
||||
p: 0,
|
||||
transition: "all 0.3s linear",
|
||||
position: "relative",
|
||||
transformOrigin: "1px",
|
||||
},
|
||||
"path, circle": {
|
||||
fill: isOpen ? "transparent" : "transparent",
|
||||
transition: "all 0.2s 0.2s ease",
|
||||
stroke: isOpen ? "#7C56FF" : "#927CFF",
|
||||
},
|
||||
".top-line": {
|
||||
transition: "all 0.6s ease",
|
||||
transform: isOpen
|
||||
? "rotate(-405deg) translate3d(1px, 3px, 0)"
|
||||
: "rotate(0)",
|
||||
transformOrigin: "center",
|
||||
},
|
||||
".bottom-line": {
|
||||
transition: "all 0.6s ease",
|
||||
transform: isOpen
|
||||
? "rotate(405deg) translate3d(0px, -4px, 0)"
|
||||
: "rotate(0)",
|
||||
transformOrigin: "center",
|
||||
},
|
||||
}}
|
||||
>
|
||||
<MenuIcon2SVG toggle={isOpen} />
|
||||
</Button>
|
||||
</Box>
|
||||
<HStack spacing={8} alignItems={"center"}>
|
||||
<Link href="/#home" flex={{base: 1}}>
|
||||
<BoxedNextImage
|
||||
src={MF2Logo}
|
||||
alt="MetaGame Logo"
|
||||
boxSize={{ base: "65px", md: "95px" }}
|
||||
objectFit="cover"
|
||||
transform={{ md: "translateY(15px) translateX(10px)" }}
|
||||
sx={{
|
||||
transition: 'all 0.2s 0.1s ease',
|
||||
filter: "drop-shadow(0 0 15px rgba(0,0,0,0.6))",
|
||||
_hover: {
|
||||
filter: "drop-shadow(0 0 15px #FF61E696)",
|
||||
}
|
||||
}}
|
||||
/>
|
||||
</Link>
|
||||
<HStack
|
||||
as={"nav"}
|
||||
spacing={4}
|
||||
display={{ base: "none", md: "flex" }}
|
||||
>
|
||||
{Links.map((link, i) => (
|
||||
<NavLink key={`desktop-${link.name}`} href={link.href}>
|
||||
{link.name}
|
||||
</NavLink>
|
||||
))}
|
||||
</HStack>
|
||||
</HStack>
|
||||
<Flex alignItems="center" justifyContent="end" width={{ base: "25%", md: 'auto' }}>
|
||||
{screenSize !== 'base' ? (
|
||||
<Button
|
||||
variant={"solid"}
|
||||
colorScheme={"purple"}
|
||||
bg="#927CFF"
|
||||
boxShadow="0 0 10px rgba(0, 0, 0, 0.6)"
|
||||
size="sm"
|
||||
mr={0}
|
||||
onClick={disabledGenNotify}
|
||||
>
|
||||
Connect
|
||||
</Button>
|
||||
) : (
|
||||
<IconButton
|
||||
icon={<BiWalletAlt />}
|
||||
aria-label="Connect Web3 wallet"
|
||||
flex={0}
|
||||
fontSize={{base: '12vmin', lg: "2vmax"}}
|
||||
colorScheme="ghost"
|
||||
color="#927CFF"
|
||||
onClick={disabledGenNotify}
|
||||
alignSelf="center"
|
||||
// filter="drop-shadow(0 0 15px #FF61E6)"
|
||||
/>
|
||||
)}
|
||||
</Flex>
|
||||
</Flex>
|
||||
|
||||
{/* {isOpen ? ( */}
|
||||
<Box
|
||||
display={{ base: "flex", md: "none" }}
|
||||
position="fixed"
|
||||
top={0}
|
||||
left={0}
|
||||
w="100%"
|
||||
minW="100%"
|
||||
minH="100vh"
|
||||
alignItems="center"
|
||||
justifyContent="center"
|
||||
p={5}
|
||||
pt="100px"
|
||||
bg="linear-gradient(0deg, rgba(41,2,80,0.1) 0%, rgba(25,0,50,0.5) 40%)"
|
||||
backdropFilter="blur(7px)"
|
||||
transition="transform 0.3s 0.1s ease, opacity 0.3s 0.2s"
|
||||
boxShadow="0 0 15px #00000070"
|
||||
|
||||
opacity={isOpen ? 1 : 0}
|
||||
transform={`translate3d(0, ${isOpen ? 0 : '-100vh'}, 0)`}
|
||||
zIndex={-1}
|
||||
>
|
||||
<Stack as={"nav"} spacing={4} height="auto">
|
||||
{Links.map((link) => (
|
||||
<NavLink key={`mobile-${link.name}`} href={link.href}>
|
||||
{link.name}
|
||||
</NavLink>
|
||||
))}
|
||||
</Stack>
|
||||
</Box>
|
||||
{/* ) : null} */}
|
||||
</Box>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
export const MenuIcon2SVG = ({ toggle }) => (
|
||||
<Box>
|
||||
<Box
|
||||
as="svg"
|
||||
w={{ base: "100%", xl: "2.5rem", "4xl": "2.9rem" }}
|
||||
h="100%"
|
||||
overflow="visible"
|
||||
transition="transform 0.5s ease"
|
||||
transform={toggle ? "rotate(-90deg)" : "rotate(0)"}
|
||||
preserveAspectRatio="xMidYMid meet"
|
||||
viewBox="0 0 48 48"
|
||||
>
|
||||
<path
|
||||
d="M46.8937 23.64C46.8937 36.4827 36.4827 46.8937 23.64 46.8937C10.7973 46.8937 0.386262 36.4827 0.386262 23.64C0.386262 10.7973 10.7973 0.386262 23.64 0.386262C36.4827 0.386262 46.8937 10.7973 46.8937 23.64Z"
|
||||
className="circle"
|
||||
stroke="white"
|
||||
strokeOpacity={1}
|
||||
strokeWidth={4}
|
||||
/>
|
||||
<path
|
||||
d="M32.6262 20.7609L13.8833 20.7612"
|
||||
className="top-line"
|
||||
stroke="white"
|
||||
strokeWidth={4}
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
/>
|
||||
<path
|
||||
d={
|
||||
toggle
|
||||
? "M32.6258 27.5447L13.8835 27.5447"
|
||||
: "M26.7258 27.5447L13.8835 27.5447"
|
||||
}
|
||||
className="bottom-line"
|
||||
stroke="white"
|
||||
strokeWidth={4}
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
/>
|
||||
</Box>
|
||||
</Box>
|
||||
);
|
||||
39
src/components/dom/animations.jsx
Normal file
@@ -0,0 +1,39 @@
|
||||
import { keyframes } from "@chakra-ui/react";
|
||||
|
||||
export const revealUp = keyframes`
|
||||
from {
|
||||
// transform: translate3d(0, 70px, 0);
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
// transform: translate3d(0, 0, 0);
|
||||
opacity: 1;
|
||||
}
|
||||
`;
|
||||
|
||||
export const revealRight = keyframes`
|
||||
from {
|
||||
// transform: translate3d(-70px, 0, 0);
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
transform: translate3d(0, 0, 0);
|
||||
opacity: 1;
|
||||
}
|
||||
`;
|
||||
|
||||
export const revealLeft = keyframes`
|
||||
from {
|
||||
// transform: translate3d(70px, 0, 0);
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
// transform: translate3d(0, 0, 0);
|
||||
opacity: 1;
|
||||
}
|
||||
`;
|
||||
|
||||
|
||||
export const revealUpAnim = `${revealUp} 1 0.4s linear`
|
||||
export const revealRightAnim = `${revealRight} 1 0.4s linear`
|
||||
export const revealLeftAnim = `${revealLeft} 1 0.4s linear`
|
||||
41
src/components/dom/cv-artists/Artist.jsx
Normal file
@@ -0,0 +1,41 @@
|
||||
import React, { useRef, useState } from "react";
|
||||
import {
|
||||
Box,
|
||||
Text,
|
||||
} from "@chakra-ui/react";
|
||||
import { useOnScreen } from "@/utils/hooks";
|
||||
|
||||
|
||||
export const Artist = ({artist}) => {
|
||||
const ref = useRef(null);
|
||||
const onScreen = useOnScreen(ref);
|
||||
const {slug, name, strapline, description} = artist;
|
||||
return (
|
||||
<Box
|
||||
as="section"
|
||||
id={`artist-${slug}`}
|
||||
justifyContent={{base: 'flex-end', lg: 'inherit'}}
|
||||
>
|
||||
<Box
|
||||
ref={ref}
|
||||
className="__content"
|
||||
maxW={{base: '100%', md: "2xl"}}
|
||||
transform={`translate3d(${onScreen ? 0 : "-70px"}, 0, 0)`}
|
||||
opacity={onScreen ? 1 : 0}
|
||||
transition="transform 0.3s 0.4s ease-in-out, opacity 0.6s 0.5s ease-in"
|
||||
willChange={true}
|
||||
zIndex={2001}
|
||||
>
|
||||
<Box className="__content__body--no-firstof" textAlign="right" mt={6}>
|
||||
<Text as="h2">{name}</Text>
|
||||
<Text className="gradient">
|
||||
{strapline}
|
||||
</Text>
|
||||
<Text>
|
||||
{description}
|
||||
</Text>
|
||||
</Box>
|
||||
</Box>
|
||||
</Box>
|
||||
);
|
||||
};
|
||||
78
src/components/dom/cv-artists/ArtistsIntro.jsx
Normal file
@@ -0,0 +1,78 @@
|
||||
import React, { useRef } from "react";
|
||||
import {
|
||||
Box,
|
||||
Button,
|
||||
Link,
|
||||
Text,
|
||||
HStack,
|
||||
useBreakpointValue
|
||||
} from "@chakra-ui/react";
|
||||
import { useOnScreen } from "@/utils/hooks";
|
||||
|
||||
|
||||
export const ArtistsIntro = () => {
|
||||
const ref = useRef(null);
|
||||
const onScreen = useOnScreen(ref);
|
||||
const buttonSize = useBreakpointValue({ base: 'sm', md: 'lg' })
|
||||
|
||||
|
||||
return (
|
||||
<Box
|
||||
as="section"
|
||||
id="cv-intro"
|
||||
alignContent="center"
|
||||
justifyContent="flex-start"
|
||||
>
|
||||
<Box
|
||||
ref={ref}
|
||||
position="relative"
|
||||
className="__content"
|
||||
maxW={{base: '100%', md: "2xl"}}
|
||||
opacity={onScreen ? 1 : 0}
|
||||
transform={`translate3d(${onScreen ? 0 : "-70px"}, 0, 0)`}
|
||||
transition="transform 0.3s 0.4s ease-in-out, opacity 0.6s 0.5s ease-in"
|
||||
|
||||
>
|
||||
<Box
|
||||
d="inline-flex"
|
||||
flexFlow="column-reverse wrap"
|
||||
alignItems="flex-start"
|
||||
width="auto"
|
||||
>
|
||||
<Text
|
||||
as="h1"
|
||||
className="gradient-cone"
|
||||
lineHeight={1}
|
||||
overflow="visible"
|
||||
sx={{
|
||||
position: "relative",
|
||||
fontWeight: 700,
|
||||
mb: 0,
|
||||
strong: {
|
||||
d: "block",
|
||||
fontWeight: 700,
|
||||
},
|
||||
em: {
|
||||
fontStyle: "normal",
|
||||
},
|
||||
}}
|
||||
>
|
||||
CV Artists of MetaGame
|
||||
</Text>
|
||||
{/* <span className="fest-dates">9th - 23rd JUNE</span> */}
|
||||
</Box>
|
||||
<Box className="__content__body" maxW={{base: '66vw', lg: 'unset'}}>
|
||||
<Text as="p" fontWeight={300} mt={-2}>
|
||||
powered by{" "}
|
||||
<Text as="strong" className="gradient">
|
||||
MagicaVoxels, Blender, etc
|
||||
</Text>
|
||||
</Text>
|
||||
<HStack mt={5}>
|
||||
<Link href="#artist-luxumbra"><Button colorScheme="pink" bg="#FF61E6" size={buttonSize}>Browse</Button></Link>
|
||||
</HStack>
|
||||
</Box>
|
||||
</Box>
|
||||
</Box>
|
||||
);
|
||||
};
|
||||
41
src/components/dom/cv-artists/Luxumbra.jsx
Normal file
@@ -0,0 +1,41 @@
|
||||
import React, { useRef, useState } from "react";
|
||||
import {
|
||||
Box,
|
||||
Text,
|
||||
} from "@chakra-ui/react";
|
||||
import { useOnScreen } from "@/utils/hooks";
|
||||
|
||||
|
||||
export const ArtistLuxumbra = () => {
|
||||
const ref = useRef(null);
|
||||
const onScreen = useOnScreen(ref);
|
||||
|
||||
return (
|
||||
<Box
|
||||
as="section"
|
||||
id="artist-luxumbra"
|
||||
justifyContent={{base: 'flex-end', lg: 'inherit'}}
|
||||
>
|
||||
<Box
|
||||
ref={ref}
|
||||
className="__content"
|
||||
maxW={{base: '100%', md: "2xl"}}
|
||||
transform={`translate3d(${onScreen ? 0 : "-70px"}, 0, 0)`}
|
||||
opacity={onScreen ? 1 : 0}
|
||||
transition="transform 0.3s 0.4s ease-in-out, opacity 0.6s 0.5s ease-in"
|
||||
willChange={true}
|
||||
zIndex={2001}
|
||||
>
|
||||
<Box className="__content__body--no-firstof" textAlign="right" mt={6}>
|
||||
<Text as="h2">luxumbra</Text>
|
||||
<Text className="gradient">
|
||||
Some Voxels by lux.
|
||||
</Text>
|
||||
<Text>
|
||||
lux is a buidler, innkeeper and dabbler in many things...{" "}
|
||||
</Text>
|
||||
</Box>
|
||||
</Box>
|
||||
</Box>
|
||||
);
|
||||
};
|
||||
41
src/components/dom/cv-artists/Musashi.jsx
Normal file
@@ -0,0 +1,41 @@
|
||||
import React, { useRef, useState } from "react";
|
||||
import {
|
||||
Box,
|
||||
Text,
|
||||
} from "@chakra-ui/react";
|
||||
import { useOnScreen } from "@/utils/hooks";
|
||||
|
||||
|
||||
export const ArtistMusashi = ({artist}) => {
|
||||
const ref = useRef(null);
|
||||
const onScreen = useOnScreen(ref);
|
||||
const {slug, name, strapline, description} = artist;
|
||||
return (
|
||||
<Box
|
||||
as="section"
|
||||
id={`artist-${artist}`}
|
||||
justifyContent={{base: 'flex-end', lg: 'inherit'}}
|
||||
>
|
||||
<Box
|
||||
ref={ref}
|
||||
className="__content"
|
||||
maxW={{base: '100%', md: "2xl"}}
|
||||
transform={`translate3d(${onScreen ? 0 : "-70px"}, 0, 0)`}
|
||||
opacity={onScreen ? 1 : 0}
|
||||
transition="transform 0.3s 0.4s ease-in-out, opacity 0.6s 0.5s ease-in"
|
||||
willChange={true}
|
||||
zIndex={2001}
|
||||
>
|
||||
<Box className="__content__body--no-firstof" textAlign="right" mt={6}>
|
||||
<Text as="h2">{name}</Text>
|
||||
<Text className="gradient">
|
||||
{strapline}
|
||||
</Text>
|
||||
<Text>
|
||||
{description}
|
||||
</Text>
|
||||
</Box>
|
||||
</Box>
|
||||
</Box>
|
||||
);
|
||||
};
|
||||
4
src/components/dom/cv-artists/index.jsx
Normal file
@@ -0,0 +1,4 @@
|
||||
export { ArtistsIntro } from "./ArtistsIntro";
|
||||
export { Artist } from "./Artist";
|
||||
export { ArtistLuxumbra } from "./Luxumbra";
|
||||
export {ArtistMusashi} from "./Musashi";
|
||||
250
src/components/dom/galaxies.jsx
Normal file
@@ -0,0 +1,250 @@
|
||||
import * as THREE from 'three'
|
||||
import * as dat from 'lil-gui'
|
||||
|
||||
/**
|
||||
* Base
|
||||
*/
|
||||
|
||||
// Debug
|
||||
// const gui = new dat.GUI({width: 400})
|
||||
|
||||
|
||||
// Scene
|
||||
const scene = new THREE.Scene()
|
||||
export const galaxyColors = {
|
||||
inside: '#462080',
|
||||
outside: '#FF61E6'
|
||||
}
|
||||
export const galaxy2Colors = {
|
||||
inside: '#462080',
|
||||
outside: '#7C56FF'
|
||||
}
|
||||
export const galaxy3Colors = {
|
||||
inside: '#76EBF2',
|
||||
outside: '#7C56FF'
|
||||
}
|
||||
export const galaxy4Colors = {
|
||||
inside: '#462080',
|
||||
outside: '#7C56FF'
|
||||
}
|
||||
/**
|
||||
* Galaxy
|
||||
*/
|
||||
export const galaxy1Params = {
|
||||
count: 500000,
|
||||
size: 0.033,
|
||||
radius: 4.86,
|
||||
branches: 8,
|
||||
spin: 8,
|
||||
randomness: 1,
|
||||
randomnessPower: 8,
|
||||
insideColor: galaxyColors.inside,
|
||||
outsideColor: galaxyColors.outside,
|
||||
type: 1
|
||||
}
|
||||
export const galaxy2Params = {
|
||||
count: 2000000,
|
||||
size: 0.01,
|
||||
radius: 12,
|
||||
branches: 8,
|
||||
spin: 8,
|
||||
randomness: 9,
|
||||
randomnessPower: 8,
|
||||
insideColor: galaxy2Colors.inside,
|
||||
outsideColor: galaxy2Colors.outside,
|
||||
type: 2
|
||||
}
|
||||
// gui.addColor(galaxy2Params, 'insideColor').onFinishChange()
|
||||
|
||||
export const galaxy3Params = {
|
||||
count: 600000,
|
||||
size: 0.01,
|
||||
radius: 1.86,
|
||||
branches: 3,
|
||||
spin: 32,
|
||||
randomness: 13,
|
||||
randomnessPower: 20,
|
||||
insideColor: galaxy3Colors.inside,
|
||||
outsideColor: galaxy3Colors.outside,
|
||||
type: 3
|
||||
}
|
||||
|
||||
export const galaxy4Params = {
|
||||
count: 100000,
|
||||
size: 0.005,
|
||||
radius: 1,
|
||||
branches: 8,
|
||||
spin: 5,
|
||||
randomness: 4,
|
||||
randomnessPower: 20,
|
||||
insideColor: galaxy4Colors.inside,
|
||||
outsideColor: galaxy4Colors.outside,
|
||||
type: 4
|
||||
}
|
||||
|
||||
let geometry = null
|
||||
let material = null
|
||||
let points = null
|
||||
|
||||
export const generateGalaxy = (params) => {
|
||||
// Destroy old galaxy
|
||||
if (points !== null) {
|
||||
geometry.dispose()
|
||||
material.dispose()
|
||||
scene.remove(points)
|
||||
}
|
||||
|
||||
/**
|
||||
* Geometry
|
||||
*/
|
||||
geometry = new THREE.BufferGeometry()
|
||||
|
||||
const positions = new Float32Array(params.count * 3)
|
||||
const colors = new Float32Array(params.count * 3)
|
||||
const colorInside = new THREE.Color(params.insideColor)
|
||||
const colorOutside = new THREE.Color(params.outsideColor)
|
||||
|
||||
// Type 1
|
||||
if (params.type === 1) {
|
||||
for (let i = 0; i < params.count; i++) {
|
||||
const i3 = i * 3
|
||||
const radius = Math.random() * params.radius
|
||||
const spinAngle = radius * params.spin
|
||||
const branchAngle = (i % params.branches) / params.branches * Math.PI * 2
|
||||
|
||||
const randomX = Math.pow(Math.random(), params.randomnessPower) * (Math.random() < 0.5 ? 1 : -1)
|
||||
const randomY = Math.pow(Math.random(), params.randomnessPower) * (Math.random() < 0.5 ? 1 : -1)
|
||||
const randomZ = Math.pow(Math.random(), params.randomnessPower) * (Math.random() < 0.5 ? 1 : -1)
|
||||
|
||||
positions[i3 + 0] = Math.cos(branchAngle + spinAngle) * radius + randomX
|
||||
positions[i3 + 1] = Math.sin(spinAngle + radius) * (radius - Math.PI * 2)
|
||||
positions[i3 + 2] = Math.sin(branchAngle + spinAngle) * radius + randomZ
|
||||
|
||||
const mixedColor = colorInside.clone()
|
||||
mixedColor.lerp(colorOutside, radius / params.radius * 1.1)
|
||||
|
||||
colors[i3 + 0] = mixedColor.r
|
||||
colors[i3 + 1] = mixedColor.g
|
||||
colors[i3 + 2] = mixedColor.b
|
||||
|
||||
|
||||
if (i < 20) {
|
||||
console.log(i, branchAngle)
|
||||
}
|
||||
}
|
||||
} else if (params.type === 2) {
|
||||
for (let i = 0; i < params.count; i++) {
|
||||
const i3 = i * 3
|
||||
const radius = Math.random() * params.radius
|
||||
const spinAngle = radius * params.spin
|
||||
const branchAngle = (i % params.branches) / params.branches * Math.PI * 2
|
||||
|
||||
const randomX = Math.pow(Math.random(), params.randomnessPower) * (Math.random() < 0.5 ? 1 : -1)
|
||||
const randomY = Math.pow(Math.random(), params.randomnessPower) * (Math.random() < 0.5 ? 1 : -1)
|
||||
const randomZ = Math.pow(Math.random(), params.randomnessPower) * (Math.random() < 0.5 ? 1 : -1)
|
||||
|
||||
positions[i3 + 0] = Math.cos(branchAngle + spinAngle) * radius + randomX
|
||||
positions[i3 + 1] = (Math.PI * 0.12) * radius + randomY
|
||||
positions[i3 + 2] = Math.sin(branchAngle + spinAngle) * radius + randomZ
|
||||
|
||||
const mixedColor = colorInside.clone()
|
||||
mixedColor.lerp(colorOutside, radius / params.radius * 1.1)
|
||||
|
||||
colors[i3 + 0] = mixedColor.r
|
||||
colors[i3 + 1] = mixedColor.g
|
||||
colors[i3 + 2] = mixedColor.b
|
||||
|
||||
|
||||
if (i < 20) {
|
||||
console.log(i, branchAngle)
|
||||
}
|
||||
}
|
||||
|
||||
} else if (params.type === 3) {
|
||||
for (let i = 0; i < params.count; i++) {
|
||||
const i3 = i * 3
|
||||
const radius = Math.random() * params.radius
|
||||
const spinAngle = radius * params.spin
|
||||
const branchAngle = (i % params.branches) / params.branches * Math.PI * 2
|
||||
|
||||
const randomX = Math.pow(Math.random(), params.randomnessPower) * (Math.random() < 0.5 ? 1 : -1)
|
||||
const randomY = Math.pow(Math.random(), params.randomnessPower) * (Math.random() < 0.5 ? 1 : -1)
|
||||
const randomZ = Math.pow(Math.random(), params.randomnessPower) * (Math.random() < 0.5 ? 1 : -1)
|
||||
|
||||
positions[i3 + 0] = Math.cos(branchAngle + spinAngle) * radius + randomX
|
||||
positions[i3 + 1] = Math.cos(spinAngle + radius) * radius + randomY
|
||||
positions[i3 + 2] = Math.sin(branchAngle + spinAngle) * radius + randomZ
|
||||
|
||||
const mixedColor = colorInside.clone()
|
||||
mixedColor.lerp(colorOutside, radius / params.radius * 1.05)
|
||||
|
||||
colors[i3 + 0] = mixedColor.r
|
||||
colors[i3 + 1] = mixedColor.g
|
||||
colors[i3 + 2] = mixedColor.b
|
||||
|
||||
|
||||
if (i < 20) {
|
||||
console.log(i, branchAngle)
|
||||
}
|
||||
}
|
||||
} else if (params.type === 4) {
|
||||
for (let i = 0; i < params.count; i++) {
|
||||
const i3 = i * 3
|
||||
const radius = Math.random() * params.radius
|
||||
const spinAngle = radius * params.spin
|
||||
const branchAngle = (i % params.branches) / params.branches * Math.PI * 2
|
||||
|
||||
const randomX = Math.pow(Math.random(), params.randomnessPower) * (Math.random() < 0.5 ? 1 : -1)
|
||||
const randomY = Math.pow(Math.random(), params.randomnessPower) * (Math.random() < 0.5 ? 1 : -1)
|
||||
const randomZ = Math.pow(Math.random(), params.randomnessPower) * (Math.random() < 0.5 ? 1 : -1)
|
||||
|
||||
positions[i3 + 0] = Math.cos(branchAngle + spinAngle) * radius + randomX
|
||||
positions[i3 + 1] = Math.sin(branchAngle - spinAngle) * radius + randomY
|
||||
positions[i3 + 2] = Math.sin(branchAngle + spinAngle) * radius + randomZ
|
||||
|
||||
const mixedColor = colorInside.clone()
|
||||
mixedColor.lerp(colorOutside, radius / params.radius * 1.5)
|
||||
|
||||
colors[i3 + 0] = mixedColor.r
|
||||
colors[i3 + 1] = mixedColor.g
|
||||
colors[i3 + 2] = mixedColor.b
|
||||
|
||||
|
||||
if (i < 20) {
|
||||
console.log(i, branchAngle)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
geometry.setAttribute(
|
||||
'position',
|
||||
new THREE.BufferAttribute(positions, 3)
|
||||
)
|
||||
|
||||
geometry.setAttribute(
|
||||
'color',
|
||||
new THREE.BufferAttribute(colors, 3)
|
||||
)
|
||||
|
||||
/**
|
||||
* Materials
|
||||
*/
|
||||
material = new THREE.PointsMaterial({
|
||||
size: params.size,
|
||||
sizeAttenuation: true,
|
||||
// depth: false,
|
||||
blending: THREE.AdditiveBlending,
|
||||
vertexColors: true
|
||||
})
|
||||
|
||||
/**
|
||||
* Points
|
||||
*/
|
||||
points = new THREE.Points(geometry, material)
|
||||
return points
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
42
src/components/dom/integrations/AirtableInstance.jsx
Normal file
@@ -0,0 +1,42 @@
|
||||
import React, { Suspense } from 'react'
|
||||
import { Box } from '@chakra-ui/react'
|
||||
import Script from 'next/script'
|
||||
export function AirtableSpeakerInstance () {
|
||||
return (
|
||||
<Suspense fallback={<Loader />}>
|
||||
<Script src="https://static.airtable.com/js/embed/embed_snippet_v1.js"></Script>
|
||||
<iframe title="Apply to MetaFest2 as a speaker" className="airtable-embed airtable-dynamic-height" src="https://airtable.com/embed/shrisi7iurIB56wNu?backgroundColor=blue" frameBorder="0" onmousewheel="" width="100%" height="3185" style={{background: 'transparent', border: '0'}}></iframe>
|
||||
</Suspense>
|
||||
)
|
||||
}
|
||||
|
||||
export function AirtableContributorInstance () {
|
||||
return (
|
||||
<Suspense fallback={<Loader />}>
|
||||
<Script src="https://static.airtable.com/js/embed/embed_snippet_v1.js"></Script>
|
||||
<iframe title="Apply to MetaFest2 as a contributor" className="airtable-embed airtable-dynamic-height" src="https://airtable.com/embed/shrIOyCiJ7QfGMt7Z?backgroundColor=blue" frameBorder="0" onmousewheel="" width="100%" height="3185" style={{background: 'transparent', border: '0'}}></iframe>
|
||||
</Suspense>
|
||||
)
|
||||
}
|
||||
|
||||
export function AirtablePerformerInstance () {
|
||||
return (
|
||||
<Suspense fallback={<Loader />}>
|
||||
<Script src="https://static.airtable.com/js/embed/embed_snippet_v1.js"></Script>
|
||||
<iframe title="Apply to MetaFest2 as a performer" className="airtable-embed airtable-dynamic-height" src="https://airtable.com/embed/shrfobHN1ngXRZ3EQ?backgroundColor=blue" frameBorder="0" onmousewheel="" width="100%" height="3185" style={{background: 'transparent', border: '0'}}></iframe>
|
||||
</Suspense>
|
||||
)
|
||||
}
|
||||
|
||||
export function AirtableSponsorInstance () {
|
||||
return (
|
||||
<Suspense fallback={<Loader />}>
|
||||
<Script src="https://static.airtable.com/js/embed/embed_snippet_v1.js"></Script>
|
||||
<iframe title="Sponsor MetaFest2" className="airtable-embed airtable-dynamic-height" src="https://airtable.com/embed/shr2kuLumbj9Wnka8?backgroundColor=blue" frameBorder="0" onmousewheel="" width="100%" height="3185" style={{background: 'transparent', border: '0'}}></iframe>
|
||||
</Suspense>
|
||||
)
|
||||
}
|
||||
|
||||
export const Loader = () => {
|
||||
return <Box position="absolute" top={0} left={0} width="100vw" height="100vh" d="flex" alignContent="center" textAlign="center">Loading...</Box>;
|
||||
};
|
||||
51
src/components/dom/integrations/CalendarInstance.jsx
Normal file
@@ -0,0 +1,51 @@
|
||||
import React, { useState } from 'react'
|
||||
import { Box } from "@chakra-ui/react";
|
||||
// import TimezonePicker from 'react-timezone'
|
||||
import styled from '@emotion/styled'
|
||||
|
||||
const InstanceContainer = styled.div`
|
||||
grid-template-rows: 1fr auto;
|
||||
li {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
|
||||
Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||
background-color: #aaaaaa;
|
||||
color: '#310C4FDD';
|
||||
}
|
||||
`
|
||||
|
||||
function CalendarInstance () {
|
||||
const [timezone, changeTimezone] = useState('Europe/London')
|
||||
return (
|
||||
<>
|
||||
<iframe
|
||||
title='MetaFest2: Schedule'
|
||||
src={`https://calendar.google.com/calendar/embed?height=600&wkst=1&bgcolor=%238E24AA&ctz=UTC&mode=AGENDA&showTabs=0&src=OWxpZWtudTVwbmVzMWw1MWVqNm4yOTE2dTBAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ&color=%23F4511E`}
|
||||
style={{
|
||||
minHeight: '500px',
|
||||
height: '100%',
|
||||
width: '100%',
|
||||
border: '0px'
|
||||
}}
|
||||
/>
|
||||
<p style={{ color: '#65CBF6', marginTop: '1rem' }}>
|
||||
All times are in UTC
|
||||
</p>
|
||||
{/* <TimezonePicker
|
||||
value={timezone}
|
||||
onChange={picktimezone => changeTimezone(picktimezone)}
|
||||
inputProps={{
|
||||
placeholder: 'Select your Timezone...',
|
||||
name: 'picktimezone'
|
||||
}}
|
||||
style={{
|
||||
position: 'relative',
|
||||
left: 0,
|
||||
marginRight: 'auto',
|
||||
width: '70%'
|
||||
}}
|
||||
/> */}
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
export default CalendarInstance
|
||||
12
src/components/dom/integrations/ChatInstance.jsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import React from 'react'
|
||||
import WidgetBot from '@widgetbot/react-embed'
|
||||
|
||||
export default function ChatInstance () {
|
||||
return (
|
||||
<WidgetBot
|
||||
server='629411177947987986'
|
||||
channel='629411178837442601'
|
||||
style={{ height: '100%', width: '100%', border: '0px' }}
|
||||
/>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
import React from 'react'
|
||||
import './crawltextInstance.css'
|
||||
|
||||
const Crawl = () => {
|
||||
return (
|
||||
<section className='star-warsI' >
|
||||
<div className=''>
|
||||
<div className=''>
|
||||
<h1>METAFEST ... Manifest the Future</h1>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Besides having fun, the main purpose of everything we’re doing at
|
||||
MetaGame is to help people level up then help us build a new kind of
|
||||
socioeconomic system.
|
||||
</p>
|
||||
<p>
|
||||
One based around providing for human needs & solving problems rather
|
||||
than squeezing the world for ever more profit. Therefore, the talks
|
||||
& workshops will generally be about technologies of the future
|
||||
without leaving out the weird fringes.
|
||||
</p>
|
||||
<h1>Week I</h1>
|
||||
<p>
|
||||
Starting with a week of socializing through things like multiplayer
|
||||
games & speed dating.
|
||||
</p>
|
||||
<h1>Week II</h1>
|
||||
<p>
|
||||
Continuing with a week of talks from metagamers as well as from
|
||||
wider crypto & way outside of crypto.
|
||||
</p>
|
||||
<h1>Week III</h1>
|
||||
<p>
|
||||
Leading up to the launch of Season2 of MetaGame with a concert,
|
||||
going into days of workshops.
|
||||
</p>
|
||||
<h1>Week IV</h1>
|
||||
<p>
|
||||
And finally, culminating in a week & a half of hacking things
|
||||
together.
|
||||
</p>
|
||||
<p>So...</p>
|
||||
<p>
|
||||
Want to do a talk? Run a workshop? Lead a multiplayer game session?
|
||||
Help us manifest MetaFest? Something else entirely?
|
||||
</p>
|
||||
<h1>Yes, I do.</h1>
|
||||
</div>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
||||
export default Crawl
|
||||
@@ -0,0 +1,35 @@
|
||||
/* body {
|
||||
overflow: scroll;
|
||||
} */
|
||||
|
||||
.star-warsI {
|
||||
margin: 1.5rem;
|
||||
display: flex;
|
||||
text-align: left;
|
||||
color: #FED141;
|
||||
font-family: 'NexaRustSans-Black', sans-serif;
|
||||
font-size: 1rem;
|
||||
font-weight: 00;
|
||||
height: 80%;
|
||||
}
|
||||
|
||||
.crawlI {
|
||||
position: relative;
|
||||
transform-origin: 50% 100%;
|
||||
animation: crawl 130s linear;
|
||||
}
|
||||
|
||||
.crawlI > .title {
|
||||
font-size: 90%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
@keyframes crawlI {
|
||||
0% {
|
||||
top: '0%';
|
||||
}
|
||||
100% {
|
||||
top: '100%';
|
||||
}
|
||||
}
|
||||
22
src/components/dom/integrations/CryptovoxelsInstance.jsx
Normal file
@@ -0,0 +1,22 @@
|
||||
import React from 'react'
|
||||
|
||||
export const CryptovoxelsHQInstance = () => {
|
||||
return (
|
||||
<iframe
|
||||
title='Metafest2 HQ'
|
||||
src='https://cryptovoxels.com/play?coords=S@379E,115S'
|
||||
style={{ height: '100%', width: '100%', border: '0px' }}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
export const CryptovoxelsJobFairInstance = () => {
|
||||
return (
|
||||
<iframe
|
||||
title='Metafest2: Web3 Job Fair'
|
||||
src='https://www.cryptovoxels.com/play?coords=E@399E,93S,7.5F'
|
||||
style={{ height: '100%', width: '100%', border: '0px' }}
|
||||
/>
|
||||
)
|
||||
}
|
||||
16
src/components/dom/integrations/HubInstance.jsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import React from 'react'
|
||||
|
||||
function HubInstance ({ width, height, roomData }) {
|
||||
return (
|
||||
<iframe
|
||||
title='Mozilla hub conference room'
|
||||
width={width}
|
||||
height={height}
|
||||
frameBorder='0'
|
||||
src={roomData.embedUrl}
|
||||
allow='microphone; camera; vr; speaker;'
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
export default HubInstance
|
||||
28
src/components/dom/integrations/JitsiInstance.jsx
Normal file
@@ -0,0 +1,28 @@
|
||||
import React, { useRef, useEffect } from 'react';
|
||||
// import * as JitsiMeetExternalAPI from "../dist/jitsi";
|
||||
|
||||
const JitsiMeetExternalAPI = window.JitsiMeetExternalAPI;
|
||||
|
||||
const JitsiInstance = ({ width, height, roomData }) => {
|
||||
const root = useRef(null);
|
||||
|
||||
useEffect(() => {
|
||||
const options = {
|
||||
roomName: roomData.roomName,
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
parentNode: root.current,
|
||||
};
|
||||
const api = new JitsiMeetExternalAPI(roomData.domain, options);
|
||||
|
||||
// api.executeCommand("displayName", user);
|
||||
|
||||
return function cleanup() {
|
||||
api.dispose();
|
||||
};
|
||||
}, [roomData, width, height]);
|
||||
|
||||
return <div ref={root} style={{height: '100%'}}></div>;
|
||||
};
|
||||
|
||||
export default JitsiInstance;
|
||||
12
src/components/dom/integrations/LoftRadioInstance.jsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import React from "react";
|
||||
|
||||
function LoftRadioInstance() {
|
||||
return (
|
||||
<iframe
|
||||
title="Interspace loft.radio" src="https://loft.radio/"
|
||||
style={{height: '100%', width: '100%', border: '0px'}}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
export default LoftRadioInstance;
|
||||
72
src/components/dom/integrations/NftInstance.jsx
Normal file
@@ -0,0 +1,72 @@
|
||||
import React from 'react'
|
||||
import styled from '@emotion/styled'
|
||||
|
||||
const Container = styled.div`
|
||||
grid-template-columns: 1fr;
|
||||
place-items: center;
|
||||
border-radius: 10px;
|
||||
margin: 1rem;
|
||||
padding: 1rem;
|
||||
|
||||
p {
|
||||
padding: 0.5rem;
|
||||
margin: 0px;
|
||||
}
|
||||
a {
|
||||
padding: 0px;
|
||||
}
|
||||
`
|
||||
|
||||
const ExternalLink = styled.p`
|
||||
:hover {
|
||||
color: #bd96e9;
|
||||
text-shadow: rgba(189,150,233,0.9) 0px 0px 16px;
|
||||
}
|
||||
`
|
||||
|
||||
class Soon extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<span style={{ color: 'yellow', fontSize: '0.8rem' }}>{" "}check back soon™</span>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
const NftInstance = () => {
|
||||
const openInNewTab = url => {
|
||||
let win = window.open(url, '_blank')
|
||||
win.focus()
|
||||
}
|
||||
return (
|
||||
<Container>
|
||||
<h1>NFTs</h1>
|
||||
<p>
|
||||
The cat is out of the bag and NFTs are all the rage these days. <br />
|
||||
Means we can’t let you leave MetaFest without claiming some 🙃
|
||||
</p>
|
||||
<p>
|
||||
POAP<Soon /><br />
|
||||
Claim your proof-of-attendance NFTs here
|
||||
</p>
|
||||
<ExternalLink className="click-zone"
|
||||
onClick={() => openInNewTab('https://www.cryptovoxels.com/play?coords=SE@379E,124S')}>
|
||||
Scavenger Hunt<br />
|
||||
Come solve a puzzle & claim an achievement NFT
|
||||
</ExternalLink>
|
||||
<ExternalLink className="click-zone"
|
||||
onClick={() => openInNewTab('https://gitcoin.co/grants/213/metagame')}>
|
||||
Donate<br />
|
||||
Donate to our Gitcoin grant & get an achievement NFT
|
||||
</ExternalLink>
|
||||
<p>
|
||||
Raffle<Soon /><br />
|
||||
Buy an NFT to enter raffle & become a Patron of MetaGame
|
||||
</p>
|
||||
<p>
|
||||
Auction<Soon /><br />
|
||||
Enter a charity NFT auction and get a 1on1 with anyone from MetaFam
|
||||
</p>
|
||||
</Container>);
|
||||
}
|
||||
|
||||
export default NftInstance;
|
||||
13
src/components/dom/integrations/RTreesInstance.jsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import React from "react";
|
||||
|
||||
function RTreesInstance({backgroundColor}) {
|
||||
return (
|
||||
<iframe
|
||||
title="Interspace rTrees"
|
||||
src="https://rtrees.dappy.dev/"
|
||||
style={{height: '100%', width: '100%', border: '0px', backgroundColor: `${backgroundColor}`}}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
export default RTreesInstance;
|
||||
13
src/components/dom/integrations/StartMetagameInstance.jsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import React from 'react'
|
||||
|
||||
function StartMetagameInstance () {
|
||||
return (
|
||||
<iframe
|
||||
title='Start Your Game'
|
||||
src='https://wiki.metagame.wtf/'
|
||||
style={{ height: '100%', width: '100%', border: '0px' }}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
export default StartMetagameInstance
|
||||
35
src/components/dom/integrations/TitanEmbedsInstance.jsx
Normal file
@@ -0,0 +1,35 @@
|
||||
import React, { useState, useEffect, useContext } from 'react'
|
||||
import { FloatingSpaceContext } from '../../contexts/FloatingSpaceContext'
|
||||
|
||||
function ChatInstance () {
|
||||
const [discordRoom, setDiscordRoom] = useState('692409996083855501')
|
||||
const { currentFloatingSpaces } = useContext(FloatingSpaceContext)
|
||||
const space = currentFloatingSpaces
|
||||
|
||||
useEffect(() => {
|
||||
if (space.indexOf('main-room') > -1) {
|
||||
setDiscordRoom('692423172020240444')
|
||||
} else if (space.indexOf('lobby') > -1) {
|
||||
setDiscordRoom('692423341046366208')
|
||||
} else if (space.indexOf('mentor-ring') > -1) {
|
||||
setDiscordRoom('692423431777681488')
|
||||
} else if (space.indexOf('claim poap token') > -1) {
|
||||
setDiscordRoom('693135339249991701')
|
||||
} else {
|
||||
setDiscordRoom('692409996083855501')
|
||||
}
|
||||
return console.log(discordRoom)
|
||||
}, [space, discordRoom])
|
||||
|
||||
return (
|
||||
<iframe
|
||||
src={`https://titanembeds.com/embed/690315811293888778?css=85&defaultchannel=${discordRoom}&theme=DiscordDark`}
|
||||
width='100%'
|
||||
height='100%'
|
||||
frameBorder='0'
|
||||
title='discord chat'
|
||||
></iframe>
|
||||
)
|
||||
}
|
||||
|
||||
export default ChatInstance
|
||||
13
src/components/dom/integrations/TypeformInstance.jsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import React from 'react'
|
||||
|
||||
function TypeformInstance () {
|
||||
return (
|
||||
<iframe
|
||||
title='Apply for Metafest'
|
||||
src='https://form.typeform.com/to/BClVBF4E'
|
||||
style={{ height: '100%', width: '100%', border: '0px' }}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
export default TypeformInstance
|
||||
13
src/components/dom/integrations/WikiInstance.jsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import React from 'react'
|
||||
|
||||
function WikiInstance () {
|
||||
return (
|
||||
<iframe
|
||||
title='Metagame Wiki'
|
||||
src='https://wiki.metagame.wtf'
|
||||
style={{ height: '100%', width: '100%', border: '0px' }}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
export default WikiInstance
|
||||
91
src/components/dom/integrations/WorkshopInstance.jsx
Normal file
@@ -0,0 +1,91 @@
|
||||
import React, { useContext } from 'react'
|
||||
import styled from '@emotion/styled'
|
||||
import { FloatingSpaceContext } from '../../contexts/FloatingSpaceContext'
|
||||
|
||||
const Container = styled.div`
|
||||
grid-template-columns: 1fr;
|
||||
place-items: center;
|
||||
border-radius: 10px;
|
||||
margin: 1rem;
|
||||
padding: 1rem;
|
||||
text-align: center;
|
||||
|
||||
h1 {
|
||||
padding-bottom: 0.3rem;
|
||||
}
|
||||
|
||||
p {
|
||||
strong {
|
||||
color: yellow;
|
||||
}
|
||||
}
|
||||
a {
|
||||
padding: 0px;
|
||||
}
|
||||
`
|
||||
const Highlight = styled.p`
|
||||
color: #49c8f4;
|
||||
`
|
||||
|
||||
const ExternalLink = styled.p`
|
||||
:hover {
|
||||
color: #bd96e9;
|
||||
text-shadow: rgba(189, 150, 233, 0.9) 0px 0px 16px;
|
||||
}
|
||||
`
|
||||
|
||||
class Soon extends React.Component {
|
||||
render () {
|
||||
return (
|
||||
<span style={{ color: 'yellow', fontSize: '0.8rem' }}>
|
||||
{' '}
|
||||
check back soon™
|
||||
</span>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
const WorkshopInstance = () => {
|
||||
const { addFloatingSpace } = useContext(FloatingSpaceContext)
|
||||
|
||||
const openInNewTab = url => {
|
||||
let win = window.open(url, '_blank')
|
||||
win.focus()
|
||||
}
|
||||
|
||||
return (
|
||||
<Container>
|
||||
<h1>Workshops</h1>
|
||||
<p>Welcome to a week of nice workshops</p>
|
||||
<br />
|
||||
<Highlight>When and What?</Highlight>
|
||||
<p>
|
||||
Please check the{' '}
|
||||
<span
|
||||
style={{ color: 'yellow' }}
|
||||
className='click-zone'
|
||||
onClick={() => addFloatingSpace('Calendar')}
|
||||
>
|
||||
Schedule
|
||||
</span>
|
||||
for details.
|
||||
</p>
|
||||
<br />
|
||||
<Highlight>Where?</Highlight>
|
||||
<p>
|
||||
All workshops happen in Metagame Discord #metafest-voice,
|
||||
<br /> no reservation required.
|
||||
</p>
|
||||
<br />
|
||||
<br />
|
||||
<Highlight>Quest!</Highlight>
|
||||
<p>
|
||||
We are <strong>looking for community members</strong> to record <br />
|
||||
the workshops to later upload them to youtube. <br />
|
||||
Please have a look at #metafest-ops to sign up for this quest.
|
||||
</p>
|
||||
</Container>
|
||||
)
|
||||
}
|
||||
|
||||
export default WorkshopInstance
|
||||
30
src/components/dom/integrations/YoutubeInstance.jsx
Normal file
@@ -0,0 +1,30 @@
|
||||
import React, { useState, useEffect, useContext } from 'react'
|
||||
import { FloatingSpaceContext } from '../../contexts/FloatingSpaceContext'
|
||||
|
||||
function YoutubeInstance ({ roomData }) {
|
||||
const [youtubeRoom, setYoutubeRoom] = useState('hvH17490YkY')
|
||||
const { currentFloatingSpaces } = useContext(FloatingSpaceContext)
|
||||
const space = currentFloatingSpaces
|
||||
|
||||
useEffect(() => {
|
||||
if (space.indexOf('stage') > -1) {
|
||||
setYoutubeRoom('hvH17490YkY')
|
||||
} else {
|
||||
setYoutubeRoom('hvH17490YkY')
|
||||
}
|
||||
return console.log(youtubeRoom)
|
||||
}, [space, youtubeRoom])
|
||||
return (
|
||||
<iframe
|
||||
title='Youtube Livestream'
|
||||
width='100%'
|
||||
height='100%'
|
||||
src={`https://www.youtube-nocookie.com/embed/${youtubeRoom}`}
|
||||
frameBorder='0'
|
||||
allow='accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture'
|
||||
allowFullScreen
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
export default YoutubeInstance
|
||||
80
src/components/dom/models.jsx
Normal file
@@ -0,0 +1,80 @@
|
||||
import * as THREE from 'three'
|
||||
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js'
|
||||
import * as dat from 'lil-gui'
|
||||
import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader'
|
||||
import { DRACOLoader } from 'three/examples/jsm/loaders/DRACOLoader.js'
|
||||
|
||||
/**
|
||||
* Base
|
||||
*/
|
||||
// Debug
|
||||
const debug = new dat.GUI()
|
||||
/**
|
||||
* Models
|
||||
*/
|
||||
|
||||
// Octo
|
||||
// Loaders
|
||||
const dracoLoader = new DRACOLoader()
|
||||
const gltfLoader = new GLTFLoader()
|
||||
|
||||
// Animation mixer
|
||||
let mixer = null
|
||||
|
||||
dracoLoader.setDecoderPath('/draco/')
|
||||
gltfLoader.setDRACOLoader(dracoLoader)
|
||||
gltfLoader.load(
|
||||
'/models/OCT_02_fileEXPS.gltf',
|
||||
(gltf) => {
|
||||
console.log(gltf)
|
||||
|
||||
// Create new mixer
|
||||
mixer = new THREE.AnimationMixer(gltf.scene)
|
||||
const action = mixer.clipAction(gltf.animations)
|
||||
action.play()
|
||||
|
||||
// Set the scale
|
||||
gltf.scene.scale.set(0.25, 0.25, 0.25)
|
||||
|
||||
},
|
||||
(progress) => {
|
||||
console.log('Progress: ', progress);
|
||||
},
|
||||
(error) => {
|
||||
console.log('Error: ', error);
|
||||
}
|
||||
)
|
||||
// export const octo = () => {
|
||||
|
||||
|
||||
// /**
|
||||
// * Animate
|
||||
// */
|
||||
// const clock = new THREE.Clock()
|
||||
// let previousTime = 0
|
||||
|
||||
// const tick = () =>
|
||||
// {
|
||||
// const elapsedTime = clock.getElapsedTime()
|
||||
// const deltaTime = elapsedTime - previousTime
|
||||
// previousTime = elapsedTime
|
||||
|
||||
// // Update animations mixer
|
||||
// if (mixer) {
|
||||
// mixer.update(deltaTime)
|
||||
// }
|
||||
|
||||
// // Update controls
|
||||
// // controls.update()
|
||||
|
||||
// // Render
|
||||
// // renderer.render(scene, camera)
|
||||
|
||||
// // Call tick again on the next frame
|
||||
// window.requestAnimationFrame(tick)
|
||||
// }
|
||||
// tick()
|
||||
// return gltf
|
||||
|
||||
// }
|
||||
|
||||