krayon
0.24.0indexedMultiplatform drawing library offers a canvas and chart rendering framework for diverse environments. Explore documentation and APIs for detailed usage.
38
Stars
—
Used by
dependents
—
Health
/ 100
Multiplatform drawing library offers a canvas and chart rendering framework for diverse environments. Explore documentation and APIs for detailed usage.
Multiplatform drawing library. Provides a multiplatform canvas and chart rendering framework, heavily inspired by D3.
Guides, live examples, and the API reference are published at juullabs.github.io/krayon:
Krayon is published as small, focused modules under the com.juul.krayon group:
Copyright 2021 JUUL Labs, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance the License.
You may obtain a copy of the License at
http:
Unless applicable law agreed to writing, software
distributed under the License distributed an BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express implied.
See the License the specific language governing permissions
limitations under the License.
| Module | Description |
|---|
box | Aggregate module exporting all other published modules (except compose) |
core | Shared internals |
color | Multiplatform color representation and operations |
kanvas | Kanvas drawing interface with platform-specific (Android, HTML, Core Graphics) and multiplatform (SVG) implementations |
element | Retained tree of drawing elements — Krayon's stand-in for the DOM |
selection | Data-driven transformation of the element tree (à la d3-selection) |
scale | Mapping data domains to visual ranges (à la d3-scale) |
shape | Line, area, pie, and arc generators (à la d3-shape) |
axis | Reference marks for scales (à la d3-axis) |
hierarchy | Hierarchical data and treemap layout (à la d3-hierarchy) |
interpolate | Blending/picking values between start and stop values (à la d3-interpolate) |
time | Calendar intervals for time-based ticks (à la d3-time) |
compose | Compose Multiplatform Kanvas and ElementView composables |
element-view | Android View for rendering an element tree off the main thread |
Surfaced from shared tags and platforms — no rankings paid for.