Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.
TypeScript 3dagent-skillsai-agentsai-videobevyclaude-codegame-enginegpulinuxmacosmotion-designmotion-graphicsreactrusttypescriptvideo-editingvideo-renderingwgpuwindows
HG16: the finger curl places a knuckle from the hand's joint, whatever lies between (SOMA has a bone in the palm there: its fingers were worked out 8 cm from where they are). The audit on SOMA: finger pads on a cup 0 to 6, hand skin in a box 22 to 17 mm; turbo unchanged. The audit prints each hand part's nearness to the thing with FINGERS=1
shinyobjectz19ff72740ce0
diff --git a/systems/grab/src/hand.rs b/systems/grab/src/hand.rsindex 37f77daa..9c3a93af 100644--- a/systems/grab/src/hand.rs+++ b/systems/grab/src/hand.rs@@ -160,7 +160,8 @@ pub fn curl(skel: &Skeleton, turns: &mut [Quat], wrist: (Vec3, Quat), s: Side, tlet mut least = f32::MAX;for i in 0..=k {let j = &skel.joints[js[i]];- let p = pp + pr * skel.offset(js[i]);+ // (the knuckle from the hand's joint, whatever lies between: SOMA has a bone in the palm there)+ let p = pp + pr * if i == 0 { j.head - skel.joints[hand].head } else { skel.offset(js[i]) };let q = (pr * base[i] * Quat::from_axis_angle(axis(i), bend[i])).normalize();if i == k && !skin[k].is_empty() {for o in &skin[k] {diff --git a/tools/hands-audit/src/main.rs b/tools/hands-audit/src/main.rsindex 1defe6c9..ffa16321 100644--- a/tools/hands-audit/src/main.rs+++ b/tools/hands-audit/src/main.rs@@ -80,6 +80,17 @@ fn audit(skel: &Skeleton, name: &str, base: &dyn Fn(f32) -> Pose, take: &Take, ugap = gap.min(d);}}+ // FINGERS=1: each part of the hands, how near its skin is to the thing a third of a second into the hold+ if std::env::var("FINGERS").is_ok() && held && (t - (take.grab + 0.3)).abs() < 0.009 {+ let mut by: std::collections::BTreeMap<String, f32> = Default::default();+ for (sample, p) in skel.surface.iter().zip(&skin) {+ if hands_part(&sample.part) {+ let e = by.entry(format!("{}{}", sample.part, if p.x > at.pos[0].x { "L" } else { "R" })).or_insert(f32::MAX);+ *e = e.min(f.thing.distance(*p));+ }+ }+ eprintln!("{name} at {t:.2}: nearest skin of each part to the thing, mm: {}", by.iter().map(|(k, v)| format!("{k} {:.0}", v * 1000.0)).collect::<Vec<_>>().join(", "));+ }pads += touching.len();if held && t >= take.grab + 0.05 {w.fewest_pads = w.fewest_pads.min(pads);