three-rb 0.2.1 → 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 +26 -2
- data/README.md +12 -6
- data/docs/browser-runtime.md +9 -7
- data/docs/cloudflare-pages.md +205 -0
- data/docs/implementation-plan.md +6 -4
- data/docs/next-work.md +26 -25
- data/docs/publishing.md +1 -1
- data/docs/release-readiness.md +11 -11
- data/docs/standalone-browser-app.md +5 -3
- data/examples/browser/README.md +3 -1
- data/examples/browser/composition/index.html +65 -4
- data/examples/browser/cube/README.md +3 -3
- data/examples/browser/cube/index.html +61 -6
- data/examples/browser/cubemap/index.html +60 -5
- 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/picking/index.html +61 -6
- data/examples/browser/postprocessing/index.html +61 -6
- data/examples/browser/primitives/index.html +61 -6
- data/examples/browser/ruby/README.md +1 -1
- 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/index.html +61 -6
- data/examples/browser/shared/boot.mjs +115 -13
- data/examples/browser/shared/config.mjs +3 -0
- data/examples/browser/shared/smoke_test_helpers.mjs +13 -8
- data/examples/browser/textures/index.html +61 -6
- 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 +136 -9
- data/lib/three/version.rb +1 -1
- data/package.json +9 -5
- data/pnpm-lock.yaml +1235 -31
- metadata +10 -3
- data/examples/browser/ruby/assets/studio.hdr +0 -5
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
|
|
@@ -73,6 +74,11 @@ files:
|
|
|
73
74
|
- examples/browser/cubemap/index.html
|
|
74
75
|
- examples/browser/cubemap/main.rb
|
|
75
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
|
|
76
82
|
- examples/browser/gltf/README.md
|
|
77
83
|
- examples/browser/gltf/assets/animated_triangle.gltf
|
|
78
84
|
- examples/browser/gltf/assets/compressed_triangle.gltf
|
|
@@ -98,7 +104,7 @@ files:
|
|
|
98
104
|
- examples/browser/primitives/main.rb
|
|
99
105
|
- examples/browser/primitives/smoke_test.mjs
|
|
100
106
|
- examples/browser/ruby/README.md
|
|
101
|
-
- examples/browser/ruby/assets/
|
|
107
|
+
- examples/browser/ruby/assets/helvetiker_regular.typeface.json
|
|
102
108
|
- examples/browser/ruby/boot.mjs
|
|
103
109
|
- examples/browser/ruby/index.html
|
|
104
110
|
- examples/browser/ruby/main.rb
|
|
@@ -110,6 +116,7 @@ files:
|
|
|
110
116
|
- examples/browser/serialization/main.rb
|
|
111
117
|
- examples/browser/serialization/smoke_test.mjs
|
|
112
118
|
- examples/browser/shared/boot.mjs
|
|
119
|
+
- examples/browser/shared/config.mjs
|
|
113
120
|
- examples/browser/shared/smoke_test_helpers.mjs
|
|
114
121
|
- examples/browser/textures/README.md
|
|
115
122
|
- examples/browser/textures/assets/checker.svg
|
|
@@ -221,7 +228,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
221
228
|
requirements:
|
|
222
229
|
- - ">="
|
|
223
230
|
- !ruby/object:Gem::Version
|
|
224
|
-
version: '3.
|
|
231
|
+
version: '3.3'
|
|
225
232
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
226
233
|
requirements:
|
|
227
234
|
- - ">="
|