I would like it to display non-flickery animation like this awesome Linux command; sl
http://www.youtube.com/watch?v=9GyMZKWjcYU
I would appreciate a small & stupid example of say … a fly.
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just use
Console.SetCursorPositionfor moving the cursor to a certain position, thenConsole.Writea character. Before each frame you have to delete the previous one by overwriting it with spaces. Heres a little example I just built:You could for instance take an animated gif, extract all single frames/images from it (see how to do that here), apply an ASCII transformation (how to do that is described here for example) and print these frame by frame like in the above code example.
Update
Just for fun, I implemented what I just described. Just try it out replacing
@"C:\some_animated_gif.gif"with the path to some (not to large) animated gif. For example take an AJAX loader gif from here.