RE: [Haskell-cafe] Re: creating graphics the functional way

2007-08-06 Thread Frank Buss
apfelmus wrote: > The idea of representing images simply by a function > > Int -> Int -> RGB > > is great :) You may want to look at Pan and its various > offsprings, in > particular Pancito > > http://www.haskell.org/haskellwiki/Applications_and_libraries/ > Graphics#Pan this looks int

[Haskell-cafe] Re: creating graphics the functional way

2007-08-06 Thread Shin-Cheng Mu
On 05/08/07, Frank Buss <[EMAIL PROTECTED]> wrote: Is it possible to write functions with an arbitrary number of arguments? Would be nice if the average function would accept any number of pixel values. You may be interested to see Oleg Kiselyov's discussion on polyvariadic functions in Haske

[Haskell-cafe] Re: creating graphics the functional way

2007-08-06 Thread apfelmus
Frank Buss wrote: > I've created a small program to compose images with combinators: > > http://www.frank-buss.de/haskell/OlympicRings.hs.txt > > Finally, what do you think about using this concept for generating > images? It has some advantages, e.g. it is possible to scale the > image without qu