Image noise/OCaml/Xlib: Difference between revisions
Content added Content deleted
m (just a comment) |
(some explanations) |
||
Line 1: | Line 1: | ||
{{libheader|OCaml-Xlib}} |
{{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 |
<lang ocaml>open Xlib |