Changes
- AnyPlex:
- Fix crash on empty SVG canvas.
- Make
gc=' '(whitespace) by default. - Fix updating SVG document for the same id.
- Allow viewport clearing by printing
\e[H\e]app\a(or\e[H\e]app;id=non_registered_id\aif id="" is registered)."`e[H`e]app`a"
Animation Example
Use vtm -r term pwsh to test on Windows (multiplexing is not implemented yet).
- https://commons.wikimedia.org/wiki/File:Ghostscript_Tiger.svg
anyplex_test.ps1:"`e[H`e]app; gc='' id=tiger align=left width=80 height=20 $(cat Ghostscript_Tiger.svg) flip=h`a" while ($true) { for ($i = -160; $i -lt 160; $i++) { "`e[H`e]app;gc='' align=left id=tiger flip=h dx={0:N3}`a" -f ($i / 10) Start-Sleep -Milliseconds 15 } for ($i = 320; $i -gt 0; $i--) { "`e[H`e]app;gc='' align=left id=tiger dx={0:N3}`a" -f ($i / 10) Start-Sleep -Milliseconds 15 } }