Linux Candy

Linux Candy: Ternimal – animated lifeform in the terminal

Last Updated on May 25, 2022

In Operation

Here’s what you see when running ternimal with no command line arguments.

You can customize almost every aspect of the rendered “animal” with command line arguments although these aren’t documented. You have to look at the commented source code and the developer’s examples to work out the various arguments that are available.

Here’s a short video with a rainbow type effect, run with the command:

$ ternimal length=20 thickness=60,15,0,1,0,0,5,3,2,5 padding=10 radius=5 gradient=0.03:#ffff00,0.15:#000000,0.3:#ff0000,0.5:#00ff00

The thickness command line argument must either have 1, 4, 7, 10 … coefficients.

Features of the software:

  • “Glow” renderer capable of 1000+ frames per second.
  • Dynamic generation of an everywhere differentiable movement path composed of circular arcs.
  • Skeletal deformation along the path.
  • Fourier-based shape description allowing for many body forms to be realized and animated.
  • Define the Minimum and maximum length of the model.
  • Use 24-bit RGB terminal colors or the 256-color palette.

Next page: Page 3 – Summary

Pages in this article:
Page 1 – Introduction / Installation
Page 2 – In Operation
Page 3 – Summary

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Please read our FAQ before making a comment.

2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Guy PROUST
Guy PROUST
5 years ago

Utilisez-vous CAPTCHA ?