View Single Post
Old 02-11-2020, 02:08 AM   #25
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,525
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
Thank you for a good example!
I finished a very basic example of drawing current progress on page turns. It now recognizes forward/backward page turns and corrects the current location properly. I will upload it here soon (see new post down below).
Then I’ll try to optimize all calculations (and it looks like I can do everything in awk, the only thing I can’t do right now is rounding floats to integers, so it is just taking integer parts via int() for now. I found an example function round.awk on the official AWK user guide website, but couldn’t include it into the awk line just yet).

Last edited by mergen3107; 02-11-2020 at 02:32 AM.
mergen3107 is offline   Reply With Quote