T49: Ely moves all the time, as the films move her, which the owner asked for after 0.1.4, where she stood still but for a press: rigged from the icon's paths in layers of one color, each a mask gpui moves with a matrix of its own at every frame, she breathes, sways, blinks and glances, and each mood moves her, easing from one act to the next; shot's snap writes a child window's frames
CI / platforms (ubuntu-24.04) (push) Successful in 1m38s
CI / platforms (windows-latest) (push) Successful in 2m2s
CI / macos (push) Successful in 13m50s

This commit is contained in:
ZacharyZhang-NY committed 2026-10-18 14:36:57 -04:00
1 parent c3f1422cbc
commit 9d9144f25e
11 files changed
+1017 -382

No files matched your search

+14
View File
@@ -38,11 +38,25 @@ fn main() {
number.expect("the window lives").expect("a window number")
};
let mut aim = main;
let mut snaps = 0;
capture::front(number(aim, cx)).expect("the window on screen");
cx.background_executor().timer(Duration::from_secs(1)).await;
for spec in &keys {
match spec.as_str() {
"wait" => cx.background_executor().timer(Duration::from_secs(1)).await,
"snap" => {
snaps += 1;
let frames = capture::frames(number(aim, cx)).expect("the frames");
for (index, (child, _)) in frames.into_iter().skip(1).enumerate() {
let path =
out.replace(".png", &format!(".child{index}.snap{snaps}.png"));
capture::snapshot(child, std::path::Path::new(&path))
.expect("a child's picture");
log::info!(
"shot: snap {snaps}, child window {child}, wrote {path}"
);
}
}
"to:main" => {
aim = main;
capture::front(number(aim, cx)).expect("the window on screen");