orbit

command
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2026 License: Apache-2.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command orbit shows six live native views standing on one ring in perspective, over a calibrated dial a WGSL shader draws on the floor. Each view is an instrument made of NSGo's own parts: a shader, a text field laid out as it is typed, a spring the pointer flings, switches, an effect pressed through and a staggered loop.

The ring is native 3D: each card turns around the ring's axis behind it (TransformOriginZ) in its parent's perspective. One angle drives every motion, on the platform's frame clock: the cards' turn, fade, lift, shadow and inner parallax, the dial's scale, the odometer in the header and the index's underline. A drag on the floor moves that angle on the main thread (PanValues) and lets go into a spring, so neither costs a commit per frame; a touchpad's swipe turns it as a drag does. Only the card in front takes the pointer, as it alone faces the viewer without a turn.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL