lib-prism · crate

kinogaki-prism

Libraryenvironment

Prism documents for Kinogaki.

Repository
lib-prism (kinogaki/lib-prism)
Folder
libs/lib-prism/crates/prism
Source
25 files, 6,110 lines
Tests
16 files, 2,519 lines
depends onused by tests alonedependencies for tests alone are listed below, not drawn

What it is

Prism documents for Kinogaki.

A Document is a flat, ordered set of path-addressed Elements. Each element has a type token, typed Property values (any DType, any shape, optionally animated by keyframes), string metadata, and may be wired to others through slot connections. The same document reads and writes as .prisma text, a binary crate (PRSMC), or a package (PRSMZ); the content, not the file name, selects the decoder.

Layers (over, unset, delete, disconnect, reorder) compose with overlay, diff computes one, and compose flattens reference arcs through a resolver.

Depends on

None.

Third-party

None.

Used by

CrateRepositoryAsWhat it is
kinogaki-animCore and the appnormalStudio's animation channels.
kinogaki-documentCore and the apptestsStudio's document: the scene, a tree of objects under one root, and the core network each object of a kind naming a context holds.
kinogaki-editorCore and the appnormalKinogaki Studio's editor: the document and everything the window shows of it, as parts one frame borrows one by one.
kinogaki-networkCore and the appnormalStudio's core networks (design: core-owned networks; "Cooking DAG for nodes is studio core").
kinogaki-plugin-hostCore and the appnormalStudio's plugin loader.
kinogaki-projectCore and the appnormalStudio's project files: a document as a Prism document.
kinogaki-testkitCore and the appnormalKinogaki Studio's core testkit: toy packages written against the SDK alone, so core is tested with no real plugin.

Modules

Public types and traits

At the crate root

Traits IntoPath

Structs DocumentElementErrorGlobLinkKeyframeLimitsLocationPathPathPatternPropertyResolvedDocumentValue

Enums DataDTypeEncodingErrorKindFormatHandleTypeInterp

Type aliases Result

By module: 27 public types and traits in 14 modules

aliases TypeAlias

compose ResolvedDocument

curve InterpKeysSegment

document DocumentGlobLink

dtype DType

element Element

encoding EncodingFormat

error ErrorErrorKindLocationResult

limits Limits

package AssetAssetsSceneEncoding

path IntoPathPath

pattern PathPattern

property HandleTypeKeyframeProperty

value DataValue

Besides these, 6 public functions at module level.