Skip to content

docs: point at the hosted endpoint, and at what it cannot do - #14

Merged
timzifer merged 1 commit into
mainfrom
docs/hosted-marks
Sep 10, 2026
Merged

timzifer merged 1 commit into
mainfrom
docs/hosted-marks

Conversation

@timzifer

@timzifer timzifer commented Sep 10, 2026 •

Copy link
Copy Markdown
Owner

Adds a Hosted marks section between Output and Gallery.

Covers the endpoint (api.blazon.build/v1/mark/{version}.{svg|png|txt}), that it runs this code — the deploy compares every response against a go run of the same version byte for byte — and the limits of the deployment as distinct from limits of the library:

  • SVG is unrestricted to 1024; its cost is flat in the requested size.
  • PNG carries measured per-renderer ceilings, currently 48–112, because rasterising and deflating cost the square of the edge length against a ten-millisecond CPU budget.
  • flowfield is not served as PNG at all: its streamline integration costs the same at sixteen pixels as at five hundred, so no size fits.

Stated explicitly so a reader does not conclude the library has those limits. blazon.PNG has no ceiling and excludes no renderer.

🤖 Generated with Claude Code

https://claude.ai/code/session_01SU6ycrqMbQ8AVxzxYgdC5C

A reader who wants a mark in a README should not have to write a program
to get one, and there is now an endpoint that serves them. It runs this
code: the deploy compares every response against a go run of the same
version, byte for byte, and refuses to ship on a disagreement.

What it cannot do is worth as much as what it can. The deployment has ten
milliseconds of CPU per request, which SVG does not notice — its cost is
the renderer's own maths and is flat in the requested size — and which
PNG feels immediately, because rasterising and deflating cost the square
of the edge length. Hence measured per-renderer ceilings, and hence
flowfield being absent from PNG entirely: its streamline integration
costs the same at sixteen pixels as at five hundred.

Said plainly here because the alternative is someone concluding the
library has those limits. It does not. That distinction is the reason to
depend on a library with no dependencies rather than on somebody's
endpoint.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SU6ycrqMbQ8AVxzxYgdC5C
@timzifer
timzifer merged commit ce5d9e5 into main Sep 10, 2026
10 checks passed
@timzifer
timzifer deleted the docs/hosted-marks branch September 10, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant