Skip to content

Commit 1a08b7d

Browse files
committed
move scripts in scripts/
1 parent ee91213 commit 1a08b7d

File tree

4 files changed

+27
-0
lines changed

4 files changed

+27
-0
lines changed

pitch.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# LOWREZJAM2017 idea – greweb
22

3+
This was written on August 3th. First pitch of the game.
4+
35
## inspiration / tech
46

57
- http://js1k.com/2013-spring/demo/1555

scripts/copy-snasphots.sh

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
set -e
2+
3+
mkdir -p snapshots-copy
4+
cd timelapse
5+
count=0
6+
for f in *.jpg ; do
7+
printf -v counts "%06d" $count
8+
out=../snapshots-copy/$counts.jpg
9+
if [ ! -e "$out" ]; then
10+
day=${f:0:10}
11+
time=${f:11:5}
12+
txt="$day $time"
13+
convert $f \
14+
-font ../src/Game/MinimalPixels.ttf \
15+
-pointsize 100 \
16+
-gravity SouthWest \
17+
-fill '#000' -annotate +24+14 "$txt" \
18+
-fill '#000' -annotate +16+6 "$txt" \
19+
-fill '#000' -annotate +24+6 "$txt" \
20+
-fill '#000' -annotate +16+14 "$txt" \
21+
-fill '#fff' -annotate +20+10 "$txt" \
22+
$out
23+
fi
24+
count=`expr $count + 1`
25+
done

start.sh scripts/start.sh

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)