three-rb 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +38 -2
- data/README.md +14 -6
- data/docs/browser-runtime.md +10 -6
- data/docs/cloudflare-pages.md +205 -0
- data/docs/implementation-plan.md +6 -4
- data/docs/loaded-assets-design.md +1 -1
- data/docs/next-work.md +26 -25
- data/docs/publishing.md +4 -1
- data/docs/release-readiness.md +11 -11
- data/docs/standalone-browser-app.md +8 -2
- data/examples/browser/README.md +5 -1
- data/examples/browser/composition/index.html +65 -4
- data/examples/browser/composition/main.rb +2 -2
- data/examples/browser/cube/README.md +3 -3
- data/examples/browser/cube/index.html +61 -6
- data/examples/browser/cubemap/assets/checker.svg +11 -0
- data/examples/browser/cubemap/index.html +60 -5
- data/examples/browser/cubemap/main.rb +1 -1
- data/examples/browser/dango/README.md +26 -0
- data/examples/browser/dango/boot.mjs +6 -0
- data/examples/browser/dango/index.html +197 -0
- data/examples/browser/dango/main.rb +278 -0
- data/examples/browser/dango/smoke_test.mjs +232 -0
- data/examples/browser/gltf/index.html +60 -5
- data/examples/browser/gltf/main.rb +2 -2
- data/examples/browser/picking/index.html +61 -6
- data/examples/browser/postprocessing/index.html +61 -6
- data/examples/browser/primitives/assets/checker.svg +11 -0
- data/examples/browser/primitives/index.html +61 -6
- data/examples/browser/primitives/main.rb +1 -1
- data/examples/browser/ruby/README.md +2 -0
- data/examples/browser/ruby/assets/helvetiker_regular.typeface.json +1 -0
- data/examples/browser/ruby/index.html +112 -8
- data/examples/browser/ruby/main.rb +2 -6
- data/examples/browser/serialization/assets/checker.svg +11 -0
- data/examples/browser/serialization/index.html +61 -6
- data/examples/browser/serialization/main.rb +1 -1
- data/examples/browser/shared/boot.mjs +116 -14
- data/examples/browser/shared/config.mjs +3 -0
- data/examples/browser/shared/smoke_test_helpers.mjs +13 -8
- data/examples/browser/textures/assets/checker.svg +11 -0
- data/examples/browser/textures/index.html +61 -6
- data/examples/browser/textures/main.rb +2 -2
- data/exe/three-rb +1 -0
- data/lib/three/backends/threejs/parameters.rb +4 -1
- data/lib/three/backends/threejs/ruby_wasm_adapter.rb +8 -2
- data/lib/three/generators/browser_example.rb +220 -12
- data/lib/three/version.rb +1 -1
- data/package.json +9 -5
- data/pnpm-lock.yaml +1235 -31
- metadata +19 -7
- /data/examples/browser/{assets → composition/assets}/checker.svg +0 -0
- /data/examples/browser/{assets → gltf/assets}/animated_triangle.gltf +0 -0
- /data/examples/browser/{assets → gltf/assets}/compressed_triangle.gltf +0 -0
- /data/examples/browser/{assets → gltf/assets}/triangle.gltf +0 -0
- /data/examples/browser/{assets → textures/assets}/studio.hdr +0 -0
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: three-rb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- LEF
|
|
@@ -49,6 +49,7 @@ files:
|
|
|
49
49
|
- LICENSE
|
|
50
50
|
- README.md
|
|
51
51
|
- docs/browser-runtime.md
|
|
52
|
+
- docs/cloudflare-pages.md
|
|
52
53
|
- docs/implementation-plan.md
|
|
53
54
|
- docs/loaded-assets-design.md
|
|
54
55
|
- docs/next-work.md
|
|
@@ -56,12 +57,8 @@ files:
|
|
|
56
57
|
- docs/release-readiness.md
|
|
57
58
|
- docs/standalone-browser-app.md
|
|
58
59
|
- examples/browser/README.md
|
|
59
|
-
- examples/browser/assets/animated_triangle.gltf
|
|
60
|
-
- examples/browser/assets/checker.svg
|
|
61
|
-
- examples/browser/assets/compressed_triangle.gltf
|
|
62
|
-
- examples/browser/assets/studio.hdr
|
|
63
|
-
- examples/browser/assets/triangle.gltf
|
|
64
60
|
- examples/browser/composition/README.md
|
|
61
|
+
- examples/browser/composition/assets/checker.svg
|
|
65
62
|
- examples/browser/composition/boot.mjs
|
|
66
63
|
- examples/browser/composition/index.html
|
|
67
64
|
- examples/browser/composition/main.rb
|
|
@@ -72,11 +69,20 @@ files:
|
|
|
72
69
|
- examples/browser/cube/main.rb
|
|
73
70
|
- examples/browser/cube/smoke_test.mjs
|
|
74
71
|
- examples/browser/cubemap/README.md
|
|
72
|
+
- examples/browser/cubemap/assets/checker.svg
|
|
75
73
|
- examples/browser/cubemap/boot.mjs
|
|
76
74
|
- examples/browser/cubemap/index.html
|
|
77
75
|
- examples/browser/cubemap/main.rb
|
|
78
76
|
- examples/browser/cubemap/smoke_test.mjs
|
|
77
|
+
- examples/browser/dango/README.md
|
|
78
|
+
- examples/browser/dango/boot.mjs
|
|
79
|
+
- examples/browser/dango/index.html
|
|
80
|
+
- examples/browser/dango/main.rb
|
|
81
|
+
- examples/browser/dango/smoke_test.mjs
|
|
79
82
|
- examples/browser/gltf/README.md
|
|
83
|
+
- examples/browser/gltf/assets/animated_triangle.gltf
|
|
84
|
+
- examples/browser/gltf/assets/compressed_triangle.gltf
|
|
85
|
+
- examples/browser/gltf/assets/triangle.gltf
|
|
80
86
|
- examples/browser/gltf/boot.mjs
|
|
81
87
|
- examples/browser/gltf/index.html
|
|
82
88
|
- examples/browser/gltf/main.rb
|
|
@@ -92,23 +98,29 @@ files:
|
|
|
92
98
|
- examples/browser/postprocessing/main.rb
|
|
93
99
|
- examples/browser/postprocessing/smoke_test.mjs
|
|
94
100
|
- examples/browser/primitives/README.md
|
|
101
|
+
- examples/browser/primitives/assets/checker.svg
|
|
95
102
|
- examples/browser/primitives/boot.mjs
|
|
96
103
|
- examples/browser/primitives/index.html
|
|
97
104
|
- examples/browser/primitives/main.rb
|
|
98
105
|
- examples/browser/primitives/smoke_test.mjs
|
|
99
106
|
- examples/browser/ruby/README.md
|
|
107
|
+
- examples/browser/ruby/assets/helvetiker_regular.typeface.json
|
|
100
108
|
- examples/browser/ruby/boot.mjs
|
|
101
109
|
- examples/browser/ruby/index.html
|
|
102
110
|
- examples/browser/ruby/main.rb
|
|
103
111
|
- examples/browser/ruby/smoke_test.mjs
|
|
104
112
|
- examples/browser/serialization/README.md
|
|
113
|
+
- examples/browser/serialization/assets/checker.svg
|
|
105
114
|
- examples/browser/serialization/boot.mjs
|
|
106
115
|
- examples/browser/serialization/index.html
|
|
107
116
|
- examples/browser/serialization/main.rb
|
|
108
117
|
- examples/browser/serialization/smoke_test.mjs
|
|
109
118
|
- examples/browser/shared/boot.mjs
|
|
119
|
+
- examples/browser/shared/config.mjs
|
|
110
120
|
- examples/browser/shared/smoke_test_helpers.mjs
|
|
111
121
|
- examples/browser/textures/README.md
|
|
122
|
+
- examples/browser/textures/assets/checker.svg
|
|
123
|
+
- examples/browser/textures/assets/studio.hdr
|
|
112
124
|
- examples/browser/textures/boot.mjs
|
|
113
125
|
- examples/browser/textures/index.html
|
|
114
126
|
- examples/browser/textures/main.rb
|
|
@@ -216,7 +228,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
216
228
|
requirements:
|
|
217
229
|
- - ">="
|
|
218
230
|
- !ruby/object:Gem::Version
|
|
219
|
-
version: '3.
|
|
231
|
+
version: '3.3'
|
|
220
232
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
221
233
|
requirements:
|
|
222
234
|
- - ">="
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|