Image noise/OCaml/Xlib: Difference between revisions

some explanations
m (just a comment)
(some explanations)
Line 1:
{{libheader|OCaml-Xlib}}
 
By default this program displays the noise with double buffering.
The command-line options <code>-single</code> selects the single buffering.
 
Launch this program as a script with:
ocaml -I +Xlib Xlib.cma unix.cma noise_fps_x.ml
ocaml -I +Xlib Xlib.cma unix.cma noise_fps_x.ml -single
 
<lang ocaml>open Xlib