Ternimal – Show Animated Lifeform in Your Linux Terminal

Ternimal (not terminal, yes, we also read it as terminal the first time) is a simple, very flexible program that simulates an animated lifeform in your terminal using Unicode block symbols. It simply colors distance fields from a segment of a meandering path.

It works in most Linux terminal emulators and with most monospaced fonts, and has been tested on Linux (almost all terminal emulators render ternimal flawlessly), Mac OS as well as Windows.

Read Also: Impress Your Friends with This Fake Hollywood Hacker Terminal

Install Ternimal in Linux Systems

Ternimal has no dependencies apart from the Rust Standard Library (>= 1.20) must be installed, at which point Ternimal can be built with as shown.

$ git clone https://github.com/p-e-w/ternimal.git
$ cd ternimal
$ rustc -O ternimal.rs

After building it, you can start using ternimal to display different colored animated lifeforms such as snakes, the rainbow, multiple disconnected entities moving in a coordinated fashion and more.

Next, to run ternimal like any other command on your system, move the executable built above, into a directory in your PATH environment variable (for example ~/bin/).

$ mkdir ~/bin		#create bin in your home folder if it doesn’t exist.
$ cp ternimal ~/bin 

The following are just a few examples of what ternimal can do.

Swarm

The following command will display a swarm, you can terminate it by pressing [Ctrl+C].

$ ternimal length=600 thickness=0,4,19,0,0

Animated Swarm in Linux Terminal

Anaconda

This command will display an animated snake.

$ ternimal length=100 thickness=1,4,1,0,0 radius=6,12 gradient=0:#666600,0.5:#00ff00,1:#003300

Animated Snake in Linux Terminal

Rainbow

And the following command will display a thick rainbow.

$ ternimal length=20 thickness=70,15,0,1,0 padding=10 radius=5 gradient=0.03:#ffff00,0.15:#0000ff,0.3:#ff0000,0.5:#00ff00

Animated Rainbow in Linux Terminal
As the developer put it right, “from a practical perspective, the program is not very useful. It does, however, contain quite a bit of cool technology and math”.

Ternimal Github repository: https://github.com/p-e-w/ternimal

Ternimal is just one of those Linux fun terminal programs for exercising your brain (or possibly eyes); after working on a command-line for a long period of time, you can call up one of those ternimals (especially a swarm) and just gaze at it. Use the feedback form below to share your thoughts about it.

Two small things before you go

If something didn’t work on your setup, leave a comment and tell me which distro and version you’re on. I read every one, and most of these articles got better because a reader pointed out what was missing.

And if it did work, share it. TecMint has stayed free for 14 years because people pass these articles around, and that traffic is what pays for writing the next one.

Leave a comment
Get two free Linux courses

Learn the Linux basics with two free courses and join 34,000+ readers getting practical TecMint tutorials and selected Pro TecMint articles every week.

Pro TecMint
Get lifetime access for $99

If you want to go beyond the free tutorials, Pro gives you 18 courses, 5 ebooks, and every future course I add. One payment, lifetime access, no renewals.

Aaron Kili
Aaron Kili
Contributor
About the author

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

4 Comments

Leave a Reply
  1. Ever wonder if people that program using Rust or Go think that everyone uses it, or do they sadistically enjoy taunting against common sense? If options were weighed and I had to ask myself is this program or any other I’ve seen made with Rust worth installing an entire language for, especially for a command-line program, which I have to compile from source, I’d say no. That usually goes for most Go Lang stuff too.

    You’d be better off with Python if that’s the case. I dare you to look at Blender Evee and tell me it’s slow. That’s all Python doing that. I did see a CLI piano program made with Rust once, but then I thought about the headless modes in Zynaddsubfx, Yoshimi, and Bristol. I just don’t get it.

    If anyone can cite me a Rust or Go based desktop application, GUI or CLI, that I can get via apt worth having, let me know. And before anyone mentions Firefox, Quantum is very very slowly adding Servo components, to which I’m more of a classic FF or Palemoon guy anyway.

    It just seems like most of these projects are more beneficial to making Windows and Android/ChromeOS look “open source” but distance everyone with “pop language” barriers than they actually are to most Linux desktop users, but that doesn’t seem to stop people from writing articles or making comics in the opposite light of reality.

    If you see a guy praising anything but C or Python, those are the kind of people that run Linux in VirtualBox, MacBooks at Open Source Summit, or partner with Microsoft (Canonical).

    Reply
    • @TheOuterLinux

      Thanks for the heads up, however, our job is to share info(guides, tutorials, how tos etc..) about what open source programs are out there, it is up to users to choose what they want to use or find interesting. And secondly, we also believe that every programming language has its advantages and disadvantages; so we do not only make tutorials or create posts about programs developed using specific languages, we cover all programming languages supported by Linux as well as other platforms. Thanks.

      Reply
  2. Why oh why did they have to name it something so stupid. All search engines will do is spell-correct for “Terminal”

    Even this article lists “Install Terminal”

    Shows how confusing it is..

    Reply

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.