
17 Jun
2010
17 Jun
'10
6:58 p.m.
Hi Patrick Rendering is easy - Region is a characteristic function - so apply it to all the coordinates in a bitmap (i.e. indexes in a 2D array) - you'll get a black-and-white picture. Conal Elliott's Pan and Jerzy Karczmarczuk's Clastic do this with an extend "colour characteristic" function -@ type Picture = Point -> RGB @- to make colour bitmaps rather than b&w ones. Area, I'm not sure about. Maybe you good integrate the function through a space, but this might not be a good idea. Best wishes Stephen