mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 12:44:11 -10:00
* raea motion: clips capped at 10 s (300 frames), Kimodo's documented limit Past 10 s a clip drifts and breaks up (Kimodo docs, key_concepts/limitations.md). Measured 11-27: a 12.3 s talk clip's feet spread 47 -> 69 cm, the shoulders rose 9 cm and the last half second glitched. The error says how to go longer: 10 s clips chained through --keys holding the last frames of the one before. * raea motion --seeds N: the best of N takes by the body's faults (foot drift while planted, shoulder rise, hip drop, a hand or forearm into the torso or head), each take's score printed and the kept one's written into the clip; examples/motion runs the verb alone * Fold score.rs's vector helpers onto glam's Vec3 (the dupes gate: sub and dot matched core/grow's and core/sdf's): a point inside a capsule and a foot's sideways drift, the same arithmetic --------- Co-authored-by: shinyobjectz <[email protected]>
13 lines
533 B
Rust
13 lines
533 B
Rust
//! `raea motion` without the rest of the CLI, for working on this crate while the workspace's other crates are mid-change:
|
|
//! `lane build -- cargo run --release -p raea-app-motion --example motion -- "LINE" --seeds 4 -o CLIP.json`
|
|
fn main() {
|
|
let args: Vec<String> = std::iter::once("motion".to_string()).chain(std::env::args().skip(1)).collect();
|
|
match raea_app_motion::motion(&args) {
|
|
Ok(s) => println!("{s}"),
|
|
Err(e) => {
|
|
eprintln!("{e}");
|
|
std::process::exit(1)
|
|
}
|
|
}
|
|
}
|