asciify-engine 1.0.101 → 1.0.103
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 +8 -8
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +22 -3
- package/dist/index.d.ts +22 -3
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/skills/asciify-engine/SKILL.md +4 -2
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@ description: Convert images, videos, GIFs, webcam streams, text, and animated ba
|
|
|
8
8
|
Use this skill for the `asciify-engine` npm package.
|
|
9
9
|
|
|
10
10
|
**Package:** `asciify-engine`
|
|
11
|
-
**Current version:** `1.0.
|
|
11
|
+
**Current version:** `1.0.102`
|
|
12
12
|
**Playground:** https://asciify.org
|
|
13
13
|
**GitHub:** https://github.com/ayangabryl/asciify-engine
|
|
14
14
|
|
|
@@ -36,7 +36,7 @@ npm install asciify-engine
|
|
|
36
36
|
For existing apps, install the latest tested version:
|
|
37
37
|
|
|
38
38
|
```bash
|
|
39
|
-
npm install asciify-engine@1.0.
|
|
39
|
+
npm install asciify-engine@1.0.102
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
## Mental Model
|
|
@@ -418,6 +418,7 @@ const stop = await asciifyVideo('/hero.mp4', canvas, {
|
|
|
418
418
|
start: 'top 88%',
|
|
419
419
|
end: 'bottom 18%',
|
|
420
420
|
scrub: 0.45,
|
|
421
|
+
speed: 1.35,
|
|
421
422
|
from: 2.2,
|
|
422
423
|
to: 6.65,
|
|
423
424
|
},
|
|
@@ -450,6 +451,7 @@ const stop = await asciifyVideo('/hero.mp4', canvas, {
|
|
|
450
451
|
|
|
451
452
|
- Use `scroll` for time-to-scroll mapping, not custom `video.currentTime` loops.
|
|
452
453
|
- Pass the same `from`/`to` as `trim.start`/`trim.end` when scrubbing a clipped range.
|
|
454
|
+
- Use `scroll.speed` for faster or slower scrub pacing. `speed: 2` reaches the end in half the scroll distance; `speed: 0.5` takes twice the distance.
|
|
453
455
|
- Use `fps: 30-60`; choose `60` for smooth short hero clips, `24-30` for heavy fullcolor.
|
|
454
456
|
- Use `maxRenderDimension: 960-1280` for large full-width hero videos. Use `2048` only when truly needed.
|
|
455
457
|
- Use `fontSize: 4-6` for detailed hero ASCII; below `4px` is expensive and should use compact text-frame paths only.
|