first update
This commit is contained in:
parent
40f6d6b8c4
commit
d8dc7a1605
41
.github/workflows/gh-pages.yml
vendored
Normal file
41
.github/workflows/gh-pages.yml
vendored
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
name: github pages
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
env:
|
||||||
|
GITEA_MAIL: ${{ secrets.GITEA_MAIL }}
|
||||||
|
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 18
|
||||||
|
ref: main
|
||||||
|
submodules: true
|
||||||
|
fetch-depth: 0
|
||||||
|
- run: |
|
||||||
|
yarn install
|
||||||
|
rm -rf dist/vrma
|
||||||
|
git clone https://${GITEA_TOKEN}@git.syui.ai/ai/vrma dist/vrma
|
||||||
|
rm -rf dist/vrma/.git
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
env:
|
||||||
|
TZ: "Asia/Tokyo"
|
||||||
|
run: |
|
||||||
|
yarn build
|
||||||
|
|
||||||
|
- name: Deploy
|
||||||
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
publish_dir: ./dist
|
||||||
|
user_name: 'ai[bot]'
|
||||||
|
user_email: '138105980+yui-syui-ai[bot]@users.noreply.github.com'
|
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
node_modules
|
||||||
|
package-lock.json
|
||||||
|
example
|
||||||
|
yarn.lock
|
||||||
|
**DS_Store
|
||||||
|
dist/*.js
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[submodule "dist/vrma"]
|
||||||
|
path = dist/vrma
|
||||||
|
url = git@git.syui.ai:ai/vrma
|
30
README.md
30
README.md
@ -1,6 +1,30 @@
|
|||||||
|
# vrm
|
||||||
|
|
||||||
|
three-vrm + vrma
|
||||||
|
|
||||||
|
## vrm & vrma
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ npm i
|
$ git submodule update --init --recursive
|
||||||
$ npm run dev
|
|
||||||
$ npm run build
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
|
- vrm : [download](https://hub.vroid.com/characters/675572020956181239/models/7175071267176594918)
|
||||||
|
- vrma : [download](https://vroid.booth.pm/items/5512385)
|
||||||
|
|
||||||
|
> ./dist/vrma
|
||||||
|
|
||||||
|
```js
|
||||||
|
load("/vrma/model.vrm");
|
||||||
|
load("/vrma/VRMA_01.vrma");
|
||||||
|
```
|
||||||
|
|
||||||
|
## build
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ yarn install
|
||||||
|
$ yarn dev
|
||||||
|
$ yarn build
|
||||||
|
```
|
||||||
|
|
||||||
|
1
dist/CNAME
vendored
Normal file
1
dist/CNAME
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
vrm.syui.ai
|
72
dist/css/icomoon/css/icomoon.css
vendored
Normal file
72
dist/css/icomoon/css/icomoon.css
vendored
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
@font-face {
|
||||||
|
font-family: 'icomoon';
|
||||||
|
src: url('../fonts/icomoon.eot?czi5du');
|
||||||
|
src: url('../fonts/icomoon.eot?czi5du#iefix') format('embedded-opentype'),
|
||||||
|
url('../fonts/icomoon.ttf?czi5du') format('truetype'),
|
||||||
|
url('../fonts/icomoon.woff?czi5du') format('woff'),
|
||||||
|
url('../fonts/icomoon.svg?czi5du#icomoon') format('svg');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
[class^="icon-"], [class*=" icon-"] {
|
||||||
|
/* use !important to prevent issues with browser extensions that change fonts */
|
||||||
|
font-family: 'icomoon' !important;
|
||||||
|
speak: never;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
font-variant: normal;
|
||||||
|
text-transform: none;
|
||||||
|
line-height: 1;
|
||||||
|
|
||||||
|
/* Better Font Rendering =========== */
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-ai:before {
|
||||||
|
content: "\e908";
|
||||||
|
}
|
||||||
|
.icon-robot:before {
|
||||||
|
content: "\e909";
|
||||||
|
}
|
||||||
|
.icon-api:before {
|
||||||
|
content: "\e90e";
|
||||||
|
}
|
||||||
|
.icon-sandar:before {
|
||||||
|
content: "\e90a";
|
||||||
|
}
|
||||||
|
.icon-moon:before {
|
||||||
|
content: "\e90b";
|
||||||
|
}
|
||||||
|
.icon-home:before {
|
||||||
|
content: "\e90c";
|
||||||
|
}
|
||||||
|
.icon-cloud:before {
|
||||||
|
content: "\e90d";
|
||||||
|
}
|
||||||
|
.icon-phoenix:before {
|
||||||
|
content: "\e906";
|
||||||
|
}
|
||||||
|
.icon-honeycomb:before {
|
||||||
|
content: "\e907";
|
||||||
|
}
|
||||||
|
.icon-phoenix-power:before {
|
||||||
|
content: "\e903";
|
||||||
|
}
|
||||||
|
.icon-phoenix-world:before {
|
||||||
|
content: "\e904";
|
||||||
|
}
|
||||||
|
.icon-power:before {
|
||||||
|
content: "\e905";
|
||||||
|
}
|
||||||
|
.icon-syui:before {
|
||||||
|
content: "\e902";
|
||||||
|
}
|
||||||
|
.icon-archlinux:before {
|
||||||
|
content: "\e900";
|
||||||
|
}
|
||||||
|
.icon-archlinuxjp:before {
|
||||||
|
content: "\e901";
|
||||||
|
}
|
BIN
dist/css/icomoon/fonts/icomoon.eot
vendored
Normal file
BIN
dist/css/icomoon/fonts/icomoon.eot
vendored
Normal file
Binary file not shown.
25
dist/css/icomoon/fonts/icomoon.svg
vendored
Normal file
25
dist/css/icomoon/fonts/icomoon.svg
vendored
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
<?xml version="1.0" standalone="no"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<metadata>Generated by IcoMoon</metadata>
|
||||||
|
<defs>
|
||||||
|
<font id="icomoon" horiz-adv-x="1024">
|
||||||
|
<font-face units-per-em="1024" ascent="960" descent="-64" />
|
||||||
|
<missing-glyph horiz-adv-x="1024" />
|
||||||
|
<glyph unicode=" " horiz-adv-x="512" d="" />
|
||||||
|
<glyph unicode="" glyph-name="archlinux" d="M507.392 948.651c-49.152-122.624-78.421-192.683-104.363-249.344-7.68-16.896-14.251-31.232-14.507-31.915-0.597-1.365 41.472-43.435 57.344-57.344 21.419-18.859 40.277-33.963 61.184-49.067 6.144-4.437 10.923-8.021 10.667-8.021-1.707 0-28.757 12.288-47.957 21.76-38.144 18.859-62.464 33.792-88.576 54.443-4.096 3.243-7.68 5.717-7.936 5.547-0.171-0.256-7.253-14.421-15.616-31.488-65.28-133.376-165.12-320.341-322.816-604.416-18.688-33.707-33.877-61.44-33.707-61.696 0.171-0.171 13.141 6.912 28.843 15.787 151.979 85.931 263.424 133.291 362.325 153.856 6.912 1.451 12.715 2.731 12.885 2.816 0.085 0.171-0.512 3.84-1.451 8.277-11.179 54.613-6.059 115.2 13.909 163.157 16.469 39.765 43.349 68.779 72.192 78.080 9.557 3.072 15.616 3.84 26.283 3.328 15.445-0.683 27.051-4.693 40.704-13.824 32.597-21.931 56.917-64.939 67.755-119.893 3.413-17.237 4.437-27.563 4.949-50.773 0.427-23.723-0.512-38.741-3.584-56.064-2.645-14.677-2.731-13.227 0.512-13.909 53.931-11.093 104.363-27.307 167.339-53.76 52.309-22.016 129.28-60.928 203.691-103.168 13.824-7.765 25.259-14.080 25.429-13.909 0.341 0.427-84.309 156.928-85.931 158.976-1.28 1.451-46.080 37.461-61.013 49.067-29.269 22.528-62.635 44.203-98.133 63.659-8.875 4.949-15.445 8.704-14.507 8.448 33.792-8.533 74.24-22.613 102.315-35.584 9.984-4.693 28.757-14.507 33.621-17.664 1.024-0.683 1.877-1.024 1.877-0.768 0 0.171-19.456 36.864-43.179 81.323-66.475 124.587-134.997 256-170.155 326.315-54.699 109.397-86.869 179.712-145.92 318.891-16.213 38.144-29.611 69.376-29.867 69.376s-2.304-4.693-4.608-10.496z" />
|
||||||
|
<glyph unicode="" glyph-name="archlinuxjp" d="M335 843.8c-96.8-56-193.8-111.8-215.4-124.2l-39.4-22.6v-498l431.8-248.8 431.8 248.8v498l-95.4 54.8c-52.4 30.2-147.6 85-211.4 121.8s-118.2 68-121 69.4c-4.8 2.2-15.4-3.6-181-99.2zM520.6 753.6c6-14 11.2-26.2 29.4-68.6 4-9.4 12.6-28.6 16-36 2.2-4.4 8-17 13.2-28 17.2-36.8 64.8-131 89-176.4 4.4-8 11.2-21.2 15.6-29 4.2-8 12.4-23.6 18.2-34.6s13.2-24.8 16.4-30.6c3.2-6 5.4-11.2 4.8-11.8s-8.6 2.2-17.6 6.4c-15 7-41.6 17.2-41.6 16 0-0.2 5.6-3.8 12.6-8.2 21-13 64-45.6 68.4-52.4 1.4-1.8 7.2-12.4 13-23.4 11.6-22 18.2-34 27.8-51.4 3.6-6.6 5.4-11.6 4-11.6-1.2 0-10.4 4.6-20.6 10.4-55.8 31.4-107 55.4-148.2 69.2-14.4 4.8-40.4 12-46 13-2.8 0.4-3.8 1.8-3.4 4.4 0.4 2.2 1.2 13.4 1.8 25 2.4 47.2-15.6 89.6-44.4 104.6-15.4 7.8-35 3.2-49.2-12-10-10.6-14.6-19-20.8-37.6-4.6-13.6-5.6-19.6-5.8-40 0-13.2 0.2-28.4 0.8-34 1-9.4 0.8-10-4-10.6-6.4-0.8-31.6-7.6-47-12.8-42-14.2-92.4-37.8-148.2-69.2-21.6-12.2-24.6-12.8-19.2-3.8 2.2 3.4 6.8 11.8 10.4 18.4 14.6 27 18.8 34.6 27 49 4.6 8.2 12.2 22.2 17 31s12 21.8 16 29c4 7.2 11.8 21.2 17 31 5.2 10 12 22.6 15 28 17.8 32.2 38.2 71 65.6 125 17 33.6 31.6 61.8 32.4 62.6s5.8-2 11.2-6.2c5.4-4.4 12.6-9.4 15.8-11.2 3.4-1.8 9.2-5.2 13-7.6 3.8-2.2 10.2-5.4 14-7 6.8-2.6 6.6-2.6-3 5.8-16.4 14-43 40.2-43 42.2 0 1 5 13.2 11.2 27.2 6.2 13.8 14.4 32.8 18.2 42.2 3.6 9.4 8 19.8 9.6 23.4 1.6 3.4 3 6.8 3 7.4s1.8 5 4 9.8c3.2 7 10.2 24.4 18.2 45 1 2.4 2.4 4.4 3.4 4.4s5-7.4 9-16.4z" />
|
||||||
|
<glyph unicode="" glyph-name="syui" d="M748.617 851.017c-3.291-3.657-8.777-13.166-12.069-20.846l-6.217-14.629-4.023 14.263c-2.194 8.046-5.851 14.994-8.046 15.726s-6.949-6.583-10.606-16.091c-8.046-21.577-25.6-53.394-32.914-59.611-4.754-4.023-5.12-2.926-2.926 7.68 2.194 11.703 1.829 12.069-4.754 7.314-3.657-2.926-14.629-12.8-23.771-21.577l-16.823-16.091-25.234 8.046c-34.011 10.971-115.566 14.263-153.6 6.217-61.806-13.166-114.103-42.057-160.549-88.503-64-64-93.257-134.217-93.257-224.914 0-62.903 12.8-110.080 43.154-162.011 9.874-17.554 11.703-22.309 7.68-24.869-2.926-1.463-11.703-7.68-19.749-13.897s-28.526-21.211-45.349-33.28c-32.549-23.040-32.914-31.451-0.731-9.143 35.84 24.503 27.063 10.971-10.24-15.36-13.166-9.874-37.303-24.503-53.394-32.914-28.16-14.994-28.891-17.189-5.486-16.091 8.777 0.366 8.411 0-4.754-11.703-16.457-14.994-17.189-18.651-2.926-16.091 6.583 1.463 11.337 0.731 12.069-1.829 1.097-2.56 5.12-1.829 12.8 2.194 16.823 8.411 17.189 7.314 1.829-6.949-10.24-9.509-12.069-12.8-6.949-12.8 3.657 0 11.703 2.56 18.286 6.217 11.337 5.486 11.337 5.486 6.217-0.731s-5.12-6.217 6.583-0.366c11.337 5.851 12.069 5.851 10.971 0-0.731-5.12 1.829-6.583 10.606-7.314 8.411-0.366 15.726 2.56 25.6 11.337 12.069 9.874 15.36 11.337 24.869 8.411 8.411-2.194 11.703-1.463 14.629 3.291 2.194 3.291 7.68 10.606 12.8 16.457 8.411 9.509 10.24 10.24 20.846 6.583 9.143-3.291 13.531-2.926 22.674 1.463 5.851 3.291 12.069 7.314 13.166 9.509 1.097 1.829 5.486 3.657 9.143 3.657s11.703 4.023 17.554 9.143c13.531 11.337 14.263 11.337 36.937-0.366 78.263-39.131 172.983-43.154 254.903-10.24 43.52 17.189 74.606 38.034 109.349 72.777 63.269 63.269 94.354 137.509 94.354 224.914 0 59.611-13.897 110.080-44.983 163.474-11.703 20.48-13.166 25.234-10.971 38.034 1.463 8.046 6.217 18.286 10.606 23.040 4.754 5.12 7.68 12.8 7.68 21.211s2.194 13.897 5.486 15.36c9.143 3.291 6.949 19.383-3.657 21.943-11.337 2.926-8.777 11.337 5.851 19.017 9.143 4.389 10.24 6.949 8.411 15.36-1.463 5.486-4.023 11.703-5.851 13.897-1.829 2.56-0.731 5.851 2.56 8.777 6.583 5.486 7.314 12.434 1.097 8.411-2.56-1.463-1.829 1.829 1.829 7.68 8.777 13.166 5.12 16.457-8.777 8.777-10.24-5.851-10.606-5.851-7.68 0 4.389 8.411 5.12 37.303 1.097 37.303-1.463 0-7.314-6.217-12.434-13.531-12.069-17.189-28.16-36.571-28.16-33.646 0 1.097 2.56 7.314 5.851 13.531 3.657 7.68 4.754 15.726 2.926 24.503-2.926 15.726-6.217 18.286-13.531 9.874zM560.64 698.88c13.531-2.56 25.6-5.851 27.063-6.949 5.12-5.486-25.234-56.686-49.371-83.017-13.531-14.994-31.817-37.669-40.229-49.737-15.36-22.674-34.377-41.691-42.057-41.691-2.56 0-17.92 1.829-34.377 4.023-28.891 4.389-30.72 4.023-49.371-5.12-10.606-5.12-23.406-10.606-28.526-12.069-35.84-9.874-59.246-23.406-40.594-23.406 4.023 0 8.046-1.463 9.143-3.291 1.097-1.463 11.703-4.023 23.771-5.486 14.263-1.463 25.966-5.486 34.011-11.337 6.583-5.12 15.726-10.971 20.48-13.166 4.389-2.56 8.046-6.583 8.046-9.143 0-10.24-38.034-60.343-70.583-92.16l-34.011-34.011-13.531 28.891c-33.28 70.949-32.183 147.749 3.291 220.16 14.263 28.891 22.674 40.229 48.64 66.194s37.303 34.377 66.194 48.64c52.663 25.966 106.423 33.646 162.011 22.674zM746.423 549.303c9.143-20.114 21.577-68.754 21.577-85.211 0-4.023-9.509-5.12-49.737-5.12-48.274 0-50.103 0.366-58.149 8.777l-8.411 9.143 8.046 7.314c4.389 4.389 11.337 7.68 15.36 7.68 9.509 0 16.091 6.583 16.091 16.091 0 4.023 4.389 12.069 9.874 17.554 6.217 6.583 10.24 14.994 10.606 22.309 0.731 10.606 12.069 24.503 20.48 24.503 1.829 0 8.046-10.606 14.263-23.040zM608.914 378.88c4.023-3.657 14.629-10.24 23.771-14.629 9.143-4.023 23.771-11.703 32.549-16.823 16.457-9.509 45.349-12.434 49.737-5.486 3.291 5.486 27.429 4.754 27.429-0.731 0-11.703-25.6-47.543-53.029-74.606-24.137-24.137-36.571-32.914-64.366-46.811-62.537-30.72-133.12-36.206-192.366-14.629-13.897 5.12-15.36 6.583-11.703 12.8 1.829 4.023 11.337 12.069 20.846 17.92 17.554 10.606 54.126 47.177 65.463 65.097 8.411 12.8 12.069 15.36 23.771 15.36 5.486 0 11.703 2.194 13.897 4.754 16.823 19.749 25.6 34.011 25.6 41.326 0 4.754 1.829 12.8 4.389 17.92 3.657 8.411 5.851 9.509 15.36 7.68 6.217-1.463 14.263-5.486 18.651-9.143z" />
|
||||||
|
<glyph unicode="" glyph-name="phoenix-power" d="M730.4 865.2c-2.2-2.8-6.4-11-9.4-18.2l-5.6-13.2-3 8.6c-1.6 4.8-4.6 11.2-6.8 14.2-5.2 7.2-8 5-13.6-10.2-7-18.6-23.6-49.4-31.2-57.6-4.2-4.6-6.6-6.2-5.6-3.8 3.2 9 3.4 17 0.2 17-4.6 0-27.8-21-42.6-38.4-13-15.4-15.4-17.4-17.8-13.8-0.6 1.2-3.6 3.2-6.6 4.8-3 1.4-9.8 5.2-15.4 8.4-5.4 3.2-12.8 7.2-16.4 9.2-3.4 2-10 5.8-14.4 8.6-4.4 3-8.6 5.2-9 5.2-0.6 0-5.4 2.8-11 6.2l-10.2 6.4-10.2-6.4c-5.6-3.4-10.4-6.2-11-6.2s-5.6-3-11.4-6.6c-5.8-3.6-13.6-8.2-17.4-10-3.8-2-10.6-5.8-15-8.6-4.4-2.6-9.8-5.8-12-6.8-2.2-1.2-7.6-4.2-12-7s-9.8-6-12-7.2c-2.2-1-5.8-3-8-4.4s-10.2-6-18-10.4c-7.6-4.4-15.6-8.8-17.4-10-1.8-1-12.6-7.4-24-14-11.2-6.6-22.4-13-24.6-14.4s-5.4-3.2-7-4c-1.6-0.8-18.2-10.2-37-21.2-18.6-10.8-38.4-22.4-44-25.4-5.4-3-13-7.2-16.4-9.2l-6.6-3.8v-175.4c0-139.2 0.6-175.6 2.6-175.6 3.4-0.2-5-7-36-29.4-14.6-10.4-26.6-19.8-26.6-20.8 0-5 12.4 0.2 33 14 6.4 4.4 12.2 7.6 12.6 7.2 2.8-2.6-50.8-39.6-78.6-54.2-22.6-12-29.4-16.6-27.8-19.2 1.4-2 14.6-1.2 24.8 1.4 4.4 1.2 4 0.4-3.2-6.4-4.4-4.2-11.2-10-15-13-5.8-4.6-6.4-5.8-3.8-7.6 1.8-1.2 6.6-1.6 11.4-1 7.2 1 8.4 0.8 7.4-1.8-1.6-4.4 4.2-4 15 0.8 4.8 2.2 9 3.8 9.4 3.4s-2.8-4.2-7.2-8.4c-4.4-4.4-8-9-8-10.4 0-4.2 8.2-3 17.8 2.4 10.8 6.2 12 6.2 6.2 0-7.2-7.6-3.2-8.4 8.2-1.4 5.4 3.6 10.4 6.4 10.6 6.4s0-2.8-0.4-6.2c-0.8-5.8-0.6-6.2 3.8-5.4 2.6 0.6 6.4 1.8 8.2 2.6 2.8 1 3.6 0.4 3.6-2.8 0-2.4 1-4.2 2-4.2 1.2 0 8.8 6 17.2 13.2 12 10.6 15.6 12.6 17.8 10.8 1.6-1.2 3.8-1.8 4.8-1.2 1.2 0.8 3.8 0.2 5.8-1 5.6-3.6 9.6-1.2 17.2 10.6 11.8 18.6 12.8 19 34.2 14.6 4.8-1 10.6 1 30 11 13.2 6.6 26.2 14.4 29 17l5 4.8 30.8-17.8c16.8-10 31-18 31.6-18 0.4 0 5.4-3 11.2-6.6s11.8-7.2 13.4-8c1.6-0.8 6.2-3.4 10-5.6 6.4-4 11.6-7 31.4-18 3.4-2 10-5.8 14.4-8.6 4.4-3 8.6-5.2 9-5.2 0.6 0 5.4-2.8 11-6.2l10.2-6.4 10.2 6.4c5.6 3.4 10.4 6.2 11 6.2 0.4 0 4.6 2.4 9 5.2 4.6 2.8 12.4 7.4 17.4 10.2 16.6 9.4 23.2 13 29.4 16.8 3.4 2.2 7.4 4.4 9 5.2s7.6 4.4 13.4 8c5.8 3.6 10.8 6.6 11.2 6.6 0.6 0 18.4 10.2 39.6 22.6 21.4 12.4 40.2 23.2 41.8 24s4.4 2.2 6 3.4c3.6 2.4 68.8 40.2 83 48 5.4 3 13 7.2 16.4 9.2l6.6 3.8v350.4l-4.4 2.2c-5 2.4-19.4 10.6-40 22.6-12.2 7.2-13.4 8.4-12.6 13.4 0.4 3 1.4 8.6 2 12.6 0.6 4.6 4.2 10.8 9.4 16.6 7.8 9.2 8 9.8 6.8 20-1 10-0.8 11 3.8 14 4 2.6 5 5 5 11.2 0 7.2-0.8 8.4-7 11.4-3.8 1.8-7 4.6-7 6s5 6 11.2 10l11.2 7.4-1.2 9c-0.6 5-2.6 11-4.2 13.4-2.6 4-2.4 5 2.2 11 4.4 6.2 4.6 7 1.6 9.2-2.8 2.2-2.8 3 2 9.2 2.8 3.8 5.2 7.4 5.2 8 0 3.2-12.2 1-18.8-3.6-7.6-5.2-9.2-4.4-4.2 2.2 3.4 4.4 4 12.2 1 13.2-1.2 0.4-1.2 3.2 0.2 8.2 2 7.6 1 15.4-2.2 15.4-1 0-9.2-10-18.2-22-9-12.2-16.8-21.6-17.2-21.2-0.6 0.4 1 4.4 3.2 9 4.8 9.4 5.2 15.8 1.4 28.2-3.2 10.8-8.6 12.8-14.8 5.2zM535.4 698.6c25.6-15 30.2-18.4 27.4-20.2-1-0.8-4.2-5-6.8-9.4-7-11.8-25.8-36-41-53-7.4-8.2-18.4-22.2-24.6-31-15-21.6-38.4-45-44.8-45-2.6 0-15 1.4-27.6 3.2-29.6 4.2-39.4 3-60.2-6.8-9.2-4.4-25.8-10.8-37-14.2-20.4-6.4-32.8-12.6-32.8-16 0-1.2 3.8-3 8.6-4.4 4.6-1.2 9.4-3 10.6-4 1.4-1.2 12.2-3.6 24.2-5.6s24.2-4.8 26.8-6.2c7.2-3.8 31.8-22.2 31.8-23.8 0-2.8-14.4-25.4-25-39.2-6-7.6-24-28-40.2-45-16-17-31.8-34.4-34.8-38.6l-5.6-7.6-1.2 12.6c-1.2 12.6 0 210.8 1.4 227.6 0.8 8.2 1.6 9.4 8.6 13 4.2 2.2 8.2 4.6 8.8 5.2s6 3.8 12 7c6 3.2 15.6 8.6 21.4 12.2s11.2 6.6 12.2 6.6c0.8 0 2.6 1 4 2.4s7.6 5.4 14 8.8c6.2 3.6 18.2 10.4 26.4 15s17 9.4 19.4 10.6c2.6 1.2 4.6 2.8 4.6 3.8 0 0.8 0.8 1.4 2 1.4 1 0 6.6 2.8 12.4 6.2 5.8 3.6 13.6 8 17.2 10 3.4 2.2 9.4 5.4 13 7.6 3.4 2 14 8.2 23.4 13.4 9.4 5.4 18.8 10.8 21 12 6.8 4 10.2 3.2 30.4-8.6zM722 589.6c0-0.8 1.8-1.6 4-1.6s4-0.6 4-1.6c0-0.8 2-2.4 4.4-3.4 5-2.4 4.8-1 6.8-59.4l1.4-41.6-38.8 0.2c-48.6 0-52 0.6-58.4 10.2-5 7.2-5 7.4-1.2 11 2.2 2 9.6 6.4 16.2 9.6 11 5.4 12.6 7 15.8 15.8 2 5.4 6.2 12.6 9.4 16 7.4 7.8 10.4 13.6 10.4 20.2s4.2 14.6 10.8 20.8c2.8 2.8 5.2 6 5.2 7.6 0 2 1 2 5 0.2 2.8-1.2 5-3 5-4zM596 402.4c6-4 17.4-10.6 25-14.6 7.8-4 21-11 29.6-15.6 20.2-11 34.4-12.8 49.2-6.4 5.4 2.2 13 4.2 16.6 4.2 9 0 15.6 3.8 21.2 12l4.8 7-1.4-29c-2.2-47-2-44.8-6.6-47-2.4-1-4.4-2.6-4.4-3.4 0-1-1.8-1.6-3.8-1.6-2.2 0-4.2-0.8-4.6-1.6-0.6-1.6-20-13.4-27.6-17-1.6-0.8-5.6-3-9-5.2-3.2-2-9.2-5.4-13-7.6s-20.4-11.8-36.8-21.4c-16.4-9.4-30-17.2-30.4-17.2s-8-4.4-17.2-10c-9.2-5.4-17.8-10-19-10-1.4 0-2.6-0.6-2.6-1.6 0-0.8-1.8-2.4-4-3.4-2.2-1.2-13.4-7.6-25.2-14.4-11.6-7-22.8-12.6-25-12.6-2 0-8.4 3-14.2 6.8-5.8 3.6-15 9-20.6 12-10.6 5.6-17.4 9.6-19 11.2-0.6 0.6-3.6 2.4-7 4-3.2 1.6-11.6 6.4-18.4 10.4-7 4.2-13.2 7.6-14 7.6-1 0-3.2 1.4-5.2 2.8-3.4 2.6-3.2 3.2 3 9.6 3.6 3.8 10.8 9.4 15.8 12.2 12.6 7.2 44.8 38 61.8 59.4 14.8 18.6 16.6 20 26.6 20 8.4 0 19 6.6 21.6 13.6 1.2 3 4.4 7.8 7 10.6 2.8 3 6.4 10.4 8 17s4.4 15.8 6.2 20.6l3.2 8.6 9.2-1.2c5.8-0.8 13.2-4 20.2-8.8z" />
|
||||||
|
<glyph unicode="" glyph-name="phoenix-world" d="M732 828c-2.2-2.2-6.6-9.4-9.6-16l-5.8-12-2.4 7.6c-5.4 17.6-11.6 18.4-19.6 2.2-7-14-14.6-31.8-14.6-33.8 0-1.2-1-2-2-2-1.2 0-3-2-4.2-4.4-6.6-14.6-10.4-18.4-9.4-9.6 0.4 5.2-0.2 7-2.8 7.6-3.2 0.6-33.6-24.2-33.6-27.6 0-1-2.6-3.2-5.6-4.8-4.8-2.6-7-2.4-17.4 0-44.2 11-46.2 11.2-96 11.2-43.8 0.2-49.4-0.2-64-4.4-8.8-2.4-19.2-5.2-23-6-11.4-2.6-24.4-7.8-40-16.4-1.6-0.8-6.2-2.8-10-4.6-8.2-3.4-6.8-2.6-29.2-18-17.4-11.8-58.4-50.4-70.2-66-12.6-16.6-28.6-41.8-28.6-45 0-2-1.4-4.6-3-6s-3-3.4-3-4.4c0-1-2.6-7.4-5.6-14.2-3.2-6.8-7.2-18.6-9-26.4-1.8-7.6-4.8-20.8-6.8-29-2.6-12-3.4-24.2-3.4-60 0.2-44.8 0.2-45 7.2-73 4.8-18.8 10.6-35 17.4-49.4 5.6-11.6 10.2-21.6 10.2-22.4 0-0.6 2.6-4.8 5.6-9.6 8.4-12.6 9.2-15.8 4.4-17-2.2-0.6-4-1.8-4-2.8s-0.8-1.8-2-1.8c-1 0-4.4-2.2-7.4-5-3.2-2.6-15-11.8-26.6-20-11.6-8.4-22.6-16.4-24.6-18-1.8-1.6-4.4-3-5.4-3-1.2 0-2-1.2-2-2.6 0-1.6-2.2-4-5-5.4-6.8-3.6-6.8-10.8 0-9.6 2.8 0.6 5 0.4 5-0.2s-8.6-6.2-19-12.2c-10.4-6-19-11.6-19-12.4 0-1-1-1.6-2.2-1.6-3.8 0-16.8-6.6-18.4-9.4-0.8-1.4-3-2.6-4.4-2.6-2.8 0-3.4-0.8-3.8-6.4-0.2-1.6 3-3 7.4-3.6l7.6-1-9.4-9.6c-11.2-11.8-10.8-16.2 1.8-15 6 0.6 9 0 10.8-2.2 1.8-2.6 3.2-2.8 8.6-0.8 5.8 2.2 6 2 3.6-1-1.4-1.8-3.8-4.6-5-6-1.4-1.4-2.6-4-2.6-5.8 0-2.4 1.6-2.8 7.6-1.8 4 0.8 11.4 1.6 16.4 1.8 5 0.4 10.8 1.6 13.2 3 3.6 2 4.6 1.6 6.4-2.6 3.4-7.6 17.2-7 30.4 1.2 5.4 3.4 10 6.8 10 7.6 0 3.2 12.4 6 17 3.8 6.6-3 14.4-0.4 17.8 6 1.6 3 6.2 8.6 10.2 12.4 7 6.8 7.6 7 23.6 7 15.4 0 17 0.4 25.2 6.6 4.8 3.4 10.4 6.4 12.2 6.4s8.4 3.6 14.6 8c6 4.4 12.2 8 13.8 8 4.2 0 17.6-5.2 20-7.6 1.4-1.4 3.4-2.4 4.8-2.4s7-2.2 12.4-5c13.2-6.6 52.6-16.8 77.4-20.2 37.8-5 74.4-2.4 114.8 8.2 21.2 5.4 26 7.4 52.2 19.4 8.2 4 16 7.4 17 7.8 1.2 0.4 10.2 6.2 20 12.8 33.2 22.2 81 74.4 97.8 106.8 2 4 4.4 8.6 5.4 10.2s2.4 4.4 3 6c0.6 1.6 3.4 8 6.2 14 10.8 23 19 62.6 21.6 104 2.6 40-8.6 96-26.8 134.4-5.6 11.6-10.2 21.6-10.2 22.4 0 0.6-2.6 4.8-5.8 9.6-3 4.8-6.8 12-8 16-3.8 11.4 0.6 28.4 10 38.6 2 2.2 4.4 9.8 5.6 17s3.2 13.4 4.2 13.6c3.6 1.2 6.2 10.6 5 16.6-0.8 3.6-3.4 6.6-7.2 8.2-3.2 1.4-5.8 3-5.8 3.6 0.2 2 7.6 10 9.4 10 1 0 4 2.2 6.6 5 3.6 3.8 4.4 6.2 3.4 12.2-0.6 4-2.8 9-4.6 11-3.2 3.6-3.2 4 1.2 8.8 3 3.2 4.2 6.4 3.6 9.8-0.6 3 0.2 6.8 1.6 8.6 6.4 8.6 1.4 14.6-9.2 11l-6-2.2v17c0 14.8-0.4 16.8-3.6 16.8-4.2 0-10.6-6.6-20.6-20.8l-6.8-9.6-1 14.8c-1.4 20.4-7 26.6-16 17.6zM558 680c7.2-1.4 15-2.8 17.6-3.2 4.2-0.8 4.6-1.8 3.2-7.4-0.6-3.6-2.8-8.6-4.8-11.4s-4-7-4.8-9.2c-0.8-2.4-3.2-6.4-5.4-9-2.4-2.6-7.4-9.8-11.2-15.8-4-6-10.4-14.6-14.4-19.2-10.6-12-22.8-26.6-31.2-37.8-4.2-5.4-8.8-10.8-10.4-11.6-1.4-0.8-2.6-2.8-2.6-4.4 0-1.4-3.6-6.6-8-11.4-4.4-4.6-8-9.2-8-10 0-1-3.8-4.2-8.4-7.6-9.4-7-17-7.6-37.6-3-23 5-34.6 4-52.8-4.6-9-4.4-21.2-9.2-27.2-11.2-9.6-3-15.4-5-28-10-14-5.6-20-15.4-10.2-16.8 2.8-0.4 6.8-2 9-3.4 2.4-1.4 10.6-3.2 18.2-4 18-1.8 26.2-4.4 35.6-11.4 4-3.2 10.4-7 14-8.6 3.6-1.4 8-4.4 9.8-6.4 3.2-3.6 3-4.4-4.8-17.6-4.6-7.8-9.4-14.8-10.6-16-1.4-1-4.6-5.2-7.2-9-5.2-7.8-18.4-22.6-41.4-46.4-0.8-0.8-7.4-7.2-14.6-14.2l-13.2-12.8-4 8.2c-11.6 23.8-21 48-23 60.2-8 48.8-7 81.8 4 119 1.6 6 4.2 13.2 5.6 16s4.8 10.8 7.6 17.8c3 7 7 15 9.2 17.8 2.2 2.6 4 6.2 4 7.6 0 1.6 0.6 2.8 1.6 2.8 0.8 0 3.2 3.2 5.4 7.2 4.8 9 44.2 49 55.6 56.2 4.6 3 8.8 6 9.4 6.6 4 4 27.6 15.6 50 24.6 12.2 4.8 33.4 10 50 12.2 12 1.4 60.4-0.2 74-2.8zM725.4 547.8c10.4-20.2 20.4-55.8 21.2-75.8 0.4-8.4 0-9-5.6-10.2-3.2-0.8-20.2-1.4-37.4-1.6-33.2-0.2-45.8 2-54.2 9.8-3.8 3.8-3.8 3.8 2.8 9.8 4.4 4.2 8.8 6.2 13 6.2 8.2 0 16.8 6.8 16.8 13.2 0 6 2.4 11 11.2 22.4 3.8 5 7.4 13 8.8 19 2.2 10.2 10.6 22.2 14.8 20.8 1.2-0.4 5-6.4 8.6-13.6zM593 385.8c3.4-2 8-4.8 10.6-6 2.4-1.4 4.4-3.2 4.4-4s3.4-2.6 7.6-3.8c4-1.4 8.8-3.6 10.4-4.8 1.6-1.4 6.6-4.2 11-6.2 4.4-2.2 8.4-4.6 9-5.2 2.2-2.8 21.8-9.8 32.8-11.6 12.4-2.2 20.2-1.4 25.2 2.8 3 2.8 7.6 3.6 15.6 3.2 7.8-0.4 5.2-8.2-9.8-29.2-15.6-21.8-17-23.6-37.2-43.8-12.2-12.2-47.8-37.8-56.2-40.6-3.4-1-14.6-5.8-20.8-8.8-37.4-18.4-121-20.6-158.2-4.2-8.4 3.8-9.4 4.8-7.4 8.2 1 2.2 5.6 6.4 10.2 9.6 4.4 3 10.2 7.6 12.8 10.2 2.6 2.4 5.6 4.4 6.6 4.4 3.4 0 48.4 46.6 48.4 50 0 1.2 1 2 2 2 1.2 0 2 1.2 2 2.8 0 5 10 11 20 12.4 11.8 1.6 11.2 1.2 23 16.6 10 13.2 14.8 23.4 15 32.4 0 2.8 1.4 8 3.2 11.4 3.6 7.6 10.4 8.2 19.8 2.2z" />
|
||||||
|
<glyph unicode="" glyph-name="power" d="M465.6 919.6c-31-18-45.6-27.6-46.4-30.4-0.6-2.4-1.2-130-1.2-283.6 0-232.4 0.4-279.8 2.8-282 1.4-1.6 22.6-14.2 47-28.4l44.2-25.6 44.2 25.6c24.4 14.2 45.6 26.8 47 28.4 2.4 2.2 2.8 49.6 2.8 282 0 153.6-0.6 281.2-1.2 283.6-0.8 2.8-15.4 12.4-46.6 30.4-25 14.6-46 26.4-46.4 26.4s-21.2-12-46.2-26.4zM213.6 774.2l-133.6-77.2v-498l432-249.4 432 249.4v498l-134 77.2c-99.6 57.6-134 76.6-134.8 74.4-0.6-1.6-1.2-44-1.2-94.4v-91.4l32.6-18.8c17.8-10.2 36.4-21 41.4-24s13.6-8 19.2-11.2l10.4-5.6 1.4-42.6c0.8-23.4 1.2-92.6 0.6-153.6-0.6-94-1.2-111.4-3.6-113.8-1.6-1.6-8.4-6-15-9.8-6.6-3.6-27.2-15.6-46-26.4-76-44-105.8-61-106.6-61-0.4 0-3.2-1.6-6-3.8-3-2-9.4-6-14.4-8.6-5-2.8-17.6-10-28-16-10.4-6.2-25.6-14.8-33.6-19.4l-14.6-8.4-10 6c-5.4 3.4-10.2 6.2-10.6 6.2s-11 6-23.4 13.2c-24.4 14.4-43.4 25.2-85.2 49.4-57.8 33.4-79.6 46-105 60.6-14.6 8.4-28 16.4-29.6 18-2.4 2.4-3 22.8-3.4 136.2-0.4 73.6 0 142.6 0.8 153.6l1.6 19.8 50.4 29.2 50.4 29 0.2 95.6c0 52.4-0.2 95.4-0.4 95.2-0.4-0.2-60.6-35-134-77.6z" />
|
||||||
|
<glyph unicode="" glyph-name="phoenix" d="M739.52 743.36c-1.76-2.24-5.12-8.8-7.52-14.56l-4.48-10.56-2.4 6.88c-1.28 3.84-3.68 8.96-5.44 11.36-4.16 5.76-6.4 4-10.88-8.16-5.6-14.88-18.88-39.52-24.96-46.080-3.36-3.68-5.28-4.96-4.48-3.040 2.56 7.2 2.72 13.6 0.16 13.6-3.68 0-22.24-16.64-34.080-30.72-15.2-17.92-23.040-30.4-35.52-56-11.52-23.52-22.56-39.68-42.72-62.080-5.92-6.56-14.72-17.76-19.68-24.8-12-17.28-30.72-36-35.84-36-2.080 0-12 1.12-22.080 2.56-23.68 3.36-31.52 2.4-48.16-5.44-7.36-3.52-20.64-8.64-29.6-11.36-16.32-5.12-26.24-10.080-26.24-12.8 0-0.96 3.040-2.4 6.88-3.52 3.68-0.96 7.52-2.4 8.48-3.2 1.12-0.96 9.76-2.88 19.36-4.48s19.36-3.84 21.44-4.96c5.76-3.040 25.44-17.76 25.44-19.040 0-2.24-11.52-20.32-20-31.36-4.8-6.080-19.52-22.72-32.8-36.8-13.44-14.080-28.16-31.040-32.8-37.6-9.44-13.28-17.6-20.8-36.8-33.6-7.040-4.64-18.56-12.96-25.6-18.4s-20.16-15.040-29.12-21.44c-9.12-6.4-16.48-12.32-16.48-13.12 0-4 9.92 0.16 26.4 11.2 5.12 3.52 9.76 6.080 10.080 5.76 2.24-2.080-40.64-31.68-62.88-43.36-17.76-9.28-23.52-13.28-22.4-15.2 1.6-2.4 11.52-1.6 20 1.6l8.16 3.2-7.52-6.72c-4.16-3.68-10.24-8.64-13.76-11.040-3.36-2.56-6.080-5.28-6.080-6.080 0-2.56 7.2-3.52 13.6-1.76 4.64 1.28 5.76 1.28 4.32-0.16-5.6-5.6 0.64-5.76 12.48-0.32l8.8 4-7.52-7.68c-4.32-4.32-7.68-8.64-7.68-9.76 0-3.36 6.56-2.080 15.84 3.040l8.96 4.96-4.64-4.96c-6.72-7.040-4-8 5.6-2.080 4.32 2.88 8.32 5.12 8.48 5.12s0.16-2.24-0.32-4.8c-0.8-5.6 1.76-6.24 9.12-2.56 4.32 2.4 4.48 2.24 3.68-1.6-1.12-6.080 1.92-4.64 15.040 6.72 9.6 8.48 12.48 10.080 14.24 8.64 1.28-0.96 3.040-1.44 3.84-0.96 0.96 0.64 3.040 0.16 4.64-0.8 4.48-2.88 7.68-0.96 13.76 8.48 9.44 14.88 10.24 15.2 27.36 11.68 3.84-0.8 8.48 0.8 23.84 8.64 10.4 5.28 22.080 12.48 25.76 16 3.84 3.52 8.64 6.72 10.72 7.2s5.92 1.28 8.48 1.76c3.040 0.64 8.32 4.64 14.4 11.2 5.76 6.24 11.52 10.72 14.4 11.36 2.72 0.64 8.48 4.96 12.8 9.44 4.48 4.48 11.36 10.080 15.36 12.32 10.080 5.92 36 30.72 49.44 47.68 11.84 14.88 13.28 16 21.28 16 6.72 0 15.2 5.28 17.28 10.88 0.96 2.4 3.52 6.24 5.6 8.48 2.24 2.4 5.12 8.32 6.4 13.6s3.52 12.64 4.96 16.48l2.56 6.88 7.36-0.96c4.64-0.64 10.56-3.2 16.16-7.040 4.8-3.2 13.92-8.48 20-11.68 6.24-3.2 16.8-8.8 23.84-12.64 15.2-8.16 28.8-10.24 37.6-5.6 3.040 1.44 9.76 3.36 15.2 4 8.48 1.28 10.4 2.24 14.56 7.2 2.72 3.2 8.16 9.44 12.32 13.76 6.56 6.72 7.84 8.96 9.12 17.6 0.96 5.28 2.24 10.56 3.040 11.52 2.88 3.68 3.52 16.32 1.44 26.72-1.92 8.64-2.88 10.56-6.080 11.36-2.080 0.64-20 1.28-39.84 1.44-44.32 0.32-46.56 0.64-51.68 8.32-4 5.76-4 5.92-0.96 8.8 1.76 1.6 7.68 5.12 12.96 7.68 8.8 4.32 10.080 5.6 12.64 12.64 1.6 4.32 4.96 10.080 7.52 12.8 5.92 6.24 8.32 10.88 8.32 16.16 0 5.76 2.24 9.6 12.96 21.6 5.44 6.080 10.56 13.92 12.32 18.88 3.36 8.96 7.52 14.88 19.040 27.84 5.28 5.92 6.88 9.12 6.88 13.28 0 7.68 2.24 12.48 8.96 20 5.6 6.24 5.76 6.88 4.8 15.040-0.8 8-0.64 8.8 3.040 11.2 3.2 2.080 4 4 4 8.96 0 5.76-0.64 6.72-5.6 9.12-3.040 1.44-5.6 3.68-5.6 4.8s4 4.8 8.96 8l8.96 5.92-0.96 7.2c-0.48 4-2.080 8.8-3.36 10.72-2.080 3.2-1.92 4 1.76 8.8 3.52 4.96 3.68 5.6 1.28 7.36-2.24 1.76-2.24 2.4 1.6 7.36 5.12 6.72 5.12 7.52 0 7.52-4.64 0-9.44-2.24-14.88-7.040l-4-3.36 3.52 6.080c4 6.88 4.64 13.12 1.28 11.84-1.76-0.64-1.76 0.32 0.16 5.76 2.24 6.56 1.76 13.92-0.96 13.92-0.8 0-7.68-8.32-15.36-18.4-7.52-10.080-14.080-18.4-14.56-18.4-0.32 0 1.12 3.52 3.36 8 4.48 8.96 4.96 13.6 1.76 24-2.56 8.64-6.88 10.24-11.84 4.16z" />
|
||||||
|
<glyph unicode="" glyph-name="honeycomb" d="M295.6 821.4l-215.6-124.4v-498l432-249.4 432 249.4v498l-215.8 124.6c-118.6 68.4-216 124.4-216.4 124.4s-97.8-56.2-216.2-124.6z" />
|
||||||
|
<glyph unicode="" glyph-name="ai" d="M514.496 952.659l-119.461-205.141c-167.148-53.009-286.392-208.863-286.53-393.053v-0.016c0.351-33.854 4.67-66.514 12.506-97.746l-0.606 2.847-113.364-256.526 259.001 26.983c67.442-53.81 153.44-86.43 246.919-86.817h0.087c92.045 0.405 176.754 31.998 244.514 84.91l-0.958-0.719 260.575-27.15-112.502 254.576c7.915 29.815 12.608 64.102 12.914 99.454l0.001 0.188c-0.040 185.395-120.745 342.12-286.618 393.426l-2.866 0.762-43.666 78.416zM523.861 627.713c11.778-0.189 23.653-1.4 35.541-3.716 137.023-22.263 225.515-173.454 199.893-307.569-16.885-119.414-125.023-225.138-247.712-215.973-9.407 0.112-18.876 0.257-28.179 1.858-141.715 22.738-231.204 182.639-198.338 319.966 20.157 113.62 124.943 207.262 238.795 205.434z" />
|
||||||
|
<glyph unicode="" glyph-name="robot" d="M503 945.2c-2.2-1.6-95.8-55.6-208-120.2s-207.4-119.6-211.6-122.2l-7.4-4.8v-249.8c0-197.4 0.6-250.2 2.6-251.8 7.4-6.2 430.2-248.4 433.4-248.4s426 242.2 433.6 248.4c3.6 3 3.6 500.2 0 503.2-2.4 1.8-344.4 199.4-403.6 233-15 8.4-29 15.4-31 15.2-2.2 0-5.8-1.2-8-2.6zM551.6 853.2c84-48.6 104.4-60.4 113.4-65.4 5.6-3 27.2-15.2 48-27.4 48.4-28 89.8-52 128.6-74.4 16.8-9.6 32.2-19 34.4-21 4-3.6 4-7.2 4-215 0-165.8-0.6-212-2.4-214.6-1.4-1.8-12-8.6-23.6-15-20.2-11.4-56.6-32.4-113.8-65.8-14.8-8.6-32-18.4-38-21.8-11.8-6.6-21.8-12.4-95.2-54.8-68.2-39.6-79.8-46-82.4-46-2 0-2.6 85-2.6 418 0 289.4 0.6 418 2 418 1.2 0 13.6-6.6 27.6-14.8z" />
|
||||||
|
<glyph unicode="" glyph-name="sandar" d="M554 809.067c-8.933-10.933-96.4-99.6-282.533-286.933-110.8-111.333-201.467-203.467-201.467-204.667 0-2 16.667-2.133 193.467-2.533l193.6-0.267 0.933-3.067c0.533-1.6 1.333-54.133 1.6-116.667 0.533-93.733 0.933-113.867 2.533-114.533 1.067-0.4 8.267 6.133 18.133 16.533 33.467 35.067 73.2 75.2 269.733 272.933 110.8 111.333 201.333 203.467 201.333 204.667 0 2-17.067 2.133-194 2.8-106.667 0.4-194.133 0.933-194.267 1.067-0.267 0.133-0.533 52.933-0.667 117.2-0.4 106.667-0.533 117.067-2.533 117.467-1.2 0.267-3.867-1.6-5.867-4zM949.2 574c-0.133-0.667-90.667-92.267-201.067-203.333-195.867-197.067-235.867-237.467-269.067-272.267-8.8-9.333-16.533-16.533-16.933-16.133-0.4 0.533-0.667 10.533-0.533 22.267l0.267 21.467 0.4-20.267c0.267-11.2 0.933-20.4 1.467-20.4s15.333 14.8 32.8 33.067c40.933 42.267 118.4 120.533 302.4 305.2 81.2 81.6 147.733 148.933 147.733 149.733s-9.333 1.467-24.267 1.733l-24.4 0.4 25.733-0.133c16.267 0 25.6-0.533 25.467-1.333zM158.267 404.267c-46.667-46.667-84.933-85.333-84.933-86 0-0.533 10.667-1.067 23.733-1.2l23.6-0.267-23.333-0.4c-12.8-0.267-24.133-0.133-25.2 0.267-1.333 0.533 24.667 27.467 83.867 86.667 47.333 47.333 86.267 86 86.667 86s-37.6-38.267-84.4-85.067z" />
|
||||||
|
<glyph unicode="" glyph-name="moon" d="M472.667 840.533c-2.133-0.267-9.333-1.2-16-2-58.267-6.933-118.4-29.333-168-62.533-43.067-28.933-84.4-70.133-111.6-111.333-52.267-79.467-74.133-171.867-62.933-267.067 12.533-107.2 68.933-204.667 156.267-270.267 133.067-100 316.933-105.2 456.533-12.8 23.333 15.467 38.267 27.733 60.533 50 24 24.133 34.4 36.533 50.533 60.8 44.267 66.4 66 138.8 66 220 0 66.133-13.867 123.867-43.867 182.133-19.467 37.733-40.667 66.667-72 98-32.8 32.8-62.533 54.267-102.8 74.4-40 19.867-73.2 30.4-122 38.4-11.333 1.867-80.667 3.6-90.667 2.267zM569.333 767.333c18-2.667 42.933-8.8 57.333-14 6.267-2.267 13.2-4.667 15.6-5.467 6.133-1.867 40.933-19.6 50.933-25.867 17.867-11.2 40.667-29.467 56.533-45.2 27.333-27.2 45.067-51.867 62-86.133 14.933-30.4 22.133-51.6 29.2-86.667 3.6-17.333 3.733-19.6 3.6-58.667 0-40.667-0.267-44-5.467-67.333-2.933-13.333-9.733-37.867-11.733-42.667-1.067-2.133-3.067-7.6-4.8-12-4.133-11.333-16.133-35.2-23.6-47.2-28.933-46.8-69.333-86.133-116.667-113.333-44.8-25.867-99.6-41.6-146.267-42l-19.333-0.133-0.4 322c-0.133 177.067 0 323.467 0.4 325.2l0.8 3.2 18.933-0.8c10.4-0.4 25.2-1.733 32.933-2.933z" />
|
||||||
|
<glyph unicode="" glyph-name="home" d="M208.533 849.733l-92.267-0.4-0.933-85.067c-1.067-82.133 0.133-293.467 1.467-294.933 0.4-0.267 12.4 11.333 26.8 26 14.267 14.667 42.933 44 63.6 65.067 45.2 46.267 75.867 76.933 78.667 78.533 1.2 0.667 2.133 1.733 2.133 2.4s3.867 5.2 8.667 10c6.267 6.267 9.333 8.4 10.667 7.733 1.067-0.667 13.467-12.4 27.6-26.133s26.933-26.133 28.4-27.6c1.467-1.333 5.067-4.8 8-7.867 2.933-2.933 15.467-15.067 27.733-27.067 12.4-12 23.333-23.333 24.4-25.333 1.067-2.133 2.667-3.733 3.6-3.733 0.8 0 21.2-19.733 45.2-43.733l43.733-43.733-21.733-22.533c-17.2-18-65.333-67.2-95.733-97.867-31.333-31.733-88-86.8-89.2-86.8-0.8 0-34.133 32.667-74.133 72.667-39.867 40-73.067 72.667-73.733 72.667-0.533 0-10.933 9.733-22.933 21.733l-21.867 21.6-1.067-58.667c-1.067-62.533-0.267-328.533 1.2-329.867 1.2-1.2 804.133-0.933 805.467 0.267 1.2 1.333 1.467 800.267 0.267 801.6-0.933 0.933-570.667 1.867-714 1.067z" />
|
||||||
|
<glyph unicode="" glyph-name="cloud" d="M467.333 675.2c-66.8-3.6-140.4-16.933-196.8-35.6-126.133-41.6-202.4-114.667-198-189.6 0.933-17.6 4.8-31.733 12.8-48 27.867-56.133 99.067-104.933 197.467-135.333 42.133-12.933 98.8-23.867 147.867-28.533 95.6-9.2 192.133-2.933 278 17.867 88 21.2 156.8 55.2 201.467 99.333 30.667 30.267 46.133 60.267 48.133 93.333 1.333 24.933-4.933 48.4-19.333 71.2-26.667 42.267-73.6 77.467-140.4 105.6-17.733 7.467-66.267 23.867-70.667 23.867-1.467 0-6 1.2-10.267 2.533-19.333 6.533-77.2 16.533-120.267 20.8-19.867 2-107.733 3.733-130 2.533zM574 630.533c30.267-2.267 62.667-7.067 95.067-14.133 8.933-1.867 16.267-3.867 16.267-4.4 0-0.4-10.667-11.067-23.6-23.467-13.067-12.4-29.733-28.267-37.067-35.333s-19.867-19.067-28-26.8c-8-7.6-21.2-20.267-29.333-28-8-7.733-48-45.733-88.667-84.533-71.067-67.467-84.667-80.533-111.333-106.4-14.133-13.6-10-13.333-43.067-3.333-26.4 7.867-47.733 16.267-68.8 26.8-52.667 26.4-86.133 57.333-99.467 92.133-3.333 8.533-4.4 14-5.467 26.8-0.667 10.133-0.667 17.467 0.133 20.133 0.667 2.133 2.533 7.867 4 12.8 5.867 18.667 21.6 40.933 40.667 57.6 76 66 226.133 101.733 378.667 90.133z" />
|
||||||
|
<glyph unicode="" glyph-name="api" d="M468 931.867c-78.667-7.467-155.733-34.8-222.533-78.933-11.467-7.6-42.133-31.067-50.133-38.4-18.667-17.067-25.333-23.6-38.4-37.867-52.267-57.2-90.133-127.333-110.133-204.667-9.467-36.4-13.333-65.867-14.4-108-1.6-70.667 10.267-134 36.933-197.333 10-23.867 29.467-61.333 31.867-61.333 0.4 0 12.933 8.267 27.867 18.4 14.8 10 36.267 24.533 47.733 32.267 28.4 19.2 26.933 17.867 24.667 21.6-2.267 3.6-12.267 23.6-15.2 30.4-20.533 46.667-30.533 93.333-30.667 143.333-0.267 75.067 22 144.8 67.333 210.533 16.933 24.4 50.4 57.867 80.667 80.4 19.2 14.4 52 32.267 78.667 42.933 25.6 10.267 62.8 19.6 91.067 22.8 6.933 0.8 13.067 1.867 13.6 2.4 0.667 0.667 0.933 28.4 0.8 61.733l-0.4 60.533-3.333 0.133c-1.867 0.133-9.067-0.267-16-0.933zM541.333 871.467v-62l6.4-0.8c32-4.133 55.867-9.467 80.4-17.867 90.133-31.067 161.2-93.333 203.733-178.533 12.4-24.667 17.333-37.733 24.667-64.267 17.467-62.933 17.067-131.467-1.2-195.467-2.533-8.8-5.467-17.733-6.533-20-1.2-2.133-2.133-4.667-2.133-5.6 0-1.067-0.8-3.733-1.867-6-11.467-25.867-14-31.2-18.267-38.533l-3.6-6.133 2.8-2.533c4.667-4.133 96.933-68.4 98.133-68.4 2.8 0 21.467 35.6 31.867 60.8 10.4 25.067 12.267 30.667 20.933 60.533 4.933 17.067 10.533 46.933 13.6 72 2.667 23.467 3.067 79.733 0.667 102.667-5.067 46.133-15.333 88.533-31.867 130.667-3.333 8.4-7.467 18-9.067 21.333-1.733 3.333-4.667 9.333-6.533 13.333-8.267 17.333-13.6 26.667-31.733 54-57.333 86.4-145.467 153.867-245.067 187.733-33.467 11.467-77.867 20.8-107.467 22.933-6.533 0.4-13.2 1.067-14.8 1.467l-3.067 0.533v-61.867zM783.733 220.4c-28.533-33.867-73.867-68.933-113.6-88.133-74.133-35.6-156.533-45.2-236.133-27.467-74 16.533-142.667 57.467-191.733 114.533-4.4 5.2-8.533 9.467-9.067 9.733s-6.667-3.333-13.467-8.133c-6.8-4.667-23.733-16.267-37.733-25.733-13.867-9.333-30.667-20.8-37.2-25.2-6.533-4.533-12.133-8.8-12.4-9.6-1.467-4.4 49.6-58 75.733-79.467 93.067-76 211.6-114.667 330.267-107.733 107.2 6.267 204.133 44.267 282 110.8 6.533 5.467 13.867 11.733 16.267 13.733 10.4 8.667 40.533 41.067 51.6 55.333 6.4 8.133 7.067 6.933-8.933 17.867-16.267 11.2-71.333 49.6-77.6 54.267-3.2 2.4-6.533 4.533-7.467 4.933-1.067 0.4-5.333-3.6-10.533-9.733z" />
|
||||||
|
</font></defs></svg>
|
After Width: | Height: | Size: 28 KiB |
BIN
dist/css/icomoon/fonts/icomoon.ttf
vendored
Normal file
BIN
dist/css/icomoon/fonts/icomoon.ttf
vendored
Normal file
Binary file not shown.
BIN
dist/css/icomoon/fonts/icomoon.woff
vendored
Normal file
BIN
dist/css/icomoon/fonts/icomoon.woff
vendored
Normal file
Binary file not shown.
36
dist/css/style.css
vendored
Normal file
36
dist/css/style.css
vendored
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
div#canvas {
|
||||||
|
width: 100%;
|
||||||
|
height: 640px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div#menu {
|
||||||
|
padding: 20px;
|
||||||
|
border-bottom:solid 1px #ccc;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
border: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0 20px 0 20px;
|
||||||
|
width: auto;
|
||||||
|
overflow: visible;
|
||||||
|
background: transparent;
|
||||||
|
color: inherit;
|
||||||
|
font: inherit;
|
||||||
|
line-height: normal;
|
||||||
|
-webkit-font-smoothing: inherit;
|
||||||
|
-moz-osx-font-smoothing: inherit;
|
||||||
|
appearance: none;
|
||||||
|
-webkit-appearance: none;
|
||||||
|
cursor: pointer;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover{
|
||||||
|
/* color: #fff700; */
|
||||||
|
color: #847e00;
|
||||||
|
}
|
BIN
dist/favicon.ico
vendored
Normal file
BIN
dist/favicon.ico
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
BIN
dist/img/0.hdr
vendored
Normal file
BIN
dist/img/0.hdr
vendored
Normal file
Binary file not shown.
BIN
dist/img/1.hdr
vendored
Normal file
BIN
dist/img/1.hdr
vendored
Normal file
Binary file not shown.
18
dist/index.html
vendored
Normal file
18
dist/index.html
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>ai</title>
|
||||||
|
<link rel="icon" href="/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="/css/icomoon/css/icomoon.css"/>
|
||||||
|
<link rel="stylesheet" href="/css/style.css"/>
|
||||||
|
<script src="main.js"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="menu">
|
||||||
|
<button id='btn-ai'><a href="/"><span class="icon-ai"/></a></button>
|
||||||
|
<button id='btn-moon'><span class="icon-moon"/></button>
|
||||||
|
<button id='btn-sandar'><span class="icon-sandar"/></button>
|
||||||
|
</div>
|
||||||
|
<div id="canvas"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
1
dist/vrma
vendored
Submodule
1
dist/vrma
vendored
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 3e83eb3efde28bcc4665c63ad6f0c02b849619e3
|
22
package.json
Normal file
22
package.json
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
"name": "vrm",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"private": true,
|
||||||
|
"scripts": {
|
||||||
|
"build": "webpack",
|
||||||
|
"dev": "webpack-dev-server --open"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"ts-loader": "^9.5.1",
|
||||||
|
"typescript": "^5.4.2",
|
||||||
|
"webpack": "^5.90.3",
|
||||||
|
"webpack-cli": "^5.1.4",
|
||||||
|
"webpack-dev-server": "^5.0.3"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@pixiv/three-vrm": "^2.1.1",
|
||||||
|
"@pixiv/three-vrm-animation": "^2.1.1",
|
||||||
|
"@pixiv/three-vrm-springbone": "^2.1.1",
|
||||||
|
"three": "^0.162.0"
|
||||||
|
}
|
||||||
|
}
|
266
src/index.ts
Normal file
266
src/index.ts
Normal file
@ -0,0 +1,266 @@
|
|||||||
|
import * as THREE from "three"
|
||||||
|
import { GLTFLoader } from "three/examples/jsm/loaders/GLTFLoader"
|
||||||
|
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls';
|
||||||
|
import { VRMLoaderPlugin } from "@pixiv/three-vrm";
|
||||||
|
import { createVRMAnimationClip, VRMAnimationLoaderPlugin } from "@pixiv/three-vrm-animation";
|
||||||
|
|
||||||
|
import { Color, DirectionalLight, Fog, HemisphereLight } from 'three';
|
||||||
|
import { GridHelper, Mesh, MeshLambertMaterial, BoxGeometry, Vector3 } from 'three';
|
||||||
|
|
||||||
|
import { VRMSpringBoneManager, VRMSpringBoneJoint, VRMSpringBoneJointHelper } from '@pixiv/three-vrm-springbone';
|
||||||
|
|
||||||
|
import { RGBELoader } from "three/examples/jsm/loaders/RGBELoader";
|
||||||
|
|
||||||
|
window.addEventListener("DOMContentLoaded", () => {
|
||||||
|
const canvas = document.getElementById("canvas");
|
||||||
|
if (canvas == null) return;
|
||||||
|
|
||||||
|
const scene = new THREE.Scene();
|
||||||
|
|
||||||
|
const camera = new THREE.PerspectiveCamera(
|
||||||
|
30, canvas.clientWidth/canvas.clientHeight, 0.1, 20);
|
||||||
|
camera.position.set(0.0, 0.9, -4.0)
|
||||||
|
camera.rotation.set(0.0, Math.PI, 0.0)
|
||||||
|
camera.lookAt(new THREE.Vector3(0, 0, 0));
|
||||||
|
|
||||||
|
// https://threejs.org/docs/#api/en/constants/Renderer
|
||||||
|
const renderer = new THREE.WebGLRenderer({antialias: true, alpha: true});
|
||||||
|
renderer.setPixelRatio(window.devicePixelRatio);
|
||||||
|
renderer.setSize(canvas.clientWidth, canvas.clientHeight);
|
||||||
|
renderer.setClearColor(0x7fbfff, 1.0);
|
||||||
|
renderer.shadowMap.enabled = true;
|
||||||
|
renderer.outputColorSpace = THREE.SRGBColorSpace;
|
||||||
|
renderer.toneMapping = THREE.ReinhardToneMapping;
|
||||||
|
renderer.toneMapping = THREE.NeutralToneMapping;
|
||||||
|
canvas.appendChild(renderer.domElement);
|
||||||
|
renderer.toneMappingExposure = 1.5;
|
||||||
|
|
||||||
|
//renderer.toneMapping = THREE.ACESFilmicToneMapping;
|
||||||
|
|
||||||
|
const light = new THREE.DirectionalLight(0xffffff, Math.PI);
|
||||||
|
light.position.set(1.0, 1.0, 1.0);
|
||||||
|
scene.add(light);
|
||||||
|
|
||||||
|
let currentVrm: any = undefined;
|
||||||
|
let currentVrmAnimation: any = undefined;
|
||||||
|
let currentMixer:any = undefined;
|
||||||
|
|
||||||
|
function load(url: string) {
|
||||||
|
loader.load(
|
||||||
|
url,
|
||||||
|
(gltf) => {
|
||||||
|
tryInitVRM(gltf);
|
||||||
|
tryInitVRMA(gltf);
|
||||||
|
},
|
||||||
|
(progress) => console.log(
|
||||||
|
"Loading model...",
|
||||||
|
100.0 * (progress.loaded / progress.total), "%"
|
||||||
|
),
|
||||||
|
(error) => console.error(error)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function tryInitVRM(gltf: any) {
|
||||||
|
const vrm = gltf.userData.vrm;
|
||||||
|
if ( vrm == null ) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
currentVrm = vrm;
|
||||||
|
scene.add(vrm.scene);
|
||||||
|
initAnimationClip();
|
||||||
|
}
|
||||||
|
|
||||||
|
function tryInitVRMA(gltf: any) {
|
||||||
|
const vrmAnimations = gltf.userData.vrmAnimations;
|
||||||
|
if (vrmAnimations == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
currentVrmAnimation = vrmAnimations[0] ?? null;
|
||||||
|
initAnimationClip();
|
||||||
|
}
|
||||||
|
|
||||||
|
function initAnimationClip() {
|
||||||
|
if (currentVrm && currentVrmAnimation) {
|
||||||
|
currentMixer = new THREE.AnimationMixer(currentVrm.scene);
|
||||||
|
const clip = createVRMAnimationClip(currentVrmAnimation, currentVrm);
|
||||||
|
currentMixer.clipAction(clip).play();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const loader = new GLTFLoader();
|
||||||
|
loader.register((parser) => {
|
||||||
|
return new VRMLoaderPlugin(parser);
|
||||||
|
});
|
||||||
|
loader.register((parser) => {
|
||||||
|
return new VRMAnimationLoaderPlugin(parser);
|
||||||
|
});
|
||||||
|
|
||||||
|
load("/vrma/ai.vrm");
|
||||||
|
load("/vrma/fly_c.vrma");
|
||||||
|
|
||||||
|
const clock = new THREE.Clock();
|
||||||
|
clock.start();
|
||||||
|
|
||||||
|
const controls = new OrbitControls(camera, renderer.domElement);
|
||||||
|
controls.enableDamping = true;
|
||||||
|
controls.dampingFactor = 0.2;
|
||||||
|
controls.enableRotate = true;
|
||||||
|
controls.target.set( 0.0, 1.0, 0.0 );
|
||||||
|
|
||||||
|
function floor_default(){
|
||||||
|
scene.background = new THREE.Color( 0xffffff );
|
||||||
|
const directionalLight = new THREE.DirectionalLight(0xffffff);
|
||||||
|
directionalLight.position.set(1, 1, 1);
|
||||||
|
scene.add(directionalLight);
|
||||||
|
const ambientLight = new THREE.AmbientLight(0x333333);
|
||||||
|
scene.add(ambientLight);
|
||||||
|
|
||||||
|
const floor = new Mesh(
|
||||||
|
new BoxGeometry(50, 100),
|
||||||
|
new MeshLambertMaterial({
|
||||||
|
color: 0xffffff,
|
||||||
|
depthWrite: true,
|
||||||
|
})
|
||||||
|
);
|
||||||
|
floor.position.y = -1.0;
|
||||||
|
floor.rotation.x = -Math.PI / 2;
|
||||||
|
scene.add(floor);
|
||||||
|
|
||||||
|
const grid = new GridHelper(50, 100, 0xffffff, 0xffffff);
|
||||||
|
scene.add(grid);
|
||||||
|
grid.position.set(Math.round(0), 0, Math.round(0));
|
||||||
|
scene.fog = new Fog(0xffffff, 3, 20);
|
||||||
|
scene.fog?.color.set(0xffffff);
|
||||||
|
}
|
||||||
|
|
||||||
|
scene.background = new THREE.Color( 0xffffff );
|
||||||
|
const directionalLight = new THREE.DirectionalLight(0xffffff);
|
||||||
|
directionalLight.position.set(1, 1, 1);
|
||||||
|
scene.add(directionalLight);
|
||||||
|
const ambientLight = new THREE.AmbientLight(0x333333);
|
||||||
|
scene.add(ambientLight);
|
||||||
|
|
||||||
|
//const floor = new Mesh(
|
||||||
|
// new BoxGeometry(50, 100),
|
||||||
|
// new MeshLambertMaterial({
|
||||||
|
// color: 0xffffff,
|
||||||
|
// depthWrite: true,
|
||||||
|
// })
|
||||||
|
//);
|
||||||
|
//floor.position.y = -1.0;
|
||||||
|
//floor.rotation.x = -Math.PI / 2;
|
||||||
|
//scene.add(floor);
|
||||||
|
|
||||||
|
const grid = new GridHelper(50, 100, 0xffffff, 0xffffff);
|
||||||
|
scene.add(grid);
|
||||||
|
grid.position.set(Math.round(0), 0, Math.round(0));
|
||||||
|
scene.fog = new Fog(0xffffff, 3, 20);
|
||||||
|
scene.fog?.color.set(0xffffff);
|
||||||
|
|
||||||
|
function animate() {
|
||||||
|
controls.update();
|
||||||
|
const delta = clock.getDelta();
|
||||||
|
if (currentMixer) {
|
||||||
|
currentMixer.update(delta);
|
||||||
|
}
|
||||||
|
if (currentVrm) {
|
||||||
|
currentVrm.update(delta);
|
||||||
|
}
|
||||||
|
requestAnimationFrame(animate);
|
||||||
|
scene.rotation.y += 0.005;
|
||||||
|
renderer.render(scene, camera);
|
||||||
|
}
|
||||||
|
animate();
|
||||||
|
|
||||||
|
function random_happy() {
|
||||||
|
// https://github.com/vrm-c/vrm-specification/blob/master/specification/VRMC_vrm-1.0/expressions.ja.md
|
||||||
|
currentVrm.expressionManager.setValue('relaxed', 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
function random_head() {
|
||||||
|
// https://github.com/vrm-c/vrm-specification/blob/master/specification/VRMC_vrm-1.0/lookAt.ja.md
|
||||||
|
currentVrm.lookAt.target = camera;
|
||||||
|
currentVrm.VRMLookAtBoneApplier = camera;
|
||||||
|
currentVrm.VRMLookAtExpressionApplier = camera;
|
||||||
|
|
||||||
|
// https://github.com/vrm-c/vrm-specification/blob/master/specification/VRMC_vrm-1.0/humanoid.ja.md
|
||||||
|
const head = currentVrm.humanoid.getRawBoneNode("head");
|
||||||
|
head.target = camera;
|
||||||
|
}
|
||||||
|
|
||||||
|
function random_blink(){
|
||||||
|
setInterval(() => {
|
||||||
|
currentVrm.expressionManager.setValue('relaxed', 0);
|
||||||
|
currentVrm.expressionManager.setValue('blink', 0);
|
||||||
|
random_head();
|
||||||
|
const r = Math.floor(Math.random() * 3);
|
||||||
|
if (r == 1) {
|
||||||
|
setTimeout(() => { currentVrm.expressionManager.setValue('blink', 1); }, 5000);
|
||||||
|
setTimeout(() => {
|
||||||
|
currentVrm.expressionManager.setValue('blink', 0);
|
||||||
|
}, 5500);
|
||||||
|
};
|
||||||
|
setTimeout(() => {
|
||||||
|
currentVrm.expressionManager.setValue('relaxed', 0.5);
|
||||||
|
currentVrm.expressionManager.setValue('blink', 1);
|
||||||
|
}, 6000);
|
||||||
|
}, 6500);
|
||||||
|
}
|
||||||
|
random_blink();
|
||||||
|
|
||||||
|
setInterval(() => {
|
||||||
|
const r = Math.floor(Math.random() * 4 + 1);
|
||||||
|
load("/vrma/" + r + ".vrma");
|
||||||
|
setTimeout(() => {
|
||||||
|
load("/vrma/fly_c.vrma");
|
||||||
|
}, 10000);
|
||||||
|
}, 15000);
|
||||||
|
|
||||||
|
const el_light = document.querySelector('#btn-moon') as HTMLInputElement | null;
|
||||||
|
if(el_light != null) {
|
||||||
|
el_light.addEventListener('click', function(){
|
||||||
|
light_s();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
let light_enable = true;
|
||||||
|
function light_s(){
|
||||||
|
if (light_enable == true) {
|
||||||
|
light_enable = false;
|
||||||
|
renderer.toneMapping = THREE.ACESFilmicToneMapping;
|
||||||
|
light.intensity = -0.5;
|
||||||
|
scene.background = new THREE.Color(0x000000);
|
||||||
|
scene.fog = new Fog(0x000000, 3, 20);
|
||||||
|
} else {
|
||||||
|
light_enable = true;
|
||||||
|
renderer.toneMapping = THREE.NeutralToneMapping;
|
||||||
|
light.intensity = 1;
|
||||||
|
scene.background = new THREE.Color(0xffffff);
|
||||||
|
scene.fog = new Fog(0xffffff, 3, 20);
|
||||||
|
}
|
||||||
|
console.log(light_enable);
|
||||||
|
}
|
||||||
|
|
||||||
|
const el_hdr = document.querySelector('#btn-sandar') as HTMLInputElement | null;
|
||||||
|
if(el_hdr != null) {
|
||||||
|
el_hdr.addEventListener('click', function(){
|
||||||
|
hdr_s();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
let hdr_r = 0;
|
||||||
|
function hdr_s() {
|
||||||
|
if (hdr_r == 0) {
|
||||||
|
hdr_r = 1;
|
||||||
|
} else {
|
||||||
|
hdr_r = 0;
|
||||||
|
}
|
||||||
|
let hdr = "/img/" + hdr_r + ".hdr";
|
||||||
|
new RGBELoader().load(hdr, function (texture) {
|
||||||
|
texture.mapping = THREE.EquirectangularReflectionMapping;
|
||||||
|
scene.background = texture;
|
||||||
|
scene.environment = texture;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
})
|
7
tsconfig.json
Normal file
7
tsconfig.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "es2016",
|
||||||
|
"module": "commonjs",
|
||||||
|
"skipLibCheck": true
|
||||||
|
}
|
||||||
|
}
|
26
webpack.config.js
Normal file
26
webpack.config.js
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
const path = require('path');
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
mode: 'development',
|
||||||
|
entry: './src/index.ts',
|
||||||
|
module: {
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
|
test: /\.ts$/,
|
||||||
|
loader: 'ts-loader'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
resolve: {
|
||||||
|
extensions: ['.ts', '.js']
|
||||||
|
},
|
||||||
|
output: {
|
||||||
|
filename: 'main.js',
|
||||||
|
path: path.join(__dirname, "dist")
|
||||||
|
},
|
||||||
|
devServer: {
|
||||||
|
static: {
|
||||||
|
directory: path.join(__dirname, "dist"),
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user