FOSSPicks

Console candy

Ternimal

This find is pure eye candy. It creates an animated life form in your terminal, which you can watch evolve and change within the confines of your safe character space. Playing with the many arguments can change the appearance of the life form from a worm-like snake to a swarm of angry will-o'-the-wisp after drinking too much caffeine. Colors, thickness, number of segments, size of arcs, and gradients can all be changed. While it serves no particular purpose, there are a few good reasons for trying it out.

One reason is that it puts your console under stress. This makes it an ideal burn-in tool for testing your environment, or perhaps comparing different consoles on your desktop. Because it works within Screen or tmux, it can also help you see how your console scales or works over a network. It's also implemented with Unicode characters providing the blocks that draw the animation. That means you can also test for Unicode support and speed; it helps you see whether the blocks assigned to those Unicode characters work as they should within the confines of your terminal.

The code is written in Rust, making this an excellent example to open up and take a look at if you want to learn a modern high-performance language that can do cool things on the command line. Installation is as simple as downloading the code and building it with the Rust compiler. While the 1,000-plus lines of code make this more than a simple hack, everything is well commented and easy enough to understand, making the addition of a few extra life forms or color modes the perfect place to get started with a little Rust programming.

Project Website

https://github.com/p-e-w/ternimal

Test your terminal's Unicode support with Ternimal.

Bookmark manager

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Audacity

    Audacity is a free, open source, easy-to-use, multitrack audio recording and editing tool perfect for podcasts.

  • FOSSPicks

    This month Graham looks at Cardinal, Celestia 1.7.0, Friture, Wavetable, Helix Editor, Brogue CE, and more!

  • Podcasts with Audacity

    The glory days of podcasts might be over, but if you have something to say to your fellow humans, a digital audio recording is still a great way to deliver the message. Audacity is a free and easy tool for creating podcasts in Linux.

  • Audacity 2.1

    The Audacity free audio editor is evolving from a hobby app into a professional sound tool.

  • Podcasting with Audacity

    Create your own podcasts with the free and easy Audacity sound editor.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News