@sarmal/core 0.26.0 → 0.27.0

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.
Files changed (79) hide show
  1. package/dist/auto-init.cjs +145 -106
  2. package/dist/auto-init.js +144 -105
  3. package/dist/cli.js +1048 -0
  4. package/dist/cli.js.map +1 -0
  5. package/dist/curves/artemis2.cjs +16 -10
  6. package/dist/curves/artemis2.d.cts +1 -1
  7. package/dist/curves/artemis2.d.ts +1 -1
  8. package/dist/curves/artemis2.js +15 -9
  9. package/dist/curves/astroid.cjs +4 -4
  10. package/dist/curves/astroid.d.cts +1 -1
  11. package/dist/curves/astroid.d.ts +1 -1
  12. package/dist/curves/astroid.js +3 -3
  13. package/dist/curves/deltoid.cjs +4 -4
  14. package/dist/curves/deltoid.d.cts +1 -1
  15. package/dist/curves/deltoid.d.ts +1 -1
  16. package/dist/curves/deltoid.js +3 -3
  17. package/dist/curves/epicycloid3.cjs +4 -4
  18. package/dist/curves/epicycloid3.d.cts +1 -1
  19. package/dist/curves/epicycloid3.d.ts +1 -1
  20. package/dist/curves/epicycloid3.js +3 -3
  21. package/dist/curves/epitrochoid7.cjs +5 -5
  22. package/dist/curves/epitrochoid7.d.cts +1 -1
  23. package/dist/curves/epitrochoid7.d.ts +1 -1
  24. package/dist/curves/epitrochoid7.js +4 -4
  25. package/dist/curves/index.cjs +59 -43
  26. package/dist/curves/index.d.cts +29 -29
  27. package/dist/curves/index.d.ts +29 -29
  28. package/dist/curves/index.js +75 -43
  29. package/dist/curves/lame.cjs +6 -5
  30. package/dist/curves/lame.d.cts +1 -1
  31. package/dist/curves/lame.d.ts +1 -1
  32. package/dist/curves/lame.js +5 -4
  33. package/dist/curves/lissajous32.cjs +4 -4
  34. package/dist/curves/lissajous32.d.cts +1 -1
  35. package/dist/curves/lissajous32.d.ts +1 -1
  36. package/dist/curves/lissajous32.js +3 -3
  37. package/dist/curves/lissajous43.cjs +4 -4
  38. package/dist/curves/lissajous43.d.cts +1 -1
  39. package/dist/curves/lissajous43.d.ts +1 -1
  40. package/dist/curves/lissajous43.js +3 -3
  41. package/dist/curves/rose3.cjs +4 -4
  42. package/dist/curves/rose3.d.cts +1 -1
  43. package/dist/curves/rose3.d.ts +1 -1
  44. package/dist/curves/rose3.js +3 -3
  45. package/dist/curves/rose5.cjs +4 -4
  46. package/dist/curves/rose5.d.cts +1 -1
  47. package/dist/curves/rose5.d.ts +1 -1
  48. package/dist/curves/rose5.js +3 -3
  49. package/dist/curves/rose52.cjs +5 -5
  50. package/dist/curves/rose52.d.cts +1 -1
  51. package/dist/curves/rose52.d.ts +1 -1
  52. package/dist/curves/rose52.js +4 -4
  53. package/dist/curves/star.cjs +8 -5
  54. package/dist/curves/star.d.cts +1 -1
  55. package/dist/curves/star.d.ts +1 -1
  56. package/dist/curves/star.js +7 -4
  57. package/dist/curves/star4.cjs +8 -5
  58. package/dist/curves/star4.d.cts +1 -1
  59. package/dist/curves/star4.d.ts +1 -1
  60. package/dist/curves/star4.js +7 -4
  61. package/dist/curves/star7.cjs +8 -5
  62. package/dist/curves/star7.d.cts +1 -1
  63. package/dist/curves/star7.d.ts +1 -1
  64. package/dist/curves/star7.js +7 -4
  65. package/dist/index.cjs +131 -94
  66. package/dist/index.d.cts +78 -58
  67. package/dist/index.d.ts +78 -58
  68. package/dist/index.js +152 -94
  69. package/dist/renderer-shared-OR--cv-t.d.ts +49 -0
  70. package/dist/renderer-shared-jqw_Q1WO.d.cts +49 -0
  71. package/dist/terminal.cjs +593 -0
  72. package/dist/terminal.cjs.map +1 -0
  73. package/dist/terminal.d.cts +44 -0
  74. package/dist/terminal.d.ts +44 -0
  75. package/dist/terminal.js +585 -0
  76. package/dist/terminal.js.map +1 -0
  77. package/dist/types-zbxUgcmZ.d.cts +280 -266
  78. package/dist/types-zbxUgcmZ.d.ts +280 -266
  79. package/package.json +11 -1
