This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # brings macro window to front and clears its log: | |
| Glyphs.clearLog() | |
| Glyphs.showMacroWindow() | |
| from math import sqrt, acos, degrees | |
| def dot_product(v1, v2): | |
| return v1[0] * v2[0] + v1[1] * v2[1] | |
| def magnitude(v): |
OlderNewer