I've used the Glass package before. It uses OpenGL, has a function for
displaying bitmaps, has nice example code too.
Post by David BarbourIf all you need to do is draw a pixel buffer to screen, use SDL, or
wxHaskell with a bitmap. These will have fewer issues with alignment of
pixels, aliasing, etc.. that you might experience using textures in OpenGL.
On Wed, Feb 27, 2013 at 9:13 AM, Miguel Negrao <
Post by Miguel NegraoPost by Stefan Kerstenhi miguel,
On 27 Feb 2013, at 13:07, Miguel Negrao <
Post by Miguel NegraoI 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 ?
Post by Stefan Kersteni'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 its 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 ?
best,
Miguel
_______________________________________________
haskell-art mailing list
http://lists.lurk.org/mailman/listinfo/haskell-art
_______________________________________________
haskell-art mailing list
http://lists.lurk.org/mailman/listinfo/haskell-art