telva-core
v1.1.1
Published
The telva core renderer and utilities.
Maintainers
Readme
telva-core
Rendering and interaction engine primitives that power telva.
Install
npm i telva-corePeer dependencies
react >= 16.8react-dom >= 16.8
What you get
- High-performance renderer components (
Renderer, SVG/HTML containers, cursor infrastructure). - Unified input normalization for pointer, touch, wheel, and keyboard flows.
- Geometry-aware hooks for bounds, selection, handle interaction, camera CSS, and shape events.
- Utility/type foundations for editor-layer packages.
How it works internally
inputs.tsconverts browser events into consistent editor-nativeTLPointerInfo/ keyboard models.components/Renderercomposes canvas layers, shape trees, indicators, handles, and overlays.hooks/*encapsulate cross-cutting behavior (positioning, zoom, bounds events, performance CSS).TLShapeUtilprovides a contract for shape-specific render/hit-test logic used by higher layers.telva-intersect+telva-vecare used for spatial math and collision checks.
Dependency role in the ecosystem
telva-core is the engine layer between low-level geometry (telva-vec, telva-intersect) and full product integration (telva).
Workspace scripts
yarn dev
yarn build
yarn test
yarn lintLicense
AGPL-3.0-only
