summaryrefslogtreecommitdiff
path: root/rust/wasm/README.md
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2026-04-07 01:09:13 +0200
committerMaze Winther <mazewinther@gmail.com>2026-04-07 01:09:13 +0200
commite4b67094e757917588fb624a30aa046667403add (patch)
tree55452692eac69a5a63b58f2a5cdb701dd7023d68 /rust/wasm/README.md
parent79df73643185c02493364a077402726d1fa7b9ec (diff)
downloadopencut-e4b67094e757917588fb624a30aa046667403add.tar.gz
refactor: split effects and masks into dedicated rust crates, introduce MediaTime and FrameRate
Diffstat (limited to 'rust/wasm/README.md')
-rw-r--r--rust/wasm/README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/rust/wasm/README.md b/rust/wasm/README.md
index e90c58c2..8147bb08 100644
--- a/rust/wasm/README.md
+++ b/rust/wasm/README.md
@@ -11,7 +11,10 @@ npm install opencut-wasm
## Usage
```ts
-import { formatTimeCode } from "opencut-wasm";
+import { formatTimecode, mediaTimeFromSeconds } from "opencut-wasm";
+
+const ticks = mediaTimeFromSeconds(1.5);
+const label = formatTimecode({ ticks });
```
All exports are documented in the [TypeScript definitions](./opencut_wasm.d.ts).