@@ -4,14 +4,14 @@ function epitrochoid7Fn(phase, _elapsed, _params) {
4
4
  const d = 1 + 0.55 * Math.sin(phase * 0.5);
5
5
  return {
6
6
  x: 7 * Math.cos(phase) - d * Math.cos(7 * phase),
7
- y: 7 * Math.sin(phase) - d * Math.sin(7 * phase)
7
+ y: 7 * Math.sin(phase) - d * Math.sin(7 * phase),
8
8
  };
9
9
  }
10
10
  function epitrochoid7SkeletonFn(phase) {
11
11
  const d = 1.275;
12
12
  return {
13
13
  x: 7 * Math.cos(phase) - d * Math.cos(7 * phase),
14
- y: 7 * Math.sin(phase) - d * Math.sin(7 * phase)
14
+ y: 7 * Math.sin(phase) - d * Math.sin(7 * phase),
15
15
  };
16
16
  }
17
17
  var epitrochoid7 = {
@@ -19,9 +19,9 @@ var epitrochoid7 = {
19
19
  fn: epitrochoid7Fn,
20
20
  period: TWO_PI,
21
21
  speed: 1.4,
22
- skeletonFn: epitrochoid7SkeletonFn
22
+ skeletonFn: epitrochoid7SkeletonFn,
23
23
  };
24
24
 
25
25
  export { epitrochoid7 };
26
26
  //# sourceMappingURL=epitrochoid7.js.map
27
- //# sourceMappingURL=epitrochoid7.js.map
27
+ //# sourceMappingURL=epitrochoid7.js.map
@@ -1,11 +1,17 @@
1
- 'use strict';
1
+ "use strict";
2
2
 
3
3
  // src/catmull-rom.ts
4
4
  var PERIOD = 2 * Math.PI;
5
5
  function catmullRom1D(p0, p1, p2, p3, u) {
6
6
  const u2 = u * u;
7
7
  const u3 = u2 * u;
8
- return 0.5 * (2 * p1 + (-p0 + p2) * u + (2 * p0 - 5 * p1 + 4 * p2 - p3) * u2 + (-p0 + 3 * p1 - 3 * p2 + p3) * u3);
8
+ return (
9
+ 0.5 *
10
+ (2 * p1 +
11
+ (-p0 + p2) * u +
12
+ (2 * p0 - 5 * p1 + 4 * p2 - p3) * u2 +
13
+ (-p0 + 3 * p1 - 3 * p2 + p3) * u3)
14
+ );
9
15
  }
10
16
  function evaluateCatmullRom(points2, phase) {
11
17
  const N = points2.length;
@@ -15,7 +21,7 @@ function evaluateCatmullRom(points2, phase) {
15
21
  if (N === 1) {
16
22
  return { x: points2[0][0], y: points2[0][1] };
17
23
  }
18
- phase = (phase % PERIOD + PERIOD) % PERIOD;
24
+ phase = ((phase % PERIOD) + PERIOD) % PERIOD;
19
25
  const segmentSize = PERIOD / N;
20
26
  let i = Math.floor(phase / segmentSize);
21
27
  if (i >= N) {
@@ -29,7 +35,7 @@ function evaluateCatmullRom(points2, phase) {
29
35
  const p3 = points2[(i + 2) % N];
30
36
  return {
31
37
  x: catmullRom1D(p0[0], p1[0], p2[0], p3[0], u),
32
- y: catmullRom1D(p0[1], p1[1], p2[1], p3[1], u)
38
+ y: catmullRom1D(p0[1], p1[1], p2[1], p3[1], u),
33
39
  };
34
40
  }
35
41
  function drawCurve(points2, opts) {
@@ -39,20 +45,20 @@ function drawCurve(points2, opts) {
39
45
  const first = points2[0];
40
46
  if (points2.every((p) => p[0] === first[0] && p[1] === first[1])) {
41
47
  console.warn(
42
- "[sarmal].drawCurve: all control points are identical. The curve will be a single point."
48
+ "[sarmal].drawCurve: all control points are identical. The curve will be a single point.",
43
49
  );
44
50
  }
45
51
  const maxAbs = points2.reduce((m, p) => Math.max(m, Math.abs(p[0]), Math.abs(p[1])), 0);
46
52
  if (maxAbs > 2) {
47
53
  console.warn(
48
- `[sarmal].drawCurve: control points extend to \xB1${maxAbs.toFixed(1)}, which may render off-screen. Coordinates should be in [-1, 1].`
54
+ `[sarmal].drawCurve: control points extend to \xB1${maxAbs.toFixed(1)}, which may render off-screen. Coordinates should be in [-1, 1].`,
49
55
  );
50
56
  }
51
57
  const pts = points2.map(([x, y]) => [x, y]);
52
58
  return {
53
59
  name: opts?.name ?? "drawn",
54
60
  fn: (phase) => evaluateCatmullRom(pts, phase),
55
- period: PERIOD
61
+ period: PERIOD,
56
62
  };
57
63
  }
58
64
 
@@ -78,11 +84,11 @@ var points = [
78
84
  [-0.69, -0.84],
79
85
  [-0.87, -0.66],
80
86
  [-0.9, -0.47],
81
- [-0.76, -0.35]
87
+ [-0.76, -0.35],
82
88
  ];
83
89
  var artemis2 = {
84
90
  ...drawCurve(points, { name: "Artemis II" }),
85
- speed: 0.7
91
+ speed: 0.7,
86
92
  };
87
93
 
88
94
  // src/curves/astroid.ts
@@ -92,14 +98,14 @@ function astroidFn(phase, _elapsed, _params) {
92
98
  const s = Math.sin(phase);
93
99
  return {
94
100
  x: c * c * c,
95
- y: s * s * s
101
+ y: s * s * s,
96
102
  };
97
103
  }
98
104
  var astroid = {
99
105
  name: "Astroid",
100
106
  fn: astroidFn,
101
107
  period: TWO_PI,
102
- speed: 1.1
108
+ speed: 1.1,
103
109
  };
104
110
 
105
111
  // src/curves/deltoid.ts
@@ -107,14 +113,14 @@ var TWO_PI2 = Math.PI * 2;
107
113
  function deltoidFn(phase, _elapsed, _params) {
108
114
  return {
109
115
  x: 2 * Math.cos(phase) + Math.cos(2 * phase),
110
- y: 2 * Math.sin(phase) - Math.sin(2 * phase)
116
+ y: 2 * Math.sin(phase) - Math.sin(2 * phase),
111
117
  };
112
118
  }
113
119
  var deltoid = {
114
120
  name: "Deltoid",
115
121
  fn: deltoidFn,
116
122
  period: TWO_PI2,
117
- speed: 0.9
123
+ speed: 0.9,
118
124
  };
119
125
 
120
126
  // src/curves/epicycloid3.ts
@@ -122,14 +128,14 @@ var TWO_PI3 = Math.PI * 2;
122
128
  function epicycloid3Fn(phase, _elapsed, _params) {
123
129
  return {
124
130
  x: 4 * Math.cos(phase) - Math.cos(4 * phase),
125
- y: 4 * Math.sin(phase) - Math.sin(4 * phase)
131
+ y: 4 * Math.sin(phase) - Math.sin(4 * phase),
126
132
  };
127
133
  }
128
134
  var epicycloid3 = {
129
135
  name: "Epicycloid (n=3)",
130
136
  fn: epicycloid3Fn,
131
137
  period: TWO_PI3,
132
- speed: 0.75
138
+ speed: 0.75,
133
139
  };
134
140
 
135
141
  // src/curves/epitrochoid7.ts
@@ -138,14 +144,14 @@ function epitrochoid7Fn(phase, _elapsed, _params) {
138
144
  const d = 1 + 0.55 * Math.sin(phase * 0.5);
139
145
  return {
140
146
  x: 7 * Math.cos(phase) - d * Math.cos(7 * phase),
141
- y: 7 * Math.sin(phase) - d * Math.sin(7 * phase)
147
+ y: 7 * Math.sin(phase) - d * Math.sin(7 * phase),
142
148
  };
143
149
  }
144
150
  function epitrochoid7SkeletonFn(phase) {
145
151
  const d = 1.275;
146
152
  return {
147
153
  x: 7 * Math.cos(phase) - d * Math.cos(7 * phase),
148
- y: 7 * Math.sin(phase) - d * Math.sin(7 * phase)
154
+ y: 7 * Math.sin(phase) - d * Math.sin(7 * phase),
149
155
  };
150
156
  }
151
157
  var epitrochoid7 = {
@@ -153,7 +159,7 @@ var epitrochoid7 = {
153
159
  fn: epitrochoid7Fn,
154
160
  period: TWO_PI4,
155
161
  speed: 1.4,
156
- skeletonFn: epitrochoid7SkeletonFn
162
+ skeletonFn: epitrochoid7SkeletonFn,
157
163
  };
158
164
 
159
165
  // src/curves/lissajous32.ts
@@ -162,7 +168,7 @@ function lissajous32Fn(phase, elapsed, _params) {
162
168
  const phi = elapsed * 0.45;
163
169
  return {
164
170
  x: Math.sin(3 * phase + phi),
165
- y: Math.sin(2 * phase)
171
+ y: Math.sin(2 * phase),
166
172
  };
167
173
  }
168
174
  var lissajous32 = {
@@ -170,7 +176,7 @@ var lissajous32 = {
170
176
  fn: lissajous32Fn,
171
177
  period: TWO_PI5,
172
178
  speed: 2,
173
- skeleton: "live"
179
+ skeleton: "live",
174
180
  };
175
181
 
176
182
  // src/curves/lissajous43.ts
@@ -179,7 +185,7 @@ function lissajous43Fn(phase, elapsed, _params) {
179
185
  const phi = elapsed * 0.38;
180
186
  return {
181
187
  x: Math.sin(4 * phase + phi),
182
- y: Math.sin(3 * phase)
188
+ y: Math.sin(3 * phase),
183
189
  };
184
190
  }
185
191
  var lissajous43 = {
@@ -187,17 +193,18 @@ var lissajous43 = {
187
193
  fn: lissajous43Fn,
188
194
  period: TWO_PI6,
189
195
  speed: 1.8,
190
- skeleton: "live"
196
+ skeleton: "live",
191
197
  };
192
198
 
193
199
  // src/curves/lame.ts
194
200
  var TWO_PI7 = Math.PI * 2;
195
201
  function lameFn(phase, elapsed, _params) {
196
202
  const p = 1.75 + 1.25 * Math.sin(elapsed * 0.48);
197
- const c = Math.cos(phase), s = Math.sin(phase);
203
+ const c = Math.cos(phase),
204
+ s = Math.sin(phase);
198
205
  return {
199
206
  x: Math.sign(c) * Math.pow(Math.abs(c), p),
200
- y: Math.sign(s) * Math.pow(Math.abs(s), p)
207
+ y: Math.sign(s) * Math.pow(Math.abs(s), p),
201
208
  };
202
209
  }
203
210
  var lame = {
@@ -205,7 +212,7 @@ var lame = {
205
212
  fn: lameFn,
206
213
  period: TWO_PI7,
207
214
  speed: 1,
208
- skeleton: "live"
215
+ skeleton: "live",
209
216
  };
210
217
 
211
218
  // src/curves/rose3.ts
@@ -214,14 +221,14 @@ function rose3Fn(phase, _elapsed, _params) {
214
221
  const r = Math.cos(3 * phase);
215
222
  return {
216
223
  x: r * Math.cos(phase),
217
- y: r * Math.sin(phase)
224
+ y: r * Math.sin(phase),
218
225
  };
219
226
  }
220
227
  var rose3 = {
221
228
  name: "Rose (n=3)",
222
229
  fn: rose3Fn,
223
230
  period: TWO_PI8,
224
- speed: 1.15
231
+ speed: 1.15,
225
232
  };
226
233
 
227
234
  // src/curves/rose5.ts
@@ -230,78 +237,87 @@ function rose5Fn(phase, _elapsed, _params) {
230
237
  const r = Math.cos(5 * phase);
231
238
  return {
232
239
  x: r * Math.cos(phase),
233
- y: r * Math.sin(phase)
240
+ y: r * Math.sin(phase),
234
241
  };
235
242
  }
236
243
  var rose5 = {
237
244
  name: "Rose (n=5)",
238
245
  fn: rose5Fn,
239
246
  period: TWO_PI9,
240
- speed: 1
247
+ speed: 1,
241
248
  };
242
249
 
243
250
  // src/curves/rose52.ts
244
251
  var FOUR_PI = Math.PI * 4;
245
252
  function rose52Fn(phase, _elapsed, _params) {
246
- const r = Math.cos(5 / 2 * phase);
253
+ const r = Math.cos((5 / 2) * phase);
247
254
  return {
248
255
  x: r * Math.cos(phase),
249
- y: r * Math.sin(phase)
256
+ y: r * Math.sin(phase),
250
257
  };
251
258
  }
252
259
  var rose52 = {
253
260
  name: "Rose (n=5/2)",
254
261
  fn: rose52Fn,
255
262
  period: FOUR_PI,
256
- speed: 0.8
263
+ speed: 0.8,
257
264
  };
258
265
 
259
266
  // src/curves/star.ts
260
267
  var TWO_PI10 = Math.PI * 2;
261
268
  function starFn(phase, _elapsed, _params) {
262
- const r = Math.abs(Math.cos(5 / 2 * phase)) + 0.35 * Math.abs(Math.cos(15 / 2 * phase)) + 0.15 * Math.abs(Math.cos(25 / 2 * phase));
269
+ const r =
270
+ Math.abs(Math.cos((5 / 2) * phase)) +
271
+ 0.35 * Math.abs(Math.cos((15 / 2) * phase)) +
272
+ 0.15 * Math.abs(Math.cos((25 / 2) * phase));
263
273
  return {
264
274
  x: r * Math.cos(phase),
265
- y: r * Math.sin(phase)
275
+ y: r * Math.sin(phase),
266
276
  };
267
277
  }
268
278
  var star = {
269
279
  name: "Star",
270
280
  fn: starFn,
271
281
  period: TWO_PI10,
272
- speed: 1
282
+ speed: 1,
273
283
  };
274
284
 
275
285
  // src/curves/star4.ts
276
286
  var TWO_PI11 = Math.PI * 2;
277
287
  function star4Fn(phase, _elapsed, _params) {
278
- const r = Math.abs(Math.cos(2 * phase)) + 0.35 * Math.abs(Math.cos(6 * phase)) + 0.15 * Math.abs(Math.cos(10 * phase));
288
+ const r =
289
+ Math.abs(Math.cos(2 * phase)) +
290
+ 0.35 * Math.abs(Math.cos(6 * phase)) +
291
+ 0.15 * Math.abs(Math.cos(10 * phase));
279
292
  return {
280
293
  x: r * Math.cos(phase),
281
- y: r * Math.sin(phase)
294
+ y: r * Math.sin(phase),
282
295
  };
283
296
  }
284
297
  var star4 = {
285
298
  name: "Star (4-arm)",
286
299
  fn: star4Fn,
287
300
  period: TWO_PI11,
288
- speed: 1
301
+ speed: 1,
289
302
  };
290
303
 
291
304
  // src/curves/star7.ts
292
305
  var TWO_PI12 = Math.PI * 2;
293
306
  function star7Fn(phase, _elapsed, _params) {
294
- const r = Math.abs(Math.cos(7 / 2 * phase)) + 0.35 * Math.abs(Math.cos(21 / 2 * phase)) + 0.15 * Math.abs(Math.cos(35 / 2 * phase));
307
+ const r =
308
+ Math.abs(Math.cos((7 / 2) * phase)) +
309
+ 0.35 * Math.abs(Math.cos((21 / 2) * phase)) +
310
+ 0.15 * Math.abs(Math.cos((35 / 2) * phase));
295
311
  return {
296
312
  x: r * Math.cos(phase),
297
- y: r * Math.sin(phase)
313
+ y: r * Math.sin(phase),
298
314
  };
299
315
  }
300
316
  var star7 = {
301
317
  name: "Star (7-arm)",
302
318
  fn: star7Fn,
303
319
  period: TWO_PI12,
304
- speed: 1
320
+ speed: 1,
305
321
  };
306
322
 
307
323
  // src/curves/index.ts
@@ -319,7 +335,7 @@ var curves = {
319
335
  lissajous32,
320
336
  lissajous43,
321
337
  epicycloid3,
322
- lame
338
+ lame,
323
339
  };
324
340
 
325
341
  exports.artemis2 = artemis2;
@@ -338,4 +354,4 @@ exports.star = star;
338
354
  exports.star4 = star4;
339
355
  exports.star7 = star7;
340
356
  //# sourceMappingURL=index.cjs.map
341
- //# sourceMappingURL=index.cjs.map
357
+ //# sourceMappingURL=index.cjs.map
@@ -1,38 +1,38 @@
1
- import { C as CurveDef } from '../types-zbxUgcmZ.cjs';
2
- export { artemis2 } from './artemis2.cjs';
3
- export { astroid } from './astroid.cjs';
4
- export { deltoid } from './deltoid.cjs';
5
- export { epicycloid3 } from './epicycloid3.cjs';
6
- export { epitrochoid7 } from './epitrochoid7.cjs';
7
- export { lissajous32 } from './lissajous32.cjs';
8
- export { lissajous43 } from './lissajous43.cjs';
9
- export { lame } from './lame.cjs';
10
- export { rose3 } from './rose3.cjs';
11
- export { rose5 } from './rose5.cjs';
12
- export { rose52 } from './rose52.cjs';
13
- export { star } from './star.cjs';
14
- export { star4 } from './star4.cjs';
15
- export { star7 } from './star7.cjs';
1
+ import { C as CurveDef } from "../types-zbxUgcmZ.cjs";
2
+ export { artemis2 } from "./artemis2.cjs";
3
+ export { astroid } from "./astroid.cjs";
4
+ export { deltoid } from "./deltoid.cjs";
5
+ export { epicycloid3 } from "./epicycloid3.cjs";
6
+ export { epitrochoid7 } from "./epitrochoid7.cjs";
7
+ export { lissajous32 } from "./lissajous32.cjs";
8
+ export { lissajous43 } from "./lissajous43.cjs";
9
+ export { lame } from "./lame.cjs";
10
+ export { rose3 } from "./rose3.cjs";
11
+ export { rose5 } from "./rose5.cjs";
12
+ export { rose52 } from "./rose52.cjs";
13
+ export { star } from "./star.cjs";
14
+ export { star4 } from "./star4.cjs";
15
+ export { star7 } from "./star7.cjs";
16
16
 
17
17
  /**
18
18
  * Collection of all built-in sarmal curves
19
19
  * Import individual curves for better tree-shaking
20
20
  */
21
21
  declare const curves: {
22
- readonly artemis2: CurveDef;
23
- readonly epitrochoid7: CurveDef;
24
- readonly astroid: CurveDef;
25
- readonly deltoid: CurveDef;
26
- readonly rose3: CurveDef;
27
- readonly rose5: CurveDef;
28
- readonly rose52: CurveDef;
29
- readonly star: CurveDef;
30
- readonly star4: CurveDef;
31
- readonly star7: CurveDef;
32
- readonly lissajous32: CurveDef;
33
- readonly lissajous43: CurveDef;
34
- readonly epicycloid3: CurveDef;
35
- readonly lame: CurveDef;
22
+ readonly artemis2: CurveDef;
23
+ readonly epitrochoid7: CurveDef;
24
+ readonly astroid: CurveDef;
25
+ readonly deltoid: CurveDef;
26
+ readonly rose3: CurveDef;
27
+ readonly rose5: CurveDef;
28
+ readonly rose52: CurveDef;
29
+ readonly star: CurveDef;
30
+ readonly star4: CurveDef;
31
+ readonly star7: CurveDef;
32
+ readonly lissajous32: CurveDef;
33
+ readonly lissajous43: CurveDef;
34
+ readonly epicycloid3: CurveDef;
35
+ readonly lame: CurveDef;
36
36
  };
37
37
  type CurveName = keyof typeof curves;
38
38
 
@@ -1,38 +1,38 @@
1
- import { C as CurveDef } from '../types-zbxUgcmZ.js';
2
- export { artemis2 } from './artemis2.js';
3
- export { astroid } from './astroid.js';
4
- export { deltoid } from './deltoid.js';
5
- export { epicycloid3 } from './epicycloid3.js';
6
- export { epitrochoid7 } from './epitrochoid7.js';
7
- export { lissajous32 } from './lissajous32.js';
8
- export { lissajous43 } from './lissajous43.js';
9
- export { lame } from './lame.js';
10
- export { rose3 } from './rose3.js';
11
- export { rose5 } from './rose5.js';
12
- export { rose52 } from './rose52.js';
13
- export { star } from './star.js';
14
- export { star4 } from './star4.js';
15
- export { star7 } from './star7.js';
1
+ import { C as CurveDef } from "../types-zbxUgcmZ.js";
2
+ export { artemis2 } from "./artemis2.js";
3
+ export { astroid } from "./astroid.js";
4
+ export { deltoid } from "./deltoid.js";
5
+ export { epicycloid3 } from "./epicycloid3.js";
6
+ export { epitrochoid7 } from "./epitrochoid7.js";
7
+ export { lissajous32 } from "./lissajous32.js";
8
+ export { lissajous43 } from "./lissajous43.js";
9
+ export { lame } from "./lame.js";
10
+ export { rose3 } from "./rose3.js";
11
+ export { rose5 } from "./rose5.js";
12
+ export { rose52 } from "./rose52.js";
13
+ export { star } from "./star.js";
14
+ export { star4 } from "./star4.js";
15
+ export { star7 } from "./star7.js";
16
16
 
17
17
  /**
18
18
  * Collection of all built-in sarmal curves
19
19
  * Import individual curves for better tree-shaking
20
20
  */
21
21
  declare const curves: {
22
- readonly artemis2: CurveDef;
23
- readonly epitrochoid7: CurveDef;
24
- readonly astroid: CurveDef;
25
- readonly deltoid: CurveDef;
26
- readonly rose3: CurveDef;
27
- readonly rose5: CurveDef;
28
- readonly rose52: CurveDef;
29
- readonly star: CurveDef;
30
- readonly star4: CurveDef;
31
- readonly star7: CurveDef;
32
- readonly lissajous32: CurveDef;
33
- readonly lissajous43: CurveDef;
34
- readonly epicycloid3: CurveDef;
35
- readonly lame: CurveDef;
22
+ readonly artemis2: CurveDef;
23
+ readonly epitrochoid7: CurveDef;
24
+ readonly astroid: CurveDef;
25
+ readonly deltoid: CurveDef;
26
+ readonly rose3: CurveDef;
27
+ readonly rose5: CurveDef;
28
+ readonly rose52: CurveDef;
29
+ readonly star: CurveDef;
30
+ readonly star4: CurveDef;
31
+ readonly star7: CurveDef;
32
+ readonly lissajous32: CurveDef;
33
+ readonly lissajous43: CurveDef;
34
+ readonly epicycloid3: CurveDef;
35
+ readonly lame: CurveDef;
36
36
  };
37
37
  type CurveName = keyof typeof curves;
38
38