generate lace pattern from font on javascript.