├── .gitattributes ├── README.md ├── demos ├── 1.html ├── 2.html ├── 3.html ├── 4.html ├── 5.html ├── 6.html ├── 7.html ├── 8.html ├── a.svg ├── brick.png ├── bricktexture.js ├── castle.html ├── cubemap.png ├── freerotation.html ├── jscolor.js ├── mario.js ├── mario.png ├── mario2.png ├── mariotexture.js ├── sky.jpg ├── tree.png ├── treetexture.js ├── yoshi.js └── yoshi.png ├── ect-0.8.3.exe ├── index.html ├── obj2js ├── 3d-model.obj ├── coin.obj ├── cube.obj ├── index.html ├── mario.mtl ├── mario.obj ├── mario.png ├── mario2.png ├── parse.js ├── wolf.obj ├── yoshi.mtl ├── yoshi.obj └── yoshi.png ├── package.json ├── w.js ├── w.min.full.js ├── w.min.full.zip ├── w.min.lite.js └── w.min.lite.zip /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # W 2 | A micro WebGL2 framework with a ton of features 3 | 4 | https://xem.github.io/W 5 | 6 | license: public domain 7 | 8 | Install via NPM with `npm install https://github.com/xem/W/#semver:1.0.1` 9 | -------------------------------------------------------------------------------- /demos/1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
7 |
8 | X
9 | Y
10 | Z
11 | 0
12 |
13 |
14 | |
15 |
16 |
21 |
22 | Camera 23 |
24 | x
25 | y
26 | z
27 | Directional light 34 |
35 | x
36 | y
37 | z
38 | Ambient light 40 |
41 |
42 | Clear color 44 | 45 | |
9 | 10 | 11 | |
12 |
13 |
19 | 20 |
21 | Group settings
22 |
25 | 23 | ry: 24 | 26 | Settings 27 | 28 | Size: 29 | 30 | rx: 31 | 32 | Background 33 | 34 | 35 | brick |
9 | 10 | 11 | |
12 |
13 | HTML
14 |
15 |
16 | 17 | JS 18 | 19 |
23 |
24 | 25 | 26 | Background 27 |
28 | Mix: 31 | 32 | 33 | 34 | Shading 35 |
36 | |
9 | 10 | 11 | |
12 |
13 |
14 | Settings
15 | 16 | Size 17 | 18 | rx 19 | 20 | ry 21 | 22 | rz 23 | 24 | Animation 25 | 26 | Delay 27 | 28 | 29 | 30 | 31 | 32 | 33 | |
10 | 11 | 12 | |
13 |
14 |
27 | Projection
28 |
29 | |
9 |
10 |
|
24 |
25 |
44 |
45 | |
10 |
11 |
|
25 |
26 |
46 |
47 | |
10 | 11 | |
12 |
14 |
15 | 16 |
18 |
19 | |
Options: float range ,
6 | max decimals (vertices): ,
7 | max decimals (textures): ,
8 | Unicode precision: , Indexed
9 | Smooth Animated
10 |
11 |
12 |
Original (0 bytes) | floats (0 bytes) | Unicode (0 bytes) 14 | |
---|---|---|
15 | | ||
Preview: original / floats / Unicode 16 | | ||