I've used OpenGL for this purpose before, but there is a fair bit of
boilerplate. These-days gloss-raster is really good for this kind of thing.


On Thu, Feb 28, 2013 at 4:22 PM, Miguel Negrao <
[email protected]> wrote:

>
> A 27/02/2013, às 18:27, Brent Yorgey escreveu:
>
> > On Wed, Feb 27, 2013 at 05:13:29PM +0000, Miguel Negrao wrote:
> >>
> >> A 27/02/2013, às 14:58, Stefan Kersten escreveu:
> >>
> >>> hi miguel,
> >>>
> >>> On 27 Feb 2013, at 13:07, Miguel Negrao <
> [email protected]> wrote:
> >>>> I would like to draw in Haskel simulations of turing patterns,
> cellular automata, etc. Basically I will only need to take an array of
> pixels and draw it to the screen directly. What is the best Haskel graphic
> library and functions to do this ?
> >>>
> >>> i've been using diagrams [1] lately --there's also an animation
> package [2]-- but maybe it's too slow for realtime. imo opengl would be a
> good option if you're already familiar with it ...
> >>
> >> I know diagrams but it is more suited for working with primitives then
> with direct pixel manipulation. I already have some opengl experience in
> Haskell, but since it’s for 3D stuff I assumed it would be overkill. Would
> the Haskell SDL bindings be a better option then opengl, or should I go
> with opengl ?
> >
> > Indeed, diagrams is not very well suited for drawing pixel arrays.
> > Have you looked at gloss [1] and gloss-raster [2] ?
>
> No, I didn’t know those. I think gloss-raster it exactly what I was
> looking for !! It’s so nice to just get what you need without spending too
> much time re-inventing the wheel. :-)
>
> best,
> Miguel
> _______________________________________________
> haskell-art mailing list
> [email protected]
> http://lists.lurk.org/mailman/listinfo/haskell-art
>
_______________________________________________
haskell-art mailing list
[email protected]
http://lists.lurk.org/mailman/listinfo/haskell-art

Reply via email to