@mark1russell7/vex-domains 0.5.0 → 0.7.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.
- package/README.md +18 -4
- package/build/index.d.ts +117 -3
- package/build/index.d.ts.map +1 -1
- package/build/index.js +631 -71
- package/build/index.js.map +1 -1
- package/package.json +2 -2
- package/src/date.ts +140 -0
- package/src/index.ts +3 -1
- package/src/ndvector.ts +11 -1
- package/src/scalars.ts +54 -25
- package/src/text.ts +8 -7
- package/src/vec2.ts +48 -42
- package/src/xy.ts +74 -0
package/README.md
CHANGED
|
@@ -14,9 +14,10 @@ npm install @mark1russell7/vex @mark1russell7/vex-domains
|
|
|
14
14
|
|
|
15
15
|
| Domain | Values | Example ops |
|
|
16
16
|
|---|---|---|
|
|
17
|
-
| `Vec2Domain` | `Vec2`: a 2D vector | `add`, `
|
|
18
|
-
| `
|
|
19
|
-
| `
|
|
17
|
+
| `Vec2Domain` | `Vec2`: a 2D vector | `x`, `y`, `add`, `max`, `multiply`, `floor`, `length`, `dot`, `rotate` |
|
|
18
|
+
| `XYDomain` | `{ x, y }`: a 2D vector as plain data, for a standalone module | `x`, `y`, `add`, `max`, `multiply`, `floor`, `dot`, `length` |
|
|
19
|
+
| `NDVectorDomain` | `NDVector`: a vector with named components | `add`, `subtract`, `min`, `max`, `scale`, `dot`, `get` |
|
|
20
|
+
| `NumDomain` | numbers | `add`, `multiply`, `min`, `max`, `sqrt`, `floor`, `gt`, `vec2`, `xy`, `date` |
|
|
20
21
|
| `BoolDomain` | booleans | `and`, `or`, `xor`, `not` |
|
|
21
22
|
| `TextDomain` | texts | `concat`, `length`, `upper`, `lower`, `trim`, `contains` |
|
|
22
23
|
| `ColorDomain` | `Color`: an RGB color | `mix`, `add`, `multiply`, `luminance`, `relativeLuminance`, `contrast` |
|
|
@@ -35,7 +36,20 @@ const root = vex(Vec2Domain).over(space.record({ A: { position: new Vec2(2, 2),
|
|
|
35
36
|
root.from("position")._.add("size").at("A"); // => { tag: "some", value: new Vec2(7, 6) }
|
|
36
37
|
```
|
|
37
38
|
|
|
38
|
-
|
|
39
|
+
## Two dimensions in one value
|
|
40
|
+
|
|
41
|
+
When a program calculates the same value for x and y, use one `Vec2`, not two numbers. The op `vec2` of `NumDomain` makes a vector, and the ops `x` and `y` give its components. The ops `add`, `subtract`, `multiply`, `divide`, `min` and `max` work on each component, and they lift a number to a vector. A list of vectors needs `reduce("max")`, because the list op `max` takes only numbers.
|
|
42
|
+
|
|
43
|
+
```ts doctest
|
|
44
|
+
import { space, vex } from "@mark1russell7/vex";
|
|
45
|
+
import { NumDomain, Vec2, Vec2Domain } from "@mark1russell7/vex-domains";
|
|
46
|
+
|
|
47
|
+
const items = vex(NumDomain, Vec2Domain).over(space.array([{ w: 10, h: 20 }, { w: 30, h: 5 }]));
|
|
48
|
+
const cell = items.start(0).each((t) => t.from("w")._.vec2(t.from("h"))).reduce("max")._.max(1);
|
|
49
|
+
cell.at("0"); // => { tag: "some", value: new Vec2(30, 20) }
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
The page [Vectors](https://mark1russell7.github.io/vex/learn/vectors/) tells more. The [domains page](https://mark1russell7.github.io/vex/reference/domains/) lists each op with its laws.
|
|
39
53
|
|
|
40
54
|
## License
|
|
41
55
|
|
package/build/index.d.ts
CHANGED
|
@@ -73,11 +73,56 @@ export declare class Vec2 {
|
|
|
73
73
|
toString(): string;
|
|
74
74
|
}
|
|
75
75
|
type Vec2OpNames = "add" | "subtract" | "multiply" | "divide" | "min" | "max" | "scale" | "negate" | "halve" | "abs" | "round" | "floor" | "ceil" | "clamp" | "swap" | "rotate" | "normalize" | "lerp" | "length" | "lengthSq" | "distance" | "dot" | "cross" | "angle" | "area" | "sum" | "minComponent" | "maxComponent" | "equals" | "anyNonPositive" | "allPositive" | "anyNegative" | "allNonNegative" | "anyZero" | "allZero" | "anyLessThan" | "allLessThan" | "anyGreaterThan" | "allGreaterThan";
|
|
76
|
-
/** The ops of `Vec2Domain`. */
|
|
77
|
-
export type Vec2Ops = OpTable<Vec2, Vec2OpNames, "add" | "subtract" | "multiply" | "divide" | "min" | "max"
|
|
76
|
+
/** The ops of `Vec2Domain`. The ops `x` and `y` give a component. */
|
|
77
|
+
export type Vec2Ops = OpTable<Vec2, Vec2OpNames, "add" | "subtract" | "multiply" | "divide" | "min" | "max"> & {
|
|
78
|
+
readonly x: FnOp<Vec2, (v: Vec2) => number>;
|
|
79
|
+
readonly y: FnOp<Vec2, (v: Vec2) => number>;
|
|
80
|
+
};
|
|
78
81
|
/** The domain of 2D vectors. A number argument of a component-wise op lifts to a vector with that value twice. */
|
|
79
82
|
export declare const Vec2Domain: Domain<"Vec2", Vec2, Vec2Ops>;
|
|
80
83
|
//#endregion
|
|
84
|
+
//#region src/xy.d.ts
|
|
85
|
+
/**
|
|
86
|
+
* A 2D vector as plain data. `XYDomain` has the component-wise ops of `Vec2Domain`, but each op is a function of plain
|
|
87
|
+
* data. Thus a standalone module of `@mark1russell7/vex-compiler` can copy the domain, and a 2D program can be a module.
|
|
88
|
+
*/
|
|
89
|
+
export interface XY {
|
|
90
|
+
readonly x: number;
|
|
91
|
+
readonly y: number;
|
|
92
|
+
}
|
|
93
|
+
type XYFn2 = (a: XY, b: XY) => XY;
|
|
94
|
+
type XYFn1 = (a: XY) => XY;
|
|
95
|
+
type XYNum1 = (a: XY) => number;
|
|
96
|
+
/** The ops of `XYDomain`. */
|
|
97
|
+
export type XYOps = {
|
|
98
|
+
readonly x: FnOp<XY, XYNum1>;
|
|
99
|
+
readonly y: FnOp<XY, XYNum1>;
|
|
100
|
+
readonly add: FnOp<XY, XYFn2>;
|
|
101
|
+
readonly subtract: FnOp<XY, XYFn2>;
|
|
102
|
+
readonly multiply: FnOp<XY, XYFn2>;
|
|
103
|
+
readonly divide: FnOp<XY, XYFn2>;
|
|
104
|
+
readonly min: FnOp<XY, XYFn2>;
|
|
105
|
+
readonly max: FnOp<XY, XYFn2>;
|
|
106
|
+
readonly scale: FnOp<XY, (a: XY, k: number) => XY>;
|
|
107
|
+
readonly negate: FnOp<XY, XYFn1>;
|
|
108
|
+
readonly abs: FnOp<XY, XYFn1>;
|
|
109
|
+
readonly floor: FnOp<XY, XYFn1>;
|
|
110
|
+
readonly ceil: FnOp<XY, XYFn1>;
|
|
111
|
+
readonly round: FnOp<XY, XYFn1>;
|
|
112
|
+
readonly dot: FnOp<XY, (a: XY, b: XY) => number>;
|
|
113
|
+
readonly length: FnOp<XY, XYNum1>;
|
|
114
|
+
readonly distance: FnOp<XY, (a: XY, b: XY) => number>;
|
|
115
|
+
readonly area: FnOp<XY, XYNum1>;
|
|
116
|
+
readonly sum: FnOp<XY, XYNum1>;
|
|
117
|
+
readonly equals: FnOp<XY, (a: XY, b: XY) => boolean>;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* The domain of 2D vectors as plain data: an object with the two number fields `x` and `y` and no other field. The op
|
|
121
|
+
* `xy` of `NumDomain` makes one. No op lifts a number, so each op has a static site in a module. Put `XYDomain` before
|
|
122
|
+
* `NumRecordDomain`, because a record of numbers accepts the same objects.
|
|
123
|
+
*/
|
|
124
|
+
export declare const XYDomain: Domain<"XY", XY, XYOps>;
|
|
125
|
+
//#endregion
|
|
81
126
|
//#region src/ndvector.d.ts
|
|
82
127
|
/**
|
|
83
128
|
* An immutable vector with named components. The type parameter `K` is the set of component names. Ops that
|
|
@@ -107,6 +152,10 @@ export declare class NDVector<K extends string = string> {
|
|
|
107
152
|
subtract<K2 extends string>(o: NDVector<K2>): NDVector<K | K2>;
|
|
108
153
|
/** The component-wise product. */
|
|
109
154
|
multiply<K2 extends string>(o: NDVector<K2>): NDVector<K | K2>;
|
|
155
|
+
/** The component-wise minimum. A component that one vector does not have counts as 0. */
|
|
156
|
+
min<K2 extends string>(o: NDVector<K2>): NDVector<K | K2>;
|
|
157
|
+
/** The component-wise maximum. A component that one vector does not have counts as 0. */
|
|
158
|
+
max<K2 extends string>(o: NDVector<K2>): NDVector<K | K2>;
|
|
110
159
|
/** Of each component, the value of this vector if it is not 0, else the value of `o`. */
|
|
111
160
|
mergePreferNonZero<K2 extends string>(o: NDVector<K2>): NDVector<K | K2>;
|
|
112
161
|
scale(k: number): NDVector<K>;
|
|
@@ -124,7 +173,7 @@ export declare class NDVector<K extends string = string> {
|
|
|
124
173
|
toJSON(): Readonly<Record<K, number>>;
|
|
125
174
|
toString(): string;
|
|
126
175
|
}
|
|
127
|
-
type NDOpNames = "add" | "subtract" | "multiply" | "mergePreferNonZero" | "scale" | "clamp" | "dot" | "length" | "norm1" | "normInf" | "equals" | "pick" | "withKeys" | "get" | "set";
|
|
176
|
+
type NDOpNames = "add" | "subtract" | "multiply" | "min" | "max" | "mergePreferNonZero" | "scale" | "clamp" | "dot" | "length" | "norm1" | "normInf" | "equals" | "pick" | "withKeys" | "get" | "set";
|
|
128
177
|
/** The ops of `NDVectorDomain`. No op lifts numbers. */
|
|
129
178
|
export type NDVectorOps = OpTable<NDVector, NDOpNames>;
|
|
130
179
|
/** The ops of `LiftedNDVectorDomain`. */
|
|
@@ -146,6 +195,61 @@ export type NumRecordOps = {
|
|
|
146
195
|
/** The domain of plain number records. Its op `toNDVector` builds a vector from fields, for example from `rec()`. */
|
|
147
196
|
export declare const NumRecordDomain: Domain<"NumRecord", NumRecord, NumRecordOps>;
|
|
148
197
|
//#endregion
|
|
198
|
+
//#region src/date.d.ts
|
|
199
|
+
/** The largest distance from 1970-01-01 in days. The `Date` of JavaScript has the same range. */
|
|
200
|
+
export declare const MAX_DAYS = 1e8;
|
|
201
|
+
/**
|
|
202
|
+
* An immutable day of the calendar, without a time and without a time zone. It keeps the number of days since
|
|
203
|
+
* 1970-01-01, so the arithmetic of days is the arithmetic of numbers. The calendar is the Gregorian calendar, also
|
|
204
|
+
* before 1582.
|
|
205
|
+
*/
|
|
206
|
+
export declare class LocalDate {
|
|
207
|
+
/** The number of days since 1970-01-01. */
|
|
208
|
+
readonly days: number;
|
|
209
|
+
constructor(days: number);
|
|
210
|
+
/**
|
|
211
|
+
* This function makes a date from a year, a month from 1 to 12, and a day. A month or a day outside its range rolls
|
|
212
|
+
* over, like the function `DATE` of a spreadsheet. Thus month 13 is January of the next year, and day 0 is the last
|
|
213
|
+
* day of the month before. A number that is not whole gives a date that is not valid.
|
|
214
|
+
*/
|
|
215
|
+
static of(year: number, month: number, day: number): LocalDate;
|
|
216
|
+
/** This function reads a date in the form `YYYY-MM-DD`. A day that does not exist, for example `2026-02-30`, gives `undefined`. */
|
|
217
|
+
static parse(text: string): LocalDate | undefined;
|
|
218
|
+
/** The year. */
|
|
219
|
+
year(): number;
|
|
220
|
+
/** The month, from 1 to 12. */
|
|
221
|
+
month(): number;
|
|
222
|
+
/** The day of the month, from 1 to 31. */
|
|
223
|
+
day(): number;
|
|
224
|
+
/** The day of the week, from 1 (Sunday) to 7 (Saturday), like `WEEKDAY` of a spreadsheet. */
|
|
225
|
+
weekday(): number;
|
|
226
|
+
/** The date `n` days later. A negative `n` goes back. */
|
|
227
|
+
add(n: number): LocalDate;
|
|
228
|
+
/** The number of days from the date `x` to this date, or the date `x` days before this date. */
|
|
229
|
+
subtract(x: LocalDate | number): LocalDate | number;
|
|
230
|
+
/**
|
|
231
|
+
* The same day `n` months later, like `EDATE` of a spreadsheet. When that month is shorter, the result is its last
|
|
232
|
+
* day: one month after 31 January is the last day of February.
|
|
233
|
+
*/
|
|
234
|
+
addMonths(n: number): LocalDate;
|
|
235
|
+
/** The last day of the month `n` months later, like `EOMONTH` of a spreadsheet. */
|
|
236
|
+
endOfMonth(n: number): LocalDate;
|
|
237
|
+
gt(o: LocalDate): boolean;
|
|
238
|
+
gte(o: LocalDate): boolean;
|
|
239
|
+
lt(o: LocalDate): boolean;
|
|
240
|
+
lte(o: LocalDate): boolean;
|
|
241
|
+
eq(o: LocalDate): boolean;
|
|
242
|
+
/** The form `YYYY-MM-DD`. A year before 0 or after 9999 has a sign and six digits, as in ISO 8601. */
|
|
243
|
+
toString(): string;
|
|
244
|
+
}
|
|
245
|
+
/** The ops of `DateDomain`. */
|
|
246
|
+
export type DateOps = OpTable<LocalDate, "add" | "subtract" | "addMonths" | "endOfMonth" | "year" | "month" | "day" | "weekday" | "gt" | "gte" | "lt" | "lte" | "eq">;
|
|
247
|
+
/**
|
|
248
|
+
* The domain of dates. `add` takes a count of days. `subtract` takes a date, for the days between the two dates, or a
|
|
249
|
+
* count of days. A valid date is a whole count of days, within `MAX_DAYS` of 1970-01-01.
|
|
250
|
+
*/
|
|
251
|
+
export declare const DateDomain: Domain<"Date", LocalDate, DateOps>;
|
|
252
|
+
//#endregion
|
|
149
253
|
//#region src/scalars.d.ts
|
|
150
254
|
type NumFn1 = (a: number) => number;
|
|
151
255
|
type NumFn2 = (a: number, b: number) => number;
|
|
@@ -165,6 +269,16 @@ export type NumOps = {
|
|
|
165
269
|
readonly abs: FnOp<number, NumFn1>;
|
|
166
270
|
readonly negate: FnOp<number, NumFn1>;
|
|
167
271
|
readonly sqrt: FnOp<number, NumFn1>;
|
|
272
|
+
readonly ln: FnOp<number, NumFn1>;
|
|
273
|
+
readonly exp: FnOp<number, NumFn1>;
|
|
274
|
+
readonly log10: FnOp<number, NumFn1>;
|
|
275
|
+
readonly sin: FnOp<number, NumFn1>;
|
|
276
|
+
readonly cos: FnOp<number, NumFn1>;
|
|
277
|
+
readonly asin: FnOp<number, NumFn1>;
|
|
278
|
+
readonly hypot: FnOp<number, NumFn2>;
|
|
279
|
+
readonly date: FnOp<number, (year: number, month: number, day: number) => LocalDate>;
|
|
280
|
+
readonly vec2: FnOp<number, (x: number, y: number) => Vec2>;
|
|
281
|
+
readonly xy: FnOp<number, (x: number, y: number) => XY>;
|
|
168
282
|
readonly floor: FnOp<number, NumFn1>;
|
|
169
283
|
readonly ceil: FnOp<number, NumFn1>;
|
|
170
284
|
readonly round: FnOp<number, NumFn1>;
|
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/vec2.ts","../src/ndvector.ts","../src/scalars.ts","../src/text.ts","../src/color.ts","../src/angle.ts","../src/wrappers.ts"],"mappings":";;;;;;qBAMa;WACF;WACA;EAET,YAAY,WAAW;;SAMhB,GAAG,WAAW,YAAY;;SAI1B,OAAO,YAAY;;kBAIV,MAAM;;kBAEN,KAAK;EAErB,IAAI,GAAG,OAAO;EAGd,SAAS,GAAG,OAAO;;EAInB,SAAS,GAAG,OAAO;;EAInB,OAAO,GAAG,OAAO;;EAIjB,IAAI,GAAG,OAAO;;EAId,IAAI,GAAG,OAAO;EAGd,MAAM,YAAY;EAGlB,UAAU;EAGV,SAAS;EAGT,OAAO;EAGP,SAAS;EAGT,SAAS;EAGT,QAAQ;EAGR,MAAM,YAAY,aAAa;EAG/B,QAAQ;;EAIR,OAAO,kBAAkB;;EAMzB,aAAa;;EAKb,KAAK,GAAG,MAAM,YAAY;EAG1B;EAGA;EAGA,SAAS,GAAG;EAGZ,IAAI,GAAG;;EAIP,MAAM,GAAG;;EAIT;;EAIA;;EAIA;EAGA;EAGA;EAGA,OAAO,GAAG;EAGV;EAGA;EAGA;EAGA;EAGA;EAGA;EAGA,YAAY;EAGZ,YAAY;EAGZ,eAAe;EAGf,eAAe;EAGf;aAAqB;aAAoB;;EAGzC;;KAKG;;YAQO,UAAU,QAAQ,MAAM
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/vec2.ts","../src/xy.ts","../src/ndvector.ts","../src/date.ts","../src/scalars.ts","../src/text.ts","../src/color.ts","../src/angle.ts","../src/wrappers.ts"],"mappings":";;;;;;qBAMa;WACF;WACA;EAET,YAAY,WAAW;;SAMhB,GAAG,WAAW,YAAY;;SAI1B,OAAO,YAAY;;kBAIV,MAAM;;kBAEN,KAAK;EAErB,IAAI,GAAG,OAAO;EAGd,SAAS,GAAG,OAAO;;EAInB,SAAS,GAAG,OAAO;;EAInB,OAAO,GAAG,OAAO;;EAIjB,IAAI,GAAG,OAAO;;EAId,IAAI,GAA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