Metapost macros used in

 Denis Roegel: MetaPost macros for drawing Chinese and Japanese abaci,
 TUGboat (volume 30, number 1, 2009, pages 74-79)