LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Move multi-character ascii images with bash (https://www.linuxquestions.org/questions/programming-9/move-multi-character-ascii-images-with-bash-4175586212/)

nix84 08-03-2016 06:21 PM

Move multi-character ascii images with bash
 
Am looking for a way to move multiple character ascii images on the screen using Bash scripting.
Not interested in software that does this but a technique to encode it.

Keith Hedger 08-03-2016 07:24 PM

You will need to look at curses programing which is used to move the cursor round the screen, set colours etc all controlled from simple bash echo commands, but any sort of animation of even moderate sized images is going to be slooooooow in bash.

Keith Hedger 08-04-2016 03:45 AM

Have look here:
https://en.wikipedia.org/wiki/ANSI_escape_code
Sorry couldn't post this link last night as I was on my tab and couldn't find it.


All times are GMT -5. The time now is 11:21 AM.