inetbot web crawler
Main  |  Get access to the repository  |  API  |  The robot  |  Publications  |  Usenet Groups  |  Plainweb  | 
 inetbot - Groups (beta)

Current group: comp.theory

Making images - best language?

Making images - best language?  
yeahright at sitandspin.com
 Re: Making images - best language?  
Mark Carroll
 Re: Making images - best language?  
Mitch Harris
 Re: Making images - best language?  
Kent Paul Dolan
From:yeahright at sitandspin.com
Subject:Making images - best language?
Date:Thu, 20 Jan 2005 17:45:00 -0600
Hi.

I am interested in making a computer program that would generate an
image based on a series of discrete steps, each of which adds (or
subtracts, modifies, etc) something to the image.

I would like to be able to draw complex images, though not necessarily
pretty ones. Is there is a language to develop such a program that
would be particularly suited for this job? I have toyed around with
postscript, but it seems not quite powerful enough (granted i don't
really know what I am doing).

I am willing to learn any new language, I would be starting from
scratch with basically anything.

Thanks!
HF
From:Mark Carroll
Subject:Re: Making images - best language?
Date:21 Jan 2005 04:00:03 +0000 (GMT)
In article <8ag0v0djgk3tj2s486t4pln5jocf7ogjp0@4ax.com>,
wrote:
(snip)
>I would like to be able to draw complex images, though not necessarily
>pretty ones. Is there is a language to develop such a program that
>would be particularly suited for this job? I have toyed around with
>postscript, but it seems not quite powerful enough (granted i don't
>really know what I am doing).
(snip)

Perhaps, use something like SML to write a program that outputs
PostScript? Also, note that there are Cairo bindings for OCaml.

-- Mark
From:Mitch Harris
Subject:Re: Making images - best language?
Date:Fri, 21 Jan 2005 10:56:41 +0100
Mark Carroll wrote:
> In article <8ag0v0djgk3tj2s486t4pln5jocf7ogjp0@4ax.com>,
> wrote:
> (snip)
>
>>I would like to be able to draw complex images, though not necessarily
>>pretty ones. Is there is a language to develop such a program that
>>would be particularly suited for this job? I have toyed around with
>>postscript, but it seems not quite powerful enough (granted i don't
>>really know what I am doing).
>
> (snip)
>
> Perhaps, use something like SML to write a program that outputs
> PostScript? Also, note that there are Cairo bindings for OCaml.

Why bother with SML when you could just do it straight in postscript:

http://cgm.cs.mcgill.ca/~luc/PSgeneral.html

--
Mitch Harris
(remove q to reply)
From:Kent Paul Dolan
Subject:Re: Making images - best language?
Date:Fri, 21 Jan 2005 12:16:57 +0000 (UTC)
"yeahright" wrote:

> Hi.

> I am interested in making a computer program that
> would generate an image based on a series of
> discrete steps, each of which adds (or subtracts,
> modifies, etc) something to the image.

> I would like to be able to draw complex images,
> though not necessarily pretty ones. Is there is a
> language to develop such a program that would be
> particularly suited for this job? I have toyed
> around with postscript, but it seems not quite
> powerful enough (granted i don't really know what
> I am doing).

> I am willing to learn any new language, I would be
> starting from scratch with basically anything.

Start with Logo, simple enough that I taught my four
year old to write Logo programs (incredibly simple
ones).

http://groups-beta.google.com/group/comp.lang.logo

It is a Turing complete programming language with a
very powerful computer graphics paradigm, "turtle
graphics", one of the Lisp family of languages.

For something more fun, but with some program size
and complexity limits in the tool, StarLogo, the
"PG-13" version of Logo, gives you "turtle-parallel
graphics".

http://education.mit.edu/starlogo/

Depending on whether you want line drawings or
shaded images decides where you go from there. Most,
more "industrial strength" graphics is done by
adding libraries to existing languages. Java comes
with its own, a very rich set, Fortran has
"bindings" to several, as do Ada, C, C++ and most of
the other major langauges.

Some good search keys to help you find computer
graphics programming languages, which can each have
bindings to one or several computer programming
languages, might be:

Line drawing (I helped create these two):

GKS "Graphical Kernel System"
CGM "Computer Graphics Metafile"

Shaded images:

PHIGS "Programmers Hierarchical Interface to Graphical Systems"
Renderman
OpenGL (likely the most popular)
POVRay (a personal favorite, I used it to draw a
lawn and to design a hydrofoil sailboat in
fun)

There are also countless diagramming and charting
tools available that work as or with programming
languages. Your problem will be selecting one, not
finding one.

HTH

xanthian, who used to earn his living doing that
stuff, before the math got too hard for me.



--
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG
   

Copyright © 2006 inetbot   -   All rights reserved