Site: hero model of six apps, roads, beat-timed growth
This commit is contained in:
9 files changed
+199
-16
No files matched your search
@@ -256,15 +256,15 @@ climbs to the lighthouse and comes back through the dunes.
|
||||
|
||||
## Route at a glance
|
||||
|
||||
| Section | Distance | Time |
|
||||
| --- | --- | --- |
|
||||
| Sea wall | 1.2 km | 15 min |
|
||||
| Lighthouse climb | 0.8 km | 20 min |
|
||||
| Dune path | 2.1 km | 30 min |
|
||||
| Section | Distance | Time |
|
||||
| ---------------- | -------- | ------ |
|
||||
| Sea wall | 1.2 km | 15 min |
|
||||
| Lighthouse climb | 0.8 km | 20 min |
|
||||
| Dune path | 2.1 km | 30 min |
|
||||
|
||||
## Pace
|
||||
|
||||
Walking time is distance over pace, plus a minute for every ten metres of climb:
|
||||
Walking time is distance over pace, plus a minute for every ten meters of climb:
|
||||
|
||||
$$
|
||||
t = \frac{d}{v} + \frac{h}{10}
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# Builds demo content, then records all six apps.
|
||||
set -euo pipefail
|
||||
here=$(cd "$(dirname "$0")" && pwd)
|
||||
bash -c "source '$here/lib.sh'; trap - EXIT; content"
|
||||
for app in doc table show pdf tree mark; do
|
||||
bash "$here/$app.sh"
|
||||
done
|
||||
@@ -42,8 +42,10 @@ launch() {
|
||||
rm -rf "$home"
|
||||
local data="$home/Library/Application Support/ElyOffice/$app"
|
||||
mkdir -p "$data"
|
||||
local panels=
|
||||
[ -z "${PANEL_LEFT:-}" ] || panels=",\"panels\":{\"left\":$PANEL_LEFT}"
|
||||
printf '{"version":1,"window":{"mode":"windowed","x":%s,"y":%s,"width":%s,"height":%s}%s}\n' \
|
||||
"$win_x" "$win_y" "$win_w" "$win_h" "${PANEL_LEFT:+,\"panels\":{\"left\":$PANEL_LEFT}}" >"$data/settings.json"
|
||||
"$win_x" "$win_y" "$win_w" "$win_h" "$panels" >"$data/settings.json"
|
||||
env HOME="$home" ELY_APPEARANCE=light ELY_LOCALE=en ELY_NO_DIALOG=1 ELY_LOG=info ELY_REDUCE_MOTION=0 \
|
||||
${EXTRA_ENV:-} "$root/target/release/$app" "$@" >"$out/logs/$app.out" 2>"$out/logs/$app.err" &
|
||||
app_pid=$!
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
#!/usr/bin/env bash
|
||||
# ElyMark: visual typing, formula and diagram, source and back.
|
||||
source "$(dirname "$0")/lib.sh"
|
||||
|
||||
notes=/Users/Shared/Notes
|
||||
mkdir -p "$notes"
|
||||
cp "$demo/harbor-loop.md" "$notes/"
|
||||
us_input
|
||||
launch ely-mark "$notes/harbor-loop.md"
|
||||
wait_log 'mark: shown as "visual"' 60
|
||||
front
|
||||
sleep 3
|
||||
x=$win_x
|
||||
y=$win_y
|
||||
record_start mark
|
||||
pause 0.8
|
||||
mark "click end of the intro paragraph"
|
||||
mouse click $((x + 1000)) $((y + 235))
|
||||
pause 0.4
|
||||
mark "typing"
|
||||
typed " Allow two hours in winter."
|
||||
pause 0.6
|
||||
mark "scroll to formula and Mermaid diagram"
|
||||
mouse move $((x + 1000)) $((y + 520)) 0.5
|
||||
mouse scroll -1000 1.8
|
||||
pause 1.8
|
||||
mark "Cmd+2: source mode"
|
||||
keys 'keystroke "2" using command down'
|
||||
pause 2.2
|
||||
mark "Cmd+1: back to visual"
|
||||
keys 'keystroke "1" using command down'
|
||||
pause 2.2
|
||||
record_stop mark
|
||||
quit_app
|
||||
rm -rf "$notes"
|
||||
Reference in new issue
Block a user