ADG Lua 

ADG Lua Git Source Tree

Root/README

1Demo programs and examples on how to use the ADG canvas with
2LGI (Lua bindings generated dynamically). This requires both
3ADG and LGI installed on your system.
4
5The build system is based on autotools. It basically checks
6that the dependencies are fulfilled at "./configure" time
7and it installs the Lua scripts under $pkgdatadir (usually
8/usr/local/share/adg-lua) during "make install".
9
10The following applications are included:
11
12* adg-demo.lua
13
14 A rewrite of the adg-demo program included in the official
15 ADG tarball that leverages the LGI Lua bindings. The GTK+
16 interface relies on the GtkBuilder file provided by ADG,
17 usually found in /usr/local/share/adg/adg-demo.ui. This
18 means the ADG must be installed in order to use this script.
19
20* adg-web.lua
21
22 A script that receives as input a space-separated list of
23 key=value tuples and that sends its output to /dev/stdout.
24 The key-value pairs are used to override the data of the
25 piston to render. A typical call would be like:
26
27 lua adg-web.lua A=82 B=26 C=3 D1=12 > result.png
28
29
30Have fun.

Archive Download this file

Branches

Tags