I've put up an
extremely naive and simple first draft of a point-reduction script at
http://www-personal.monash.edu.au/~myle ... index.html
How it works: if a point is "close enough" to the previous point on a curve, and not part of another curve, and "not particularly pointy", it will get deleted.
Well, actually, at the moment the points only get selected, and you can hit the Delete key if you like the look of the points selected - you can uncomment out the point deletion code if you really want to.
The definition of "close enough" and "not particularly pointy" are up to you to set numerically. "Pointy" is generally in the range 0.1 or less, normal smoothness is around 0.3, and "close enough" can be anything from 0.001 to 0.1 or more.
Brian (7feet), is that close enough for starters ?
The script has a tendency to wipe out fine detail and leave a deformed but simplified version of the initial shapes, which is probably not what you wanted.
Because I want to keep some very small ellipses in a test file, I've also added a "keep every second point" checkbox - otherwise every single point on the ellipse was both close enough and not particularly pointy, so the whole (very small, 8-point) ellipse was getting deleted.
Well, I've put it up for laughs - don't expect anything sophisticated out of it - but maybe some of the Moho-related code will be useful for people who have a decent point-reduction algorithm to replace this silly one.
Result of running it on Lost Marble's Lenny character, using default settings:
Better than I expected but, as you can see, the pupils have been completely deleted and the eyebrows are reduced to almost uselessness.
Regards, Myles.