Version franēaise
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Wich solution for a fast powerfull drawing area ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jean-Christophe Filliatre <Jean-Christophe.Filliatre@l...>
Subject: Re: [Caml-list] Wich solution for a fast powerfull drawing area ?

Matthieu Dubuget writes:
 > 
 > I'm looking at ocaml as the language to make ultrasonic programs.
 > The difficult part for me is the scientific imaging.
 > I will have to show waveforms (typically 1024 points long) and colormaps
 > (1024 * 100 * 256 levels of color for example) at comfortable
 > speed (I mean more than 20 Hz).

You may  have a  look at the  SDL library  (http://www.libsdl.org/), a
powerful  cross-platform  2D   graphics  library.  Many  Linux  games,
including commercial ones, use this library.

There are (at least) two ocaml interfaces for this library:

 - one I did some time ago, no more developped, but suitable for
   relatively simple programs; 
   see http://www.lri.fr/~filliatr/ftp/ocaml/ocamlsdl/

 - another on SourceForge, probably much more developped than mine;
   see http://ocamlsdl.sourceforge.net/

Hope this helps,
-- 
Jean-Christophe Filliātre (http://www.lri.fr/~filliatr)

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners