# Tkar

**URL:** <https://www.ruby-forum.com/t/tkar/173459>\
**Category:** Ruby\
**Created:** [August 9, 2009, 7:16pm UTC](https://www.ruby-forum.com/t/tkar/173459 "2009-08-09T19:16:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joel\_VanderWerf](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e19b73/32.png) [@Joel\_VanderWerf](https://www.ruby-forum.com/u/Joel_VanderWerf)\
**Post date:** [August 9, 2009, 7:16pm UTC](https://www.ruby-forum.com/t/tkar/173459/1 "2009-08-09T19:16:09Z")

</div>

Hi, all,

Tkar aims to be the gnuplot of animation — a quick and dirty way to get  
data from a stream or file into a window to see what is happening. It is  
more suited to animating discrete objects rather than numerical  
functions or arbitrary datasets. It would be ideal for visualizing  
output of a multi-agent simulation, for example.

Tkar is now a gem on rubyforge.[1] Previously, it was a single-file  
executable.[2] The only dependency is Tk/Ruby.

Tkar also functions as a simulink block, analogous to the plotter block  
and superior to simulink’s native animation features. (You need to  
compile a simulink plug-in.)

Here is a movie[3] made from one of the examples:

[http://path.berkeley.edu/~vjoel/vis/tkar/movie.gif](http://path.berkeley.edu/~vjoel/vis/tkar/movie.gif)

(tkar has rudimentary support for creating such movies)

[1] [http://tkar.rubyforge.org](http://tkar.rubyforge.org)  
[http://rubyforge.org/projects/tkar](http://rubyforge.org/projects/tkar)

[2] [http://groups.google.com/group/ruby-talk-google/msg/4e0bece7cbda7984](http://groups.google.com/group/ruby-talk-google/msg/4e0bece7cbda7984)

[3] this particular animation is from a tool for visualizing vehicle  
safety systems in which tkar was used. The tool was developed for an  
automotive company that citizens of my country are now part owners of.  
Tkar itself is free software under the ruby license.
