File tree 4 files changed +27
-0
lines changed
4 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 1
1
# LOWREZJAM2017 idea – greweb
2
2
3
+ This was written on August 3th. First pitch of the game.
4
+
3
5
## inspiration / tech
4
6
5
7
- http://js1k.com/2013-spring/demo/1555
Original file line number Diff line number Diff line change
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
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments