bwsample

Stack effect: ( x y -- bw )

Sample an input video.

Unique to Haiku Forth. Read the B&W value at a particular video position given an x, y coordinate.

NOTE: In Haiku Forth (unlike Traditional Forth), all stack cells and memory locations are floating point numbers.

Forth Haiku Glossary