Standalone Interactive HTML Movie (SIHM)
A highly-portable, interactive way to visualize your simulations.
Summary | Examples | Installation guide
Summary
This package provides sihm, a command-line tool that takes as input a YAML file that defines geometry and properties of that geometry—position, velocity, color, etc.—vs. time and turns it into a standalone, interactive HTML movie.
- The output is a movie in the sense that the trajectories vs. time are fixed. You'll be able to pause, play, rewind, loop, etc. as a movie would.
- The output is interactive because you can move the camera around while the video is playing (or paused). You can also "attach" the camera to an object and follow that object around the sim.
- The output is a standalone HTML file, i.e., it is the only file you will need to run the interactive movie.
- HTML was selected because it is extermely portable. The output should work anywhere: Linux, Mac, Windows, your cell phone, etc.
Examples
Examples of sihm's output can be found here.
Installation
Linux
- Install the python package:
pip install sihm - Install the appropriate package—
rpmordeb, depending on you OS— from the latest release.
Mac
- Install the python package:
pip install sihm - Download and install the brew package from the latest release, e.g.,
brew install sihm*.rb.
Windows
- Install the python package:
pip install sihm - Install the system dependencies
- yarn
- nodejs >= 16
- cmake
Metadata
Release files for sihm 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sihm-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for sihm-0.0.5-py3-none-any.whl |
Release files / sihm-0.0.5-py3-none-any.whl
| Download URL | sihm-0.0.5-py3-none-any.whl |
|---|---|
| Size | 21.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f0e321fd83bd47e78a9cfbc3246188408f77d372e00599cdbf66969cf08eb3dd
|
|
BLAKE2b-256 checksum How to use checksums |
50e29929c5746748b6c7e210d0d567ac27540a53f9111dd4475d59cfc3163b81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.2
|
Security for sihm 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.