Archive for November, 2007

watercolor books reviews

Fill Your Watercolor With Natures Light: Features Masking, Pouring & Spatering Techniques by Roland Roycraft

I don’t like this book, the description is rather vague.  The author’s 4-step method is as written in the title “masking, pouring, spattering, brushing”. It sounds simple enough as description, but not when you try to paint your own landscape (honestly, I have not tried this method, simply that this book doesn’t even get me excited to try it out). As a side note, I dislike masking liquid.


Atmosphere, Mood And Light: Paint a Watercolour Landscape in Minutes
by Keith Fenwick

cookbook style but extremely poorly written. A total lack of instruction, basically there is no work-in-progress photo. I don’t like the style of the author’s painting, which is too realistic for my taste but too unrealistic to be realistic.

Add comment 27 November 2007

lablgtk compile

ocamlc -I +lablgtk2 -o base lablgtk.cma gtkInit.cmo base.ml

windows installation:

cygwin standard installation (select also binutils)

ocaml-mingw

gtk+-win32-devel : 2.10 :

lablgtk2, read the install file

Add comment 20 November 2007

drawing cat’s eye

Here are extract of the book “The Complete Guide to Coloured Pencil Techniques”, this project looks interesting, especially for a cat lover like me. I’ll post some finished pictures later.cat-eye1.jpgcat-eye2.jpgcat-eye3.jpgcat-eye4.jpgcat-eye5.jpgcat-eye6.jpgcat-eye7.jpgcat-eye8.jpg

Add comment 16 November 2007

module

Please ignore all the posts tagged with “ocaml”, I’m just posting them here for my reference.

renaming module:  module Gr = Graphics;; (* all subsequent calls to Graphics will be Gr.xxx *)

named tuple: type tuple = {a : int; b : int}

string concatenation: ^

pattern guard: match x with SomePattern(a,b) [when  a = b] -> …

assert: assert (x=5);;

print:

prerr_endline (“radius is ” ^ (string_of_int radius));

eprintf “radius is %d\n” radius;

compilation: (in cgywin with binutils and gcc installed)

ocamlopt -c amodule.ml
ocamlopt -c bmodule.ml
ocamlopt -o hello amodule.cmx bmodule.cmx

with interface (inerface must be compild first)

ocamlc -c amodule.mli
ocamlopt -c amodule.ml

module extension

module List =
struct
include List
let rec optmap f = function
[] -> []
| hd :: tl -> match f hd with
None -> optmap f tl
| Some x -> x :: optmap f tl
end

usage: open Extensions…
List.optmap …

Add comment 14 November 2007


Calendar

November 2007
M T W T F S S
« Oct   Dec »
 1234
567891011
12131415161718
19202122232425
2627282930  

Posts by Month

Posts by Category