These documents describe the architecture and API direction of function-plot. Read them in this order when contributing to the next API generation:
- Vision — durable principles and repository-level philosophy.
- API refactor — concrete public contracts, lifecycle semantics, and implementation seams.
- Render pipeline — the current compile, sample/evaluate, and render architecture.
- Web workers — asynchronous interval sampling and worker performance considerations.
The current src/ implementation is the legacy v1-style API being migrated.
Use the vision and API refactor documents to guide new API work; use the
pipeline and worker notes to understand compatibility constraints and the
existing implementation.