- Pixie's own streaming speech to text (sherpa-onnx, on device, Mac, Windows and Linux) that types as you speak; Apple's stays as the fallback - Canvas lays out trees, mind maps, timelines, layers, cycles, comparisons, quadrants, charts, tables, notes, code and wireframes, and edits by shape - 3D: new shapes, nested parts, copies, materials, shadows, motion, explode and cut, frames only on change - New app ID pixie.s41r4j.in and program name pixie; settings move across - Idle cost down from about 7% to under 0.5% CPU Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
36 lines
1.5 KiB
Markdown
36 lines
1.5 KiB
Markdown
# resources/
|
||
|
||
All media is loaded by **slot name** through `manifest.json`; code never hardcodes a path.
|
||
|
||
```jsonc
|
||
"sounds": {
|
||
"badge-pop": { "files": ["sounds/badge-pop-1.wav", "…-2", "…-3"], "gain": 0.8, "category": "ui" },
|
||
"pencil-paper-bed": { "files": ["…"], "category": "ambient", "bed": true }
|
||
}
|
||
```
|
||
|
||
- `files`: one or more variants (sounds pick one at random; icons/fonts/videos use the first).
|
||
- `gain`: per-slot gain (0–2), multiplied by the category gain (`ui`, `agent`, `ambient`) and master.
|
||
- `bed`: long looping sound; only one bed plays at a time.
|
||
|
||
## Replacing media
|
||
|
||
Drop a file at the same path (or point the manifest at a new one). No code changes.
|
||
Sounds and icons come from Pixie's own design packs (original work; the source packs are kept
|
||
outside the repo). Videos are still placeholders from
|
||
`npm run placeholders` (`scripts/gen-placeholders.mjs`). The script never overwrites existing files. Fonts are the upstream OFL releases
|
||
(IBM Plex Mono, VT323, Press Start 2P, Patrick Hand) from github.com/google/fonts, licences in `fonts/OFL-*.txt`.
|
||
|
||
Do not copy media from other products into this folder; use originals or CC0 sources.
|
||
|
||
## Theme
|
||
|
||
`theme.json` holds the design tokens (BUILD-SPEC §8). The UI reads it at startup and sets
|
||
them as CSS custom properties (`colors.ink` → `--ink`, `draw.sky` → `--draw-sky`).
|
||
|
||
## Local pack
|
||
|
||
`npm run assets:local` copies media you have locally into
|
||
`~/Library/Application Support/pixie.s41r4j.in/resources`, which the app loads before
|
||
these files. Use it for private testing; it never touches this folder.
|