summaryrefslogtreecommitdiffstats
path: root/generate_animations.sh
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2022-09-30 21:59:08 -0700
committeryum <yumfood@airmail.cc>2022-09-30 21:59:08 -0700
commitf47dd3efa3763eb946564bd324873d53061e398f (patch)
treecbf998184658c221199d5b93ec6359e4a63fe0c5 /generate_animations.sh
parent2fa5bc78b5c4500301327bd6a334ab4fb8e04a17 (diff)
Add line wrapping and support for arbitrarily long messages
Add trivial line wrapping algorithm. Words are only added to a line if they don't put it over the column limit, and only broken if they alone exceed the column limit. Extend board size to 16x6, using 145 bits of parameter memory. Add simple generate.sh script, which generates everything needed to use the text-to-text board.
Diffstat (limited to 'generate_animations.sh')
-rw-r--r--generate_animations.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/generate_animations.sh b/generate_animations.sh
index 4ff4c3a..ce367f6 100644
--- a/generate_animations.sh
+++ b/generate_animations.sh
@@ -13,7 +13,7 @@ mkdir -p generated/animations
for row in `seq 0 5`; do
ROW_PADDED=$(printf '%02d' $row)
- for col in `seq 0 13`; do
+ for col in `seq 0 16`; do
COL_PADDED=$(printf '%02d' $col)
LETTER_SHADER_PARAM=_Letter_Row${ROW_PADDED}_Col${COL_PADDED}
for letter in `seq 0 79`; do