strokes-js 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -78,6 +78,8 @@ import { punctBracketOpen } from "./punctuation/punct-bracket-open.js";
78
78
  import { punctBracketClose } from "./punctuation/punct-bracket-close.js";
79
79
  import { punctAsterisk } from "./punctuation/punct-asterisk.js";
80
80
  import { punctEquals } from "./punctuation/punct-equals.js";
81
+ import { punctPlus } from "./punctuation/punct-plus.js";
82
+ import { punctAt } from "./punctuation/punct-at.js";
81
83
  import { space } from "./space.js";
82
84
  export const glyphs = {
83
85
  " ": space,
@@ -161,4 +163,6 @@ export const glyphs = {
161
163
  "]": punctBracketClose,
162
164
  "*": punctAsterisk,
163
165
  "=": punctEquals,
166
+ "+": punctPlus,
167
+ "@": punctAt,
164
168
  };
@@ -0,0 +1,3 @@
1
+ import type { GlyphEntry } from "../types.js";
2
+ /** Real hand-drawn glyph: "@", 3 wobble variants. */
3
+ export declare const punctAt: GlyphEntry;
@@ -0,0 +1,9 @@
1
+ /** Real hand-drawn glyph: "@", 3 wobble variants. */
2
+ export const punctAt = {
3
+ width: 17,
4
+ variants: [
5
+ "M9.5 6 C 5 5.5 1.5 9 1.5 13.5 C 1.5 18 5 21 9.5 21 C 13 21 15 19 15 16 C 15 13 12.5 11 10 11 C 7.5 11 6 13 6 15 C 6 17 7.5 18.5 10 18 C 11.7 17.7 12.8 16.5 12.8 15",
6
+ "M9.4 5.9 C 4.9 5.6 1.4 9.1 1.6 13.4 C 1.4 18.1 5.1 21.1 9.6 20.9 C 13.1 21.1 15.1 18.9 14.9 16.1 C 15.1 12.9 12.4 10.9 9.9 11.1 C 7.4 10.9 5.9 13.1 6.1 15.1 C 5.9 17.1 7.6 18.6 9.9 17.9 C 11.6 17.6 12.9 16.4 12.7 14.9",
7
+ "M9.6 6.1 C 5.1 5.4 1.6 8.9 1.4 13.6 C 1.6 17.9 4.9 20.9 9.4 21.1 C 12.9 20.9 15.1 19.1 15.1 15.9 C 14.9 13.1 12.6 11.1 10.1 10.9 C 7.6 11.1 5.9 12.9 6.1 14.9 C 6.1 16.9 7.4 18.4 10.1 18.1 C 11.8 17.8 12.7 16.6 12.9 15.1",
8
+ ],
9
+ };
@@ -0,0 +1,3 @@
1
+ import type { GlyphEntry } from "../types.js";
2
+ /** Real hand-drawn glyph: "+", 3 wobble variants. */
3
+ export declare const punctPlus: GlyphEntry;
@@ -0,0 +1,9 @@
1
+ /** Real hand-drawn glyph: "+", 3 wobble variants. */
2
+ export const punctPlus = {
3
+ width: 10,
4
+ variants: [
5
+ "M5 7 L5 15 M1 11 L9 11",
6
+ "M4.9 6.9 L5.1 15.1 M0.9 11.1 L9.1 10.9",
7
+ "M5.1 7.1 L4.9 14.9 M1.1 10.9 L8.9 11.1",
8
+ ],
9
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "strokes-js",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Renders text as animated hand-drawn SVG",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",