[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: primitive graphics application
- From: Asko Kauppi <askok@...>
- Date: Mon, 4 May 2009 10:01:38 +0300
My preference for Lua & graphics is Cairo. There are multiple
bindings even for this (one for Lua's curses, I must say).
Can you get Cairo to run on the embedded board, or maybe render on the
server and just feed a raw image to the embedded one.
Dave Smead kirjoitti 4.5.2009 kello 8:15:
I'm a Lua newbie, but a programmer of many years using C and Python.
I've used Linux exclusively since 1994, Debian most of that time and
presently using Ubuntu 8.10.
At the moment I'm still having some difficulties getting Lua packages
installed because I'm not up to speed on luarocks yet. I'm a little
hesitant to download packages outside the luarocks mechanism because
painfully aware that grabbing a tar.gz file and running make will
sometimes clobber library versions that are used by programs obtained
via apt-get, (that is make a mess that is difficult to clean up).
My immediate interest is using Lua to access graphics primitives
draw-line, draw-circle, draw-arc, etc. I see there are bindings to
opengl, wx, tk and others. While I need some gui widgets, mostly I
widgets that represent analog meters, and trend graphs, (plots). I
C code from the 1980's that ran on DOS with a primitive vgalib so
primitive is fine for what I need.
Can anyone offer opinions of which graphics library would be best
The graphics rendering program will run on a Linux machine, but I want
to connect it via a TCP socket to a very small microcomputer that
the rendering program what to draw using ASCII strings, or better yet,
by passing a Lua table to the rendering program.
Thanks in advance for any words of wisdom.