aboutsummaryrefslogtreecommitdiff
path: root/src/qt/res/animation/makespinner.sh
blob: 92e34a84a3fa19eff0c2919bb5eab0df5401b636 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash
#
# Copyright (c) 2014-2021 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

export LC_ALL=C
FRAMEDIR=$(dirname "$0")
for i in {0..35}
do
    frame=$(printf "%03d" "$i")
    angle=$((i * 10))
    convert "${FRAMEDIR}/../src/spinner.png" -background "rgba(0,0,0,0.0)" -distort SRT $angle "${FRAMEDIR}/spinner-${frame}.png"
done