(word)
| 1503 | |
| 1504 | //获取字体点阵信息 |
| 1505 | function getWordDots(word) { |
| 1506 | if (!word) return null; |
| 1507 | // var res = wordDotsMap[word]; |
| 1508 | // if (!res) { |
| 1509 | // wordDotsMap[word] = MyMath.literalLattice(word); |
| 1510 | // res = wordDotsMap[word]; |
| 1511 | // } |
| 1512 | |
| 1513 | //随机字体大小 60~130 |
| 1514 | var fontSize = Math.floor(Math.random() * 70 + 60); |
| 1515 | |
| 1516 | var res = MyMath.literalLattice(word, 3, "Gabriola,华文琥珀", fontSize + "px"); |
| 1517 | |
| 1518 | return res; |
| 1519 | } |
| 1520 | |
| 1521 | /** |
| 1522 | * 用于创建球形粒子爆发的辅助对象。 |