tools/sprite-silhouette: README sample uses the real void/neutral size
Some checks failed
CultMesh QUIC native / Build win32-x64 (pull_request) Has been skipped
CultMesh QUIC native / Build linux-x64 (pull_request) Has been skipped
CultMesh QUIC native / Release native binaries (pull_request) Has been skipped
CultMesh portability and performance / ubuntu-latest one-command multiplayer onboarding (pull_request) Has been cancelled
CultMesh portability and performance / windows-latest one-command multiplayer onboarding (pull_request) Has been cancelled
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Has been cancelled
CultMesh portability and performance / windows-latest reactive semantics and leases (pull_request) Has been cancelled
CultNet cross-runtime interop / C# / TypeScript / Rust / Python / Kotlin (pull_request) Has been cancelled
CultMesh QUIC native / Verify committed binaries match SHA256SUMS (pull_request) Has been cancelled
Some checks failed
CultMesh QUIC native / Build win32-x64 (pull_request) Has been skipped
CultMesh QUIC native / Build linux-x64 (pull_request) Has been skipped
CultMesh QUIC native / Release native binaries (pull_request) Has been skipped
CultMesh portability and performance / ubuntu-latest one-command multiplayer onboarding (pull_request) Has been cancelled
CultMesh portability and performance / windows-latest one-command multiplayer onboarding (pull_request) Has been cancelled
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Has been cancelled
CultMesh portability and performance / windows-latest reactive semantics and leases (pull_request) Has been cancelled
CultNet cross-runtime interop / C# / TypeScript / Rust / Python / Kotlin (pull_request) Has been cancelled
CultMesh QUIC native / Verify committed binaries match SHA256SUMS (pull_request) Has been cancelled
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
62c734f5b2
commit
86faf53f86
1 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
Turns a sprite's alpha channel into a simplified polygon in percent coordinates, for CSS
|
||||
`shape-outside: polygon()`, so text wraps around the figure instead of its rectangle. Zero
|
||||
dependencies: Node 18+ (`node:zlib` does the PNG inflate). Entry point: `silhouette.mjs`.
|
||||
dependencies: Node (tested on 24; `node:zlib` does the PNG inflate). Entry point: `silhouette.mjs`.
|
||||
Live and tested; there is no packaging or release for it, it is a repo tool.
|
||||
|
||||
## First call
|
||||
|
|
@ -17,7 +17,7 @@ tool reads it and every PNG it names, and writes nothing there. Output is a JSON
|
|||
pose id, `mind/label` in catalogue order (`void/neutral`, `eureka/probe`, ...):
|
||||
|
||||
```json
|
||||
{ "void/neutral": { "width": 577, "height": 579,
|
||||
{ "void/neutral": { "width": 605, "height": 461,
|
||||
"points": [[42.98, 6.72], [49.59, 8.24], "..."],
|
||||
"css": "polygon(42.98% 6.72%, 49.59% 8.24%, ...)" } }
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue