Make a rotation animation using -,/,\ and | | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Make a rotation animation using -,/,\ and |

I am looking for a script that creates a rotation animation using character /,-, | and\. If you continuously switch between these characters it should look like its rotating. How to make this?

1st Sep 2018, 7:28 PM
Stanisław
Stanisław - avatar
2 Réponses
0
Use System.out.println("/"); System.out.println("\r"); //Backspace System.out.println("-"); //etc
1st Sep 2018, 7:43 PM
Théophile
Théophile - avatar
0
I think that with SoloLearn, you can't do that. Maybe if you can find on Internet how to overwrite in the console (I know you can with python, so it must exist in Java).
1st Sep 2018, 7:41 PM
Théophile
Théophile - avatar