Skip to content
Internals
Draft. This essay is a stub or a work in progress — read it as a sketch, not settled documentation.

Authoring Coordinate Transforms

GoFish ships several coordinate systems — linear, polar, bipolar, arcLengthPolar, wavy, clock — and they are pluggable. This essay will be a contributor guide to the CoordinateTransform interface and how to add a new one.

Planned contents

  • The CoordinateTransform type: transform, domain, and type.
  • How a transform is consumed during render, and by coord's scenegraph flattening.
  • Walkthrough: implementing a new transform end to end.
  • Gotchas — domains, grid lines, and adaptive resampling.

Source

Likely covers:: files under packages/gofish-graphics/src/ast/coordinateTransforms/. Add the covers: frontmatter when writing this up, then run pnpm --filter docs sync-backlinks.