AlterProgramming's picture
Initial venture-studio deploy: pixel_cursor + studio + app.py
1e3ce4c verified
Raw
History Blame Contribute Delete
1.84 kB
"""pixel_cursor β€” the cursor primitive that owns animation studio pixel mutation.
Public surface:
PixelCursor, open_cursor β€” the cursor type and entry point
Point, Region, Mask, Token, β€” selector types
Layer, Anchor3D, Selector
TemporalScope, FrameIndex, β€” temporal scope
FrameRange, ALL_FRAMES
DepthScope, OpacityProfile, β€” auxiliary scope
IdentityLock
Image, FrameStack, Artifact β€” artifacts (immutable; construct via cursor or loader)
load_image β€” disk loader
ease_between, step_on_stride, β€” timing primitives (A1 classical-animation layer)
hold_with_micro, AnimationSegment, interp_t, CURVES
ops β€” backend registration registry
Backends register concrete write_* via pixel_cursor.ops.register_backend(op, name, fn).
"""
from .cursor import PixelCursor, open_cursor
from .selectors import Point, Region, Mask, Token, Layer, Anchor3D, Selector
from .scope import (
TemporalScope,
FrameIndex,
FrameRange,
ALL_FRAMES,
DepthScope,
IdentityLock,
OpacityProfile,
)
from .artifact import Artifact, Image, FrameStack, load_image
from .timing import (
AnimationSegment,
ease_between,
step_on_stride,
hold_with_micro,
interp_t,
CURVES,
)
from . import ops
__all__ = [
"PixelCursor",
"open_cursor",
"Point",
"Region",
"Mask",
"Token",
"Layer",
"Anchor3D",
"Selector",
"TemporalScope",
"FrameIndex",
"FrameRange",
"ALL_FRAMES",
"DepthScope",
"OpacityProfile",
"IdentityLock",
"Artifact",
"Image",
"FrameStack",
"load_image",
"AnimationSegment",
"ease_between",
"step_on_stride",
"hold_with_micro",
"interp_t",
"CURVES",
"ops",
]