Marco Pontello's Home Page
Questa pagina in italiano

(Last updated: 30/05/15)


Project Dogwaffle + thinBasic :: your automation script engine

tBDW - thinBasic Project Dogwaffle scriptable interface

tBDW is a scriptable interface for Project Dogwaffle, a painting and animation tool by Dan Ritchie. It provide an environment for experimenting with image processing algorithms, using thinBasic.

thinBasic is a powerful yet easy to use scripting language by Eros Olmi. Everyone familiar with any BASIC-like syntax will found himself at home writing code in thinBasic.

tBDW is derived by another project of mine, DogLua witch in turn was largely inspired by gluas, by OEyvind Kolaas.

thinAir with a sample script


First, You need to have thinBasic installed. Then, it's just a matter of being sure that the tBDW.DLL can be found by thinBasic. The DLL can be simply put in the same folder of the script(s) to be executed, for example. If Project Dogwaffle is running, the included negative.tbasic sample should be working right away with a double click, simply after unzipping this package.

The file tBDW_keywords.txt contains all the keywords currently implemented by tBDW; to get syntax hilighting in the thinAir editor, simply add its contents to the thinbasic\thinAir\Syntax\BASKeyWords.txt file.

Here's a quick summary of the presently available functions. This is just a minimal initial subset and will be expanded and completed soon, but it's already more than enough to start coding something interesting.

TBDW_SetRGB(x, y, r, g, b)
TBDW_GetRGB(x, y, r, g, b)
TBDW_SetValue(x, y, v)
TBDW_GetValue(x, y, v)


For a quick start and general info on thinBasic, instead, you may refer to thinBasic community.


tBDW v1.02, 13KB ZIP


Change Log

tBDW v1.02 - 29/03/07:
+ API expanded: GetValue, SetValue, Flush.

tBDW v1.00 - 25/03/07:
+ First working version released!