asciify-engine 1.0.54 → 1.0.55
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.
- package/README.md +5 -5
- package/dist/index.cjs +46 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +46 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
type ColorMode = 'grayscale' | 'fullcolor' | 'matrix' | 'accent';
|
|
2
2
|
type RenderMode = 'ascii' | 'dots';
|
|
3
3
|
type AnimationStyle = 'none' | 'wave' | 'pulse' | 'rain' | 'breathe' | 'sparkle' | 'glitch' | 'spiral' | 'typewriter' | 'scatter' | 'waveField' | 'ripple' | 'melt' | 'orbit' | 'cellular';
|
|
4
|
-
type ArtStyle = 'classic' | 'particles' | 'letters' | 'claudeCode' | 'art' | 'terminal' | 'box' | 'lines' | 'braille' | 'katakana' | 'musical' | 'emoji' | 'circles';
|
|
4
|
+
type ArtStyle = 'classic' | 'particles' | 'letters' | 'claudeCode' | 'art' | 'terminal' | 'box' | 'lines' | 'braille' | 'katakana' | 'musical' | 'emoji' | 'circles' | 'shadows' | 'starfield' | 'geometric' | 'pipes' | 'waves' | 'shards' | 'smoke';
|
|
5
5
|
type HoverEffect = 'spotlight' | 'magnify' | 'repel' | 'glow' | 'colorShift' | 'attract' | 'shatter' | 'trail';
|
|
6
6
|
type HoverPreset = 'none' | 'subtle' | 'flashlight' | 'magnifier' | 'forceField' | 'neon' | 'fire' | 'ice' | 'gravity' | 'shatter' | 'ghost';
|
|
7
7
|
/**
|
|
@@ -205,6 +205,13 @@ declare const CHARSETS: {
|
|
|
205
205
|
readonly musical: " ♩♪♫♬♭♮♯";
|
|
206
206
|
readonly emoji: " ⬛🟫🟥🟧🟨🟩🟦🟪⬜";
|
|
207
207
|
readonly circles: " .·:∘○◦°•∙";
|
|
208
|
+
readonly shadows: " ·∘◦○◎⊙●◉";
|
|
209
|
+
readonly starfield: " ˙·∘∗✦✧★◆●";
|
|
210
|
+
readonly geometric: " ·△▷◇◈◆▣■█";
|
|
211
|
+
readonly pipes: " ╶─┐└├┤┬┴┼╬▒▓█";
|
|
212
|
+
readonly waves: " ˜∼≈〰≋∿∾∭∫";
|
|
213
|
+
readonly shards: " ╱╲╳◤◥◣◢△▲◆◼█";
|
|
214
|
+
readonly smoke: " ·˙⁚⁖∶∷⋮⋰⋱∴∵";
|
|
208
215
|
};
|
|
209
216
|
type CharsetKey = keyof typeof CHARSETS;
|
|
210
217
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
type ColorMode = 'grayscale' | 'fullcolor' | 'matrix' | 'accent';
|
|
2
2
|
type RenderMode = 'ascii' | 'dots';
|
|
3
3
|
type AnimationStyle = 'none' | 'wave' | 'pulse' | 'rain' | 'breathe' | 'sparkle' | 'glitch' | 'spiral' | 'typewriter' | 'scatter' | 'waveField' | 'ripple' | 'melt' | 'orbit' | 'cellular';
|
|
4
|
-
type ArtStyle = 'classic' | 'particles' | 'letters' | 'claudeCode' | 'art' | 'terminal' | 'box' | 'lines' | 'braille' | 'katakana' | 'musical' | 'emoji' | 'circles';
|
|
4
|
+
type ArtStyle = 'classic' | 'particles' | 'letters' | 'claudeCode' | 'art' | 'terminal' | 'box' | 'lines' | 'braille' | 'katakana' | 'musical' | 'emoji' | 'circles' | 'shadows' | 'starfield' | 'geometric' | 'pipes' | 'waves' | 'shards' | 'smoke';
|
|
5
5
|
type HoverEffect = 'spotlight' | 'magnify' | 'repel' | 'glow' | 'colorShift' | 'attract' | 'shatter' | 'trail';
|
|
6
6
|
type HoverPreset = 'none' | 'subtle' | 'flashlight' | 'magnifier' | 'forceField' | 'neon' | 'fire' | 'ice' | 'gravity' | 'shatter' | 'ghost';
|
|
7
7
|
/**
|
|
@@ -205,6 +205,13 @@ declare const CHARSETS: {
|
|
|
205
205
|
readonly musical: " ♩♪♫♬♭♮♯";
|
|
206
206
|
readonly emoji: " ⬛🟫🟥🟧🟨🟩🟦🟪⬜";
|
|
207
207
|
readonly circles: " .·:∘○◦°•∙";
|
|
208
|
+
readonly shadows: " ·∘◦○◎⊙●◉";
|
|
209
|
+
readonly starfield: " ˙·∘∗✦✧★◆●";
|
|
210
|
+
readonly geometric: " ·△▷◇◈◆▣■█";
|
|
211
|
+
readonly pipes: " ╶─┐└├┤┬┴┼╬▒▓█";
|
|
212
|
+
readonly waves: " ˜∼≈〰≋∿∾∭∫";
|
|
213
|
+
readonly shards: " ╱╲╳◤◥◣◢△▲◆◼█";
|
|
214
|
+
readonly smoke: " ·˙⁚⁖∶∷⋮⋰⋱∴∵";
|
|
208
215
|
};
|
|
209
216
|
type CharsetKey = keyof typeof CHARSETS;
|
|
210
217
|
/**
|
package/dist/index.js
CHANGED
|
@@ -24,7 +24,14 @@ var CHARSETS = {
|
|
|
24
24
|
katakana: " \uFF66\uFF67\uFF68\uFF69\uFF6A\uFF6B\uFF6C\uFF6D\uFF6E\uFF6F\uFF71\uFF72\uFF73\uFF74\uFF75\uFF76\uFF77\uFF78\uFF79\uFF7A\uFF7B\uFF7C\uFF7D\uFF7E\uFF7F\uFF80\uFF81\uFF82\uFF83\uFF84\uFF85\uFF86\uFF87\uFF88\uFF89\uFF8A\uFF8B\uFF8C\uFF8D\uFF8E\uFF8F\uFF90\uFF91\uFF92\uFF93\uFF94\uFF95\uFF96\uFF97\uFF98\uFF99\uFF9A\uFF9B\uFF9C\uFF9D",
|
|
25
25
|
musical: " \u2669\u266A\u266B\u266C\u266D\u266E\u266F",
|
|
26
26
|
emoji: " \u2B1B\u{1F7EB}\u{1F7E5}\u{1F7E7}\u{1F7E8}\u{1F7E9}\u{1F7E6}\u{1F7EA}\u2B1C",
|
|
27
|
-
circles: " .\xB7:\u2218\u25CB\u25E6\xB0\u2022\u2219"
|
|
27
|
+
circles: " .\xB7:\u2218\u25CB\u25E6\xB0\u2022\u2219",
|
|
28
|
+
shadows: " \xB7\u2218\u25E6\u25CB\u25CE\u2299\u25CF\u25C9",
|
|
29
|
+
starfield: " \u02D9\xB7\u2218\u2217\u2726\u2727\u2605\u25C6\u25CF",
|
|
30
|
+
geometric: " \xB7\u25B3\u25B7\u25C7\u25C8\u25C6\u25A3\u25A0\u2588",
|
|
31
|
+
pipes: " \u2576\u2500\u2510\u2514\u251C\u2524\u252C\u2534\u253C\u256C\u2592\u2593\u2588",
|
|
32
|
+
waves: " \u02DC\u223C\u2248\u3030\u224B\u223F\u223E\u222D\u222B",
|
|
33
|
+
shards: " \u2571\u2572\u2573\u25E4\u25E5\u25E3\u25E2\u25B3\u25B2\u25C6\u25FC\u2588",
|
|
34
|
+
smoke: " \xB7\u02D9\u205A\u2056\u2236\u2237\u22EE\u22F0\u22F1\u2234\u2235"
|
|
28
35
|
};
|
|
29
36
|
var ART_STYLE_PRESETS = {
|
|
30
37
|
classic: {
|
|
@@ -94,6 +101,44 @@ var ART_STYLE_PRESETS = {
|
|
|
94
101
|
charset: CHARSETS.circles,
|
|
95
102
|
colorMode: "accent",
|
|
96
103
|
accentColor: "#d4ff00"
|
|
104
|
+
},
|
|
105
|
+
shadows: {
|
|
106
|
+
renderMode: "ascii",
|
|
107
|
+
charset: CHARSETS.shadows,
|
|
108
|
+
colorMode: "accent",
|
|
109
|
+
accentColor: "#50a0ff"
|
|
110
|
+
},
|
|
111
|
+
starfield: {
|
|
112
|
+
renderMode: "ascii",
|
|
113
|
+
charset: CHARSETS.starfield,
|
|
114
|
+
colorMode: "fullcolor"
|
|
115
|
+
},
|
|
116
|
+
geometric: {
|
|
117
|
+
renderMode: "ascii",
|
|
118
|
+
charset: CHARSETS.geometric,
|
|
119
|
+
colorMode: "grayscale"
|
|
120
|
+
},
|
|
121
|
+
pipes: {
|
|
122
|
+
renderMode: "ascii",
|
|
123
|
+
charset: CHARSETS.pipes,
|
|
124
|
+
colorMode: "accent",
|
|
125
|
+
accentColor: "#00ff88"
|
|
126
|
+
},
|
|
127
|
+
waves: {
|
|
128
|
+
renderMode: "ascii",
|
|
129
|
+
charset: CHARSETS.waves,
|
|
130
|
+
colorMode: "fullcolor"
|
|
131
|
+
},
|
|
132
|
+
shards: {
|
|
133
|
+
renderMode: "ascii",
|
|
134
|
+
charset: CHARSETS.shards,
|
|
135
|
+
colorMode: "grayscale"
|
|
136
|
+
},
|
|
137
|
+
smoke: {
|
|
138
|
+
renderMode: "ascii",
|
|
139
|
+
charset: CHARSETS.smoke,
|
|
140
|
+
colorMode: "accent",
|
|
141
|
+
accentColor: "#c850ff"
|
|
97
142
|
}
|
|
98
143
|
};
|
|
99
144
|
var DEFAULT_OPTIONS = {
|