sample

Stack effect: ( x y -- r g b )

Sample an input video.

Unique to Haiku Forth. Read the RGB 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