Is an animated display of an internal combustion engine. There are 3 different types of engines that are selectable by holding down the mouse button. The 3 different types are Flat4, Inline4 and V6. The default is the Inline4.

This program uses 3 animated gif images from an article on to display then engine in motion. The program also figures out the maximum frame rate for the images.

Jeff Smith 2020-11-27 : Below is an online demo using CloudTk. This demo runs "tkEngine" in an Alpine Linux Docker Container. It is a 27.4MB image which is made up of Alpine Linux + tclkit + tkEngine.kit + libx11 + libxft + fontconfig + ttf-linux-libertine. It is run under a user account in the Container. The Container is restrictive with permissions for "Other" removed for "execute" and "read" for certain directories.

Please Note : This demo has a run time of 2 minutes.

Version 1.1 is available here [L1 ].

 # TkEngine Program V1.1
 # by Satoshi Imai
 # 1.1, 07-Jul-2002 modified by Fuhito Suguri
 # Based on a article by Marshall Brain @

The Homepage for tkEngine[L2 ] is in japanese but a translated version is available through bablefish here [L3 ].

MPJ A reformatted version with the frame/sec in the title bar and scale to fit the PocketPC is available here [L4 ]. Note you still need the 3 images from the above version: flat4.gif, inline4.gif, v6.gif.

Here are the shots of it running on my Dell Axim (arm 400Mhz w/ PocketPC 2002) :

Update (25-09-03): The same code and the same Dell Axim but using the updated PocketPC 2003 edition and the 8.4.4 port of TclTk. I now get a frame rate of 5 fps vs 3 fps on the 2002 (and its noticeable on other TclTk apps too).

And here a picture of this code running on my desktop (1GHz ~ notice the difference in frame rates vs the PocketPC).