2 % part of LilyPond's pretty-but-neat music font
7 beamheight#:=0.48interline#;
9 define_pixels(beamheight);
12 beam_pen:=penrazor scaled beamheight rotated 90;
16 elem_tan:=max_slope/slopes;
21 for i := -slopes upto slopes:
22 width:= elem_initial_len;
23 for j:=1 upto lengths:
24 beginchar(128 + i * lengths + j -1 ,width,0,0);
26 draw origin--(lft w,w*i*elem_tan);
28 width:=elem_factor *width;