phoria2 1.0.0-rc.1 → 1.0.0-rc.2
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.
- package/README.md +3 -4
- package/dist/core.js +1 -1
- package/dist/core.js.map +1 -1
- package/package.json +5 -6
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ business apps: charts, labelled scenes, diagrams, dashboards and product viewers
|
|
|
7
7
|
- **Small**: about 46 KB gzipped for a lit, interactive scene; charts, particles and glTF are
|
|
8
8
|
separate imports, and the heavier parts (shadows, HDR environments, GPU picking) load only when used.
|
|
9
9
|
- **Idle when nothing changes**: a view draws only when something in it changed, so a dashboard of
|
|
10
|
-
many views
|
|
10
|
+
many views only updates when needed.
|
|
11
11
|
- **Tells you what to write**: every option is checked, and a mistake throws an error that names
|
|
12
12
|
the fix - pass `colour` and you get `Material: use 'color'`. Written to be easy for coding
|
|
13
13
|
agents too.
|
|
@@ -106,7 +106,7 @@ export function SpinningBox({ color }) {
|
|
|
106
106
|
```
|
|
107
107
|
|
|
108
108
|
A full example, with a chart that follows its data, is in
|
|
109
|
-
[`examples/react`](https://github.com/kevinroast/
|
|
109
|
+
[`examples/react`](https://github.com/kevinroast/phoria2/tree/main/examples/react).
|
|
110
110
|
|
|
111
111
|
## What's in the package
|
|
112
112
|
|
|
@@ -124,8 +124,7 @@ Any browser with WebGL 2: current Chrome, Edge, Firefox and Safari (desktop and
|
|
|
124
124
|
## Examples
|
|
125
125
|
|
|
126
126
|
The demo gallery shows each feature and a few showcase scenes; its source is in
|
|
127
|
-
[`demos/`](https://github.com/kevinroast/
|
|
128
|
-
reasoning behind the API are in [`API-DESIGN.md`](https://github.com/kevinroast/kevs3d/blob/master/phoria2/API-DESIGN.md).
|
|
127
|
+
[`demos/`](https://github.com/kevinroast/phoria2/tree/main/demos).
|
|
129
128
|
|
|
130
129
|
## Licence
|
|
131
130
|
|
package/dist/core.js
CHANGED
|
@@ -2194,7 +2194,7 @@ var en = class extends V {
|
|
|
2194
2194
|
];
|
|
2195
2195
|
}
|
|
2196
2196
|
static HINTS = {
|
|
2197
|
-
fog: "fog isn't supported
|
|
2197
|
+
fog: "fog isn't supported",
|
|
2198
2198
|
lights: "add lights as children: scene.add(new DirectionalLight({ ... }))",
|
|
2199
2199
|
envMap: "use 'environment': 'studio', or an .hdr url",
|
|
2200
2200
|
environmentMap: "use 'environment': 'studio', or an .hdr url",
|