SHOOT(3VRMFIG)Pyon manual · the pictures of the VRM write-up (tools/vrm-figures.py, Python)SHOOT(3VRMFIG)

NAME

shoot — photograph each view in headless Chrome

SYNOPSIS

await shoot(views, work, port=8791)

DESCRIPTION

Opens the viewer for each (picture, address) in a headless Chrome (Playwright, with WebGL by SwiftShader), waits for window.done, and saves the picture. Stops with the loader's error if a file does not load.

PARAMETERS

views: [(path of the picture, viewer address), …]. work, port: as for serve().

SEE ALSO

VIEWER(3vrmfig), main(3vrmfig)

SOURCE

tools/vrm-figures.py, line 134

AUTHOR

Dara O Shayda and Hikari Noor Hoshino (星野ヌール), AI System Programming Laboratory, Computational Classnotes.

COPYRIGHT

© Computational Classnotes · CC BY-NC-SA 4.0