Metadata-Version: 2.5
Name: vantagekit
Version: 0.8.0
Summary: Camera and input controls for viewers of terrain, ocean and vessel scenes: orbit, chase and point-of-view camera math, frame-rate independent smoothing, and bindings as data, with Omniverse Kit adapters.
Project-URL: Demo, https://lhzn-io.github.io/vantagekit/demo/
Project-URL: Issues, https://github.com/lhzn-io/vantagekit/issues
Project-URL: Source, https://github.com/lhzn-io/vantagekit
Author-email: Long Horizon Observatory <dfry@lhzn.io>
License: MIT License
        
        Copyright (c) 2026 Long Horizon Observatory
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: camera,gamepad,input,navigation,omniverse,viewer
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Multimedia :: Graphics :: 3D Rendering
Classifier: Topic :: Scientific/Engineering :: Visualization
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# vantagekit (Python)

Camera and input controls for viewers of terrain, ocean and vessel scenes. This package is the
Python half of [vantagekit](https://github.com/lhzn-io/vantagekit), whose JavaScript modules give
three.js and MapLibre GL JS viewers the same navigation in the browser
([live demo](https://lhzn-io.github.io/vantagekit/demo/)).

```bash
pip install vantagekit
```

## vantagekit.core

Standard library only, so it runs anywhere Python 3.10 or later does: in tests, in tools, or in a
viewer built on any renderer.

- **Stage frames** for Y-up and Z-up scenes in any unit (`UpFrame`), with headings and yaw from
  orientations.
- **Camera math** for orbit, chase and point-of-view cameras around a moving target (`orbit_eye`,
  `look_at_matrix`). Every distance is in meters and every time constant in seconds.
- **Smoothing** that does not depend on frame rate (`Smoothed3`, `SmoothedAngle`, `exp_alpha`):
  the filter is solved exactly for a target moving steadily between frames, so the lag behind a
  moving target is its speed times the time constant at any frame time.
- **Bindings as data** (`Binding`, `DEFAULT_BINDINGS`): press, hold, axis and delta kinds, exact
  modifiers, and ordered layers, so an app layer can take the sticks from the camera while it is on.
- **Target selection** (`CallbackTargets`, `Pose`).

```python
from vantagekit.core import SmoothedAngle, UpFrame, orbit_eye
```

## vantagekit.kit

Adapters for Omniverse Kit 109 and 110 (Isaac Sim 6): a camera rig with free, chase,
point-of-view and orbit modes, a handover to Kit's own navigation, a keyboard, mouse and gamepad
input router, and a view badge. These import `carb` and `omni` and so work only inside Kit. A Kit
app usually loads them as the `lhzn.vantagekit` extension from the repository's `kit/exts` folder;
see the [main README](https://github.com/lhzn-io/vantagekit#omniverse-kit).

## Versions

The package version follows the repository's release tags, so `vantagekit==0.8.0` matches the
JavaScript modules served from `@v0.8.0`. MIT license, Long Horizon Observatory.
