Skip to content

ProCraft for Android: An Android native painting app written in Rust

Rust

docs: the README demo at 1.8x

Josh3cbf15be8ea9
diff --git a/README.md b/README.md
index 025783a..eec20b7 100644
--- a/README.md
+++ b/README.md
@@ -38,7 +38,7 @@
<p align="center">
<img src="docs/images/demo.webp" alt="Dusk painted in ProCraft from a blank canvas, at a person's pace: the Soft Airbrush picked in the brush library and its size set; colours picked on the Classic square; the sky filled indigo by dragging the colour onto the canvas and airbrushed in bands of purple, magenta, orange and gold; a new layer for a glow and one for the sun, a circle that snaps round and is filled; two ranges of hills outlined and filled; pines and birds inked; stars airbrushed and made to glow with Bloom; the Layers panel opened on its seven layers" width="100%">
<br>
- <sub><b>Dusk</b>, painted from a blank canvas on a Lenovo Legion Tab: every menu shown at close to real speed, the drawing about 3x. The brush library, the colour picker, the layers, a sun snapped round and filled, hills filled the same way, pines, stars with Bloom. <a href="docs/images/demo.mp4">Video</a> (MP4, 2:21). Every stroke is a pen stroke with pressure, eased in and out, played by the <a href="tools/showcase">demo script</a>.</sub>
+ <sub><b>Dusk</b>, painted from a blank canvas on a Lenovo Legion Tab: the brush library, the colour picker, the layers, a sun snapped round and filled, hills filled the same way, pines, stars with Bloom. About 1:20; the <a href="docs/images/demo.mp4">full video</a> (MP4, 2:21) shows every menu at close to real speed. Every stroke is a pen stroke with pressure, eased in and out, played by the <a href="tools/showcase">demo script</a>.</sub>
</p>
<br>
diff --git a/docs/images/demo.webp b/docs/images/demo.webp
index b3141b0..652e24c 100644
Binary files a/docs/images/demo.webp and b/docs/images/demo.webp differ
diff --git a/tools/showcase/README.md b/tools/showcase/README.md
index b77bb51..b5227d7 100644
--- a/tools/showcase/README.md
+++ b/tools/showcase/README.md
@@ -20,7 +20,7 @@ on a Lenovo Legion Tab (2560 x 1600, held sideways), with ProCraft open on an em
export ANDROID_SERIAL=<the tablet>
python record_take.py take # take/take.mp4 and take/take.json
python edit_take.py take 2.6 edit # edit/demo_full.mp4 (2.6 s: the log's lag behind the video)
-ffmpeg -i edit/demo_full.mp4 -vf "fps=12,scale=960:-1:flags=lanczos" -c:v libwebp_anim -loop 0 -q:v 62 demo.webp
+ffmpeg -i edit/demo_full.mp4 -vf "setpts=PTS/1.8,fps=12,scale=960:-1:flags=lanczos" -c:v libwebp_anim -loop 0 -q:v 62 demo.webp
```
Notes from making it: start pen strokes clear of the sidebar (left) and of any system handle on the