@field/cascade 0.5.2 → 0.6.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/CHANGELOG.md +42 -0
- package/dist/assets/{CodeEditor-BHej8kM9.js → CodeEditor-BLpahZw6.js} +7 -7
- package/dist/assets/{CodePanel-CT3eirK8.js → CodePanel-BqYKqBMH.js} +2 -2
- package/dist/assets/{CustomNodeDialog-BG0m7_Rv.js → CustomNodeDialog-CYr9y7dG.js} +1 -1
- package/dist/assets/{ProjectSettings-BxoLWJG6.js → ProjectSettings-CnYfrkKh.js} +2 -2
- package/dist/assets/{SettingsDialog-r9PzZ22z.js → SettingsDialog-mSS6KUyS.js} +1 -1
- package/dist/assets/{VersionHistoryDialog-B6zUV6Dy.js → VersionHistoryDialog-DZuwNG6s.js} +1 -1
- package/dist/assets/{core-wwx5881P.js → core-BOGrwBxU.js} +2 -2
- package/dist/assets/{cssMode-DY5T2Or0.js → cssMode-0Z3pyDOW.js} +1 -1
- package/dist/assets/definitions-Cckh442l.js +1 -0
- package/dist/assets/{editor.api-mkORHEMm.js → editor.api-D-_7pnnj.js} +1 -1
- package/dist/assets/{freemarker2-CIWlk0sw.js → freemarker2-DE0JRkF7.js} +1 -1
- package/dist/assets/geo-DcAVygkw.js +1 -0
- package/dist/assets/{handlebars-t4jbj3Br.js → handlebars-B_Shirzj.js} +1 -1
- package/dist/assets/{html-Ctx7UOlY.js → html-DI5Qj4gd.js} +1 -1
- package/dist/assets/{htmlMode-BKNZxVw7.js → htmlMode-CkHZy0mE.js} +1 -1
- package/dist/assets/{image-BCBFz0gD.js → image-B6RU2frM.js} +3 -3
- package/dist/assets/{index-CeqTfMbr.js → index-DTyzl6YV.js} +36 -36
- package/dist/assets/{javascript-Da_TJBzH.js → javascript-zxQfbzS_.js} +1 -1
- package/dist/assets/{jsonMode-Ftt5d1nV.js → jsonMode-DSQ0uLqA.js} +1 -1
- package/dist/assets/{liquid-D5kWYG57.js → liquid-0zs2oOuA.js} +1 -1
- package/dist/assets/{lspLanguageFeatures-B-93LC_L.js → lspLanguageFeatures-7VWaq5lc.js} +1 -1
- package/dist/assets/math-BA6juJD7.js +1 -0
- package/dist/assets/{mdx-DGT3C_qs.js → mdx-BFKlF5Xh.js} +1 -1
- package/dist/assets/pop-Bkzzmp57.js +1 -0
- package/dist/assets/{python-Bz3Eew5S.js → python-BgexpWZh.js} +1 -1
- package/dist/assets/{razor-CFDdKpKI.js → razor-E1kWyvkT.js} +1 -1
- package/dist/assets/{tsMode-BaCINWBI.js → tsMode-CTmJLLW5.js} +1 -1
- package/dist/assets/{typescript-BoOWspVs.js → typescript-BheZLRDM.js} +1 -1
- package/dist/assets/{workers-dSWyDxsQ.js → workers-KIoho05H.js} +1 -1
- package/dist/assets/{xml-eFi1_vYt.js → xml-DaVLg9zI.js} +1 -1
- package/dist/assets/{yaml-a7xrJHxm.js → yaml-D6XGTfOj.js} +1 -1
- package/dist/cli/index.js +574 -289
- package/dist/index.html +1 -1
- package/dist/runtime/builtins/index.js +2 -0
- package/dist/runtime/builtins/math/definitions.d.ts +845 -0
- package/dist/runtime/builtins/math/definitions.js +285 -0
- package/dist/runtime/builtins/math/index.d.ts +2 -0
- package/dist/runtime/builtins/math/index.js +2 -0
- package/doc/NODE_REFERENCE.md +115 -0
- package/package.json +1 -1
- package/dist/assets/definitions-BgCvRHyR.js +0 -1
- package/dist/assets/geo-CIxgs0oE.js +0 -1
- package/dist/assets/pop-BJGN5Ac4.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,48 @@
|
|
|
2
2
|
|
|
3
3
|
Notable changes to Cascade. Newest first.
|
|
4
4
|
|
|
5
|
+
## 0.6.0 — 2026-09-10
|
|
6
|
+
|
|
7
|
+
All three items from a user's first day with the npm package.
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- **`cascade.math.*` — arithmetic as nodes.** `Binary` (add, subtract,
|
|
12
|
+
multiply, divide, power, modulo, min, max, atan2), `Unary` (abs, negate,
|
|
13
|
+
floor, ceil, round, sqrt, sign, sin, cos, tan, asin, acos, exp, log, radians,
|
|
14
|
+
degrees, fract), `Clamp`, `Mix` and `Compare`.
|
|
15
|
+
|
|
16
|
+
The maths already existed as expressions — every parameter field takes
|
|
17
|
+
`sin($T)`, `clamp`, `lerp`, `fit`. So these are not a second way to compute
|
|
18
|
+
but a second way to *place* a computation: an expression is private to one
|
|
19
|
+
parameter, and a value you want to look at, reuse, or wire into three places
|
|
20
|
+
has to be a node.
|
|
21
|
+
|
|
22
|
+
Grouped with an operation to pick rather than one node per operation, which
|
|
23
|
+
is Houdini's form and would be about twenty-five nodes. Inputs are `any` and
|
|
24
|
+
every operation is component-wise with scalar broadcast, so multiplying a
|
|
25
|
+
`vec2` by a scalar and adding two `vec3`s both work. There is no `Fit`:
|
|
26
|
+
`cascade.core.Remap` already is one.
|
|
27
|
+
|
|
28
|
+
Division and modulo by zero give zero rather than `Infinity`, and `sqrt` of a
|
|
29
|
+
negative gives zero rather than `NaN` — a non-finite number flows into a
|
|
30
|
+
position and the geometry silently vanishes, which is a blank frame with no
|
|
31
|
+
error anywhere.
|
|
32
|
+
|
|
33
|
+
- **Connections can be made backwards.** A drag or click may begin on an
|
|
34
|
+
unconnected input pin and end on an output; the endpoints are normalised
|
|
35
|
+
before the connection is built, so variadic fan-in, the `Input` node a subnet
|
|
36
|
+
auto-creates, and multi-select fan-in all behave identically in either
|
|
37
|
+
direction. A *connected* input keeps the disconnect gesture.
|
|
38
|
+
|
|
39
|
+
### Fixed
|
|
40
|
+
|
|
41
|
+
- **The node search panel no longer closes when the search narrows to one
|
|
42
|
+
result.** The pointer had not left it — the panel shrank away from underneath
|
|
43
|
+
a stationary cursor, which fired `mouseleave` at the exact moment you were
|
|
44
|
+
about to click the thing you searched for. Leave-to-close now applies only
|
|
45
|
+
while the panel is being browsed by hover, not once you have typed.
|
|
46
|
+
|
|
5
47
|
## 0.5.2 — 2026-09-10
|
|
6
48
|
|
|
7
49
|
### Fixed
|