[Fieldtrip] 2D rendering

1 view
Skip to first unread message

Peter Verswyvelen

unread,
Jan 20, 2009, 8:10:54 AM1/20/09
to fiel...@haskell.org
Are there any plans to add rich 2D rendering support to fieldtrip? 

So that we can have text, lines, fills, curves etc?

So that we can get rid of the Render monad in GTK and other libs?

Thanks,
Peter



Tillmann Vogt

unread,
Jan 21, 2009, 1:31:21 PM1/21/09
to fiel...@haskell.org
Peter Verswyvelen schrieb:

> Are there any plans to add rich 2D rendering support to fieldtrip?
>
> So that we can have text, lines, fills, curves etc?
>
> So that we can get rid of the Render monad in GTK and other libs?
Hi,

I have asked myself this also. Currently there seems to be a
Haskell-binding to Cairo and as DSL for 2d shapes:
http://byorgey.wordpress.com/2008/04/30/new-haskell-diagrams-library/

My opinion is that Fieldtrip should have 3d shape generation
capabilities. A first inspiration could be CGA Shape Grammar which
produced very nice models of cities (i.e. Pompei). Then there is GML
which is a stack-based language to generate shape. What I don't
understand is: Why not using a real programming language for programming
shape (like Haskell)? Grammar and stack-language seem to be an excuse
for not wanting to parse/compile a more powerful langugage. In Haskell
this could be more beautifully solved by a DSL and maybe one day
dynamically loading of Code (like in YI).

I am currently reading reading the PhD Thesis about GML and trying to
find if there are valuable ideas from "A Generative Theory of Shape" by
Michael Leyton.
Then I will try to program this into Fieldtrip.
Any hints or ideas on how to do this best would be welcome.

>
> Thanks,
> Peter
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> FieldTrip mailing list
> Fiel...@haskell.org
> http://www.haskell.org/mailman/listinfo/fieldtrip
>

_______________________________________________
FieldTrip mailing list
Fiel...@haskell.org
http://www.haskell.org/mailman/listinfo/fieldtrip

Reply all
Reply to author
Forward
0 new messages