fragmentcolor 0.12.4 → 0.12.6
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 +5 -5
- package/fragmentcolor.d.ts +268 -328
- package/fragmentcolor.js +557 -568
- package/fragmentcolor_bg.wasm +0 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# FragmentColor for JavaScript (WASM)
|
|
2
2
|
|
|
3
|
-
[FragmentColor](https://fragmentcolor.org) is a
|
|
3
|
+
[FragmentColor](https://fragmentcolor.org) is a universal GPU abstraction for Rust, JavaScript, Python, Swift, and Kotlin. This package is the JavaScript binding, compiled to WebAssembly.
|
|
4
4
|
|
|
5
|
-
This README is specific to the npm package. For Rust usage, see the repository README.md. For Python, see
|
|
5
|
+
This README is specific to the npm package. For Rust usage, see the repository README.md. For Python, see `platforms/python/README.md` in the repository.
|
|
6
6
|
|
|
7
7
|
- Documentation: https://fragmentcolor.org/welcome
|
|
8
8
|
- API Reference: https://fragmentcolor.org/api
|
|
@@ -100,10 +100,10 @@ start();
|
|
|
100
100
|
|
|
101
101
|
```bash
|
|
102
102
|
# Build WASM package (wasm-pack target web) and sync into local JS examples
|
|
103
|
-
./build_web # add --debug for a debug build
|
|
103
|
+
./fc build_web # add --debug for a debug build
|
|
104
104
|
|
|
105
105
|
# Run JS demos (Vite dev server) and open browser
|
|
106
|
-
./run_web repl # or: ./run_web multipass | ./run_web headless
|
|
106
|
+
./fc run_web repl # or: ./fc run_web multipass | ./fc run_web headless
|
|
107
107
|
|
|
108
108
|
# Manual alternative
|
|
109
109
|
pnpm --dir examples/javascript install
|
|
@@ -139,4 +139,4 @@ Platform support is aligned with upstream wgpu:
|
|
|
139
139
|
|
|
140
140
|
---
|
|
141
141
|
|
|
142
|
-
Note on generation: this
|
|
142
|
+
Note on generation: this README.md is generated from README.tpl.md (same directory) and the repository README.md examples by the build script. Do not edit the generated README.md directly.
|