I can also vouch for Gloss as a quick way to get pixels displayed on the screen.
On Wed, Feb 27, 2013 at 11:28 AM, Umut Isik <[email protected]> wrote: > Hi, > > I've used the Glass package before. It uses OpenGL, has a function for > displaying bitmaps, has nice example code too. > Now I'm just using the Repa array package to make arrays of pixels and write > them to BMP files with Data.Array.Repa.IO.BMP > > Best wishes > Umut > > > On Wed, Feb 27, 2013 at 7:43 PM, David Barbour <[email protected]> wrote: >> >> If 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 >> <[email protected]> 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 ? >>> >>> 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 >> > > > > -- > Mehmet Umut Isik > > > _______________________________________________ > haskell-art mailing list > [email protected] > http://lists.lurk.org/mailman/listinfo/haskell-art > -- -- Michael Steele _______________________________________________ haskell-art mailing list [email protected] http://lists.lurk.org/mailman/listinfo/haskell-art
