gl-transitions 2.4.0 → 3.0.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 +67 -0
- package/README.md +16 -1
- package/compatibility.json +251 -121
- package/gl-transitions.js +1 -1
- package/gl-transitions.json +1 -1
- package/glsl3/ArrowWipe.glsl +100 -0
- package/glsl3/BandWipe.glsl +67 -0
- package/glsl3/BlockSlide.glsl +87 -0
- package/glsl3/BowTie.glsl +1 -1
- package/glsl3/CellDissolve.glsl +91 -0
- package/glsl3/Crumple.glsl +173 -0
- package/glsl3/DirectionalWipe.glsl +1 -1
- package/glsl3/GlintDissolve.glsl +125 -0
- package/glsl3/HeatHaze.glsl +79 -0
- package/glsl3/Hologram.glsl +97 -0
- package/glsl3/InsetWipe.glsl +58 -0
- package/glsl3/LightningFlash.glsl +200 -0
- package/glsl3/LiquidFill.glsl +102 -0
- package/glsl3/PlasmaDissolve.glsl +51 -0
- package/glsl3/RingsWipe.glsl +106 -0
- package/glsl3/SawtoothWipe.glsl +73 -0
- package/glsl3/SnakeBlockWipe.glsl +40 -0
- package/glsl3/Snapshot.glsl +86 -0
- package/glsl3/Sphere.glsl +95 -0
- package/glsl3/SpiralBlockWipe.glsl +65 -0
- package/glsl3/Vortex.glsl +106 -0
- package/glsl3/WarpSpeed.glsl +120 -0
- package/index.js +1 -1
- package/layouts.json +846 -253
- package/llms-full.txt +665 -476
- package/llms.txt +197 -189
- package/msl/ArrowWipe.metal +391 -0
- package/msl/BandWipe.metal +353 -0
- package/msl/BlockSlide.metal +418 -0
- package/msl/BowTie.metal +1 -1
- package/msl/CellDissolve.metal +374 -0
- package/msl/Crumple.metal +766 -0
- package/msl/DirectionalWipe.metal +1 -1
- package/msl/GlintDissolve.metal +558 -0
- package/msl/HeatHaze.metal +320 -0
- package/msl/Hologram.metal +380 -0
- package/msl/InsetWipe.metal +232 -0
- package/msl/LightningFlash.metal +1038 -0
- package/msl/LiquidFill.metal +373 -0
- package/msl/PlasmaDissolve.metal +178 -0
- package/msl/RingsWipe.metal +437 -0
- package/msl/SawtoothWipe.metal +310 -0
- package/msl/SnakeBlockWipe.metal +216 -0
- package/msl/Snapshot.metal +321 -0
- package/msl/Sphere.metal +345 -0
- package/msl/SpiralBlockWipe.metal +281 -0
- package/msl/Vortex.metal +522 -0
- package/msl/WarpSpeed.metal +549 -0
- package/package.json +1 -1
- package/skills/gl-transitions/references/catalog.md +92 -59
- package/sksl/ArrowWipe.sksl +111 -0
- package/sksl/BandWipe.sksl +77 -0
- package/sksl/BlockSlide.sksl +99 -0
- package/sksl/BowTie.sksl +1 -1
- package/sksl/CellDissolve.sksl +103 -0
- package/sksl/Crumple.sksl +179 -0
- package/sksl/DirectionalWipe.sksl +1 -1
- package/sksl/GlintDissolve.sksl +136 -0
- package/sksl/HeatHaze.sksl +90 -0
- package/sksl/Hologram.sksl +108 -0
- package/sksl/InsetWipe.sksl +70 -0
- package/sksl/LightningFlash.sksl +202 -0
- package/sksl/LiquidFill.sksl +113 -0
- package/sksl/PlasmaDissolve.sksl +64 -0
- package/sksl/RingsWipe.sksl +115 -0
- package/sksl/SawtoothWipe.sksl +83 -0
- package/sksl/SnakeBlockWipe.sksl +53 -0
- package/sksl/Snapshot.sksl +98 -0
- package/sksl/Sphere.sksl +108 -0
- package/sksl/SpiralBlockWipe.sksl +76 -0
- package/sksl/Vortex.sksl +116 -0
- package/sksl/WarpSpeed.sksl +131 -0
- package/sksl/index.js +1 -1
- package/transitions/ArrowWipe.glsl +99 -0
- package/transitions/BandWipe.glsl +66 -0
- package/transitions/BlockSlide.glsl +86 -0
- package/transitions/BowTie.glsl +1 -1
- package/transitions/CellDissolve.glsl +90 -0
- package/transitions/Crumple.glsl +172 -0
- package/transitions/DirectionalWipe.glsl +1 -1
- package/transitions/GlintDissolve.glsl +124 -0
- package/transitions/HeatHaze.glsl +78 -0
- package/transitions/Hologram.glsl +96 -0
- package/transitions/InsetWipe.glsl +57 -0
- package/transitions/LightningFlash.glsl +199 -0
- package/transitions/LiquidFill.glsl +101 -0
- package/transitions/PlasmaDissolve.glsl +50 -0
- package/transitions/RingsWipe.glsl +105 -0
- package/transitions/SawtoothWipe.glsl +72 -0
- package/transitions/SnakeBlockWipe.glsl +39 -0
- package/transitions/Snapshot.glsl +85 -0
- package/transitions/Sphere.glsl +94 -0
- package/transitions/SpiralBlockWipe.glsl +64 -0
- package/transitions/Vortex.glsl +105 -0
- package/transitions/WarpSpeed.glsl +119 -0
- package/wgsl/ArrowWipe.wgsl +352 -0
- package/wgsl/BandWipe.wgsl +319 -0
- package/wgsl/BlockSlide.wgsl +384 -0
- package/wgsl/BowTie.wgsl +1 -1
- package/wgsl/CellDissolve.wgsl +323 -0
- package/wgsl/Crumple.wgsl +709 -0
- package/wgsl/DirectionalWipe.wgsl +1 -1
- package/wgsl/GlintDissolve.wgsl +519 -0
- package/wgsl/HeatHaze.wgsl +282 -0
- package/wgsl/Hologram.wgsl +339 -0
- package/wgsl/InsetWipe.wgsl +200 -0
- package/wgsl/LightningFlash.wgsl +964 -0
- package/wgsl/LiquidFill.wgsl +339 -0
- package/wgsl/PlasmaDissolve.wgsl +149 -0
- package/wgsl/RingsWipe.wgsl +394 -0
- package/wgsl/SawtoothWipe.wgsl +279 -0
- package/wgsl/SnakeBlockWipe.wgsl +188 -0
- package/wgsl/Snapshot.wgsl +287 -0
- package/wgsl/Sphere.wgsl +316 -0
- package/wgsl/SpiralBlockWipe.wgsl +250 -0
- package/wgsl/Vortex.wgsl +463 -0
- package/wgsl/WarpSpeed.wgsl +497 -0
- package/glsl3/BlockDissolve.glsl +0 -16
- package/glsl3/BowTieVertical.glsl +0 -117
- package/glsl3/Box.glsl +0 -33
- package/glsl3/LinearBlur.glsl +0 -30
- package/glsl3/MosaicBlend.glsl +0 -21
- package/glsl3/MosaicFade.glsl +0 -20
- package/glsl3/RotateFade.glsl +0 -22
- package/glsl3/ScaleIn.glsl +0 -18
- package/glsl3/WipeDown.glsl +0 -12
- package/glsl3/WipeLeft.glsl +0 -12
- package/glsl3/WipeRight.glsl +0 -12
- package/glsl3/WipeUp.glsl +0 -12
- package/msl/BlockDissolve.metal +0 -108
- package/msl/BowTieVertical.metal +0 -375
- package/msl/Box.metal +0 -204
- package/msl/LinearBlur.metal +0 -169
- package/msl/MosaicBlend.metal +0 -136
- package/msl/MosaicFade.metal +0 -137
- package/msl/RotateFade.metal +0 -116
- package/msl/ScaleIn.metal +0 -111
- package/msl/WipeDown.metal +0 -105
- package/msl/WipeLeft.metal +0 -105
- package/msl/WipeRight.metal +0 -105
- package/msl/WipeUp.metal +0 -105
- package/sksl/BlockDissolve.sksl +0 -29
- package/sksl/BowTieVertical.sksl +0 -130
- package/sksl/Box.sksl +0 -47
- package/sksl/LinearBlur.sksl +0 -44
- package/sksl/MosaicBlend.sksl +0 -34
- package/sksl/MosaicFade.sksl +0 -33
- package/sksl/RotateFade.sksl +0 -34
- package/sksl/ScaleIn.sksl +0 -32
- package/sksl/WipeDown.sksl +0 -26
- package/sksl/WipeLeft.sksl +0 -26
- package/sksl/WipeRight.sksl +0 -26
- package/sksl/WipeUp.sksl +0 -26
- package/transitions/BlockDissolve.glsl +0 -15
- package/transitions/BowTieVertical.glsl +0 -116
- package/transitions/Box.glsl +0 -32
- package/transitions/LinearBlur.glsl +0 -29
- package/transitions/MosaicBlend.glsl +0 -20
- package/transitions/MosaicFade.glsl +0 -19
- package/transitions/RotateFade.glsl +0 -21
- package/transitions/ScaleIn.glsl +0 -17
- package/transitions/WipeDown.glsl +0 -11
- package/transitions/WipeLeft.glsl +0 -11
- package/transitions/WipeRight.glsl +0 -11
- package/transitions/WipeUp.glsl +0 -11
- package/wgsl/BlockDissolve.wgsl +0 -78
- package/wgsl/BowTieVertical.wgsl +0 -331
- package/wgsl/Box.wgsl +0 -176
- package/wgsl/LinearBlur.wgsl +0 -131
- package/wgsl/MosaicBlend.wgsl +0 -108
- package/wgsl/MosaicFade.wgsl +0 -107
- package/wgsl/RotateFade.wgsl +0 -85
- package/wgsl/ScaleIn.wgsl +0 -79
- package/wgsl/WipeDown.wgsl +0 -77
- package/wgsl/WipeLeft.wgsl +0 -77
- package/wgsl/WipeRight.wgsl +0 -77
- package/wgsl/WipeUp.wgsl +0 -77
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,72 @@
|
|
|
1
1
|
# gl-transitions
|
|
2
2
|
|
|
3
|
+
## 3.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#419](https://github.com/gl-transitions/gl-transitions/pull/419) [`ca6ced2`](https://github.com/gl-transitions/gl-transitions/commit/ca6ced29250520362b0646abc38ad8b91354e169) Thanks [@gre](https://github.com/gre)! - Twelve transitions that duplicated another one are removed. Each renders the same as, or very close to, the transition that replaces it with the given parameters:
|
|
8
|
+
|
|
9
|
+
- `WipeLeft`, `WipeRight`, `WipeUp`, `WipeDown`: `DirectionalWipe` with `smoothness: 0` and `direction` `[-1, 0]`, `[1, 0]`, `[0, 1]` or `[0, -1]` (identical)
|
|
10
|
+
- `BowTieVertical`: `BowTie` with its defaults
|
|
11
|
+
- `Box`: `InsetWipe`, with `anchor` on the box's corner or at the center, and the new `reverse: true` for `rectIn: 1`
|
|
12
|
+
- `LinearBlur`: `DefocusBlur`
|
|
13
|
+
- `MosaicBlend`, `MosaicFade`: `Pixelize`
|
|
14
|
+
- `ScaleIn`: `SimpleZoomOut` with `zoom_quickness: 1`
|
|
15
|
+
- `RotateFade`: `RotateScaleFade` with `scale: 1`
|
|
16
|
+
- `BlockDissolve`: `RandomSquares` with `smoothness: 0`
|
|
17
|
+
|
|
18
|
+
`InsetWipe` gets a `reverse` parameter: the outgoing image shrinks into the rectangle, toward the anchor.
|
|
19
|
+
|
|
20
|
+
### Minor Changes
|
|
21
|
+
|
|
22
|
+
- [#416](https://github.com/gl-transitions/gl-transitions/pull/416) [`467b771`](https://github.com/gl-transitions/gl-transitions/commit/467b7718834d7bbd985b4c44ad49b00fc31aad52) Thanks [@gre](https://github.com/gre)! - New transition: `BandWipe` by gre.
|
|
23
|
+
|
|
24
|
+
- [#421](https://github.com/gl-transitions/gl-transitions/pull/421) [`3f21354`](https://github.com/gl-transitions/gl-transitions/commit/3f21354946f28fe467ed5f90a5aa8912cc1fa86b) Thanks [@gre](https://github.com/gre)! - New transition: `GlintDissolve` by gre.
|
|
25
|
+
|
|
26
|
+
- [#415](https://github.com/gl-transitions/gl-transitions/pull/415) [`1b4adac`](https://github.com/gl-transitions/gl-transitions/commit/1b4adacc046ce6e79922bc064a2e1ace87897d4e) Thanks [@gre](https://github.com/gre)! - New transition: `InsetWipe` by gre.
|
|
27
|
+
|
|
28
|
+
- [#420](https://github.com/gl-transitions/gl-transitions/pull/420) [`30f5616`](https://github.com/gl-transitions/gl-transitions/commit/30f56163e6f7ad83a4b5c41144995154b17079eb) Thanks [@gre](https://github.com/gre)! - New transition: `LightningFlash` by gre.
|
|
29
|
+
|
|
30
|
+
- [#417](https://github.com/gl-transitions/gl-transitions/pull/417) [`e5cdcb0`](https://github.com/gl-transitions/gl-transitions/commit/e5cdcb0bf5bf90f151b24bb13707a49e8d65d7b6) Thanks [@gre](https://github.com/gre)! - New transition: `WarpSpeed` by gre.
|
|
31
|
+
|
|
32
|
+
- [#419](https://github.com/gl-transitions/gl-transitions/pull/419) [`ca6ced2`](https://github.com/gl-transitions/gl-transitions/commit/ca6ced29250520362b0646abc38ad8b91354e169) Thanks [@gre](https://github.com/gre)! - Removed 12 transitions.
|
|
33
|
+
|
|
34
|
+
- [#419](https://github.com/gl-transitions/gl-transitions/pull/419) [`ca6ced2`](https://github.com/gl-transitions/gl-transitions/commit/ca6ced29250520362b0646abc38ad8b91354e169) Thanks [@gre](https://github.com/gre)! - Updated `BowTie`, `DirectionalWipe`.
|
|
35
|
+
|
|
36
|
+
## 2.5.0
|
|
37
|
+
|
|
38
|
+
### Minor Changes
|
|
39
|
+
|
|
40
|
+
- [#402](https://github.com/gl-transitions/gl-transitions/pull/402) [`d0c423e`](https://github.com/gl-transitions/gl-transitions/commit/d0c423ed0212e8e1259c9e5b137375f6520177c1) Thanks [@gre](https://github.com/gre)! - New transition: `ArrowWipe` by gre.
|
|
41
|
+
|
|
42
|
+
- [#412](https://github.com/gl-transitions/gl-transitions/pull/412) [`d33b467`](https://github.com/gl-transitions/gl-transitions/commit/d33b467d08aaa32138bf3d227e34eba7d4c059b4) Thanks [@gre](https://github.com/gre)! - New transition: `BlockSlide` by gre.
|
|
43
|
+
|
|
44
|
+
- [#404](https://github.com/gl-transitions/gl-transitions/pull/404) [`15e2d07`](https://github.com/gl-transitions/gl-transitions/commit/15e2d072450698c1eb5bae19c49e0a7a0ce510bb) Thanks [@gre](https://github.com/gre)! - New transition: `CellDissolve` by gre.
|
|
45
|
+
|
|
46
|
+
- [#414](https://github.com/gl-transitions/gl-transitions/pull/414) [`59a76b7`](https://github.com/gl-transitions/gl-transitions/commit/59a76b7950b245e44cddac21ff074da28933f317) Thanks [@gre](https://github.com/gre)! - New transition: `Crumple` by gre.
|
|
47
|
+
|
|
48
|
+
- [#406](https://github.com/gl-transitions/gl-transitions/pull/406) [`6b22a4d`](https://github.com/gl-transitions/gl-transitions/commit/6b22a4d0e733af3007b7b021a0e1f83dbccd9913) Thanks [@gre](https://github.com/gre)! - New transition: `HeatHaze` by gre.
|
|
49
|
+
|
|
50
|
+
- [#410](https://github.com/gl-transitions/gl-transitions/pull/410) [`f402f1d`](https://github.com/gl-transitions/gl-transitions/commit/f402f1df0729188236c28d1812ab2313bd197ed1) Thanks [@gre](https://github.com/gre)! - New transition: `Hologram` by gre.
|
|
51
|
+
|
|
52
|
+
- [#407](https://github.com/gl-transitions/gl-transitions/pull/407) [`7b7d3ec`](https://github.com/gl-transitions/gl-transitions/commit/7b7d3ec05826808474e6dc16efd1a79f7761f9d7) Thanks [@gre](https://github.com/gre)! - New transition: `LiquidFill` by gre.
|
|
53
|
+
|
|
54
|
+
- [#408](https://github.com/gl-transitions/gl-transitions/pull/408) [`1fafb57`](https://github.com/gl-transitions/gl-transitions/commit/1fafb573d52324d29531308fbda7faa4114af250) Thanks [@gre](https://github.com/gre)! - New transition: `PlasmaDissolve` by gre.
|
|
55
|
+
|
|
56
|
+
- [#409](https://github.com/gl-transitions/gl-transitions/pull/409) [`1ac8ea0`](https://github.com/gl-transitions/gl-transitions/commit/1ac8ea011a83e0229499cab38ce5a85d1f54030c) Thanks [@gre](https://github.com/gre)! - New transition: `RingsWipe` by gre.
|
|
57
|
+
|
|
58
|
+
- [#401](https://github.com/gl-transitions/gl-transitions/pull/401) [`b3922b6`](https://github.com/gl-transitions/gl-transitions/commit/b3922b6a2eb3bdf95089b0d20b3f2847b626703c) Thanks [@gre](https://github.com/gre)! - New transition: `SawtoothWipe` by gre.
|
|
59
|
+
|
|
60
|
+
- [#403](https://github.com/gl-transitions/gl-transitions/pull/403) [`dcf837e`](https://github.com/gl-transitions/gl-transitions/commit/dcf837e1ef195ba48487e613c441da6feaab8e97) Thanks [@gre](https://github.com/gre)! - New transition: `SnakeBlockWipe` by gre.
|
|
61
|
+
|
|
62
|
+
- [#398](https://github.com/gl-transitions/gl-transitions/pull/398) [`dc1fb25`](https://github.com/gl-transitions/gl-transitions/commit/dc1fb2582ef06fc529913f3d5959aa7234e0a535) Thanks [@gre](https://github.com/gre)! - New transition: `Snapshot` by gre.
|
|
63
|
+
|
|
64
|
+
- [#413](https://github.com/gl-transitions/gl-transitions/pull/413) [`90ae159`](https://github.com/gl-transitions/gl-transitions/commit/90ae159e7923ec92f86c25ee245c47778b486721) Thanks [@gre](https://github.com/gre)! - New transition: `Sphere` by gre.
|
|
65
|
+
|
|
66
|
+
- [#405](https://github.com/gl-transitions/gl-transitions/pull/405) [`b565549`](https://github.com/gl-transitions/gl-transitions/commit/b5655493ebb88501a4f52fecac57f515f09b152c) Thanks [@gre](https://github.com/gre)! - New transition: `SpiralBlockWipe` by gre.
|
|
67
|
+
|
|
68
|
+
- [#411](https://github.com/gl-transitions/gl-transitions/pull/411) [`882392b`](https://github.com/gl-transitions/gl-transitions/commit/882392b2e8d9c5c9287d6b6ab7e63dd3b0a2ee2f) Thanks [@gre](https://github.com/gre)! - New transition: `Vortex` by gre.
|
|
69
|
+
|
|
3
70
|
## 2.4.0
|
|
4
71
|
|
|
5
72
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -33,9 +33,24 @@ A Transition is an object with the following shape (TypeScript types are include
|
|
|
33
33
|
}
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
+
## Migrating from 2.x
|
|
37
|
+
|
|
38
|
+
3.0 removes twelve transitions that duplicated another one. Use the replacement with these parameters, which renders the same or very close:
|
|
39
|
+
|
|
40
|
+
| Removed | Replacement |
|
|
41
|
+
|---|---|
|
|
42
|
+
| `WipeLeft`, `WipeRight`, `WipeUp`, `WipeDown` | `DirectionalWipe`, `smoothness: 0`, `direction` `[-1, 0]`, `[1, 0]`, `[0, 1]` or `[0, -1]` |
|
|
43
|
+
| `BowTieVertical` | `BowTie` |
|
|
44
|
+
| `Box` | `InsetWipe`, `anchor` on the box's corner or at the center, `reverse: true` for `rectIn: 1` |
|
|
45
|
+
| `LinearBlur` | `DefocusBlur` |
|
|
46
|
+
| `MosaicBlend`, `MosaicFade` | `Pixelize` |
|
|
47
|
+
| `ScaleIn` | `SimpleZoomOut`, `zoom_quickness: 1` |
|
|
48
|
+
| `RotateFade` | `RotateScaleFade`, `scale: 1` |
|
|
49
|
+
| `BlockDissolve` | `RandomSquares`, `smoothness: 0` |
|
|
50
|
+
|
|
36
51
|
## Migrating from 1.x
|
|
37
52
|
|
|
38
|
-
2.0 gives every transition a PascalCase name: `crosswarp` is now `CrossWarp`, `
|
|
53
|
+
2.0 gives every transition a PascalCase name: `crosswarp` is now `CrossWarp`, `lissajousTiles` is `LissajousTiles`. Names that were misleading or unclear got a better one at the same time (`burn` is now `FlashFade`, `fragment` is `Shatter`), and two near-duplicates were removed: `CircleCrop` (use `CircleIris`) and `PuzzleRight` (use `GridFlip`). The renamed transitions render as before, with the same parameters, except three fill colors that became a `vec4` in 2.0, so they can be transparent: `CircleIris`'s `backColor`, `FadeColor`'s `color` and `UndulatingBurnOut`'s `color` (add an alpha of 1 to your values). The two replacements look alike but differ: `CircleIris` closes into an ellipse that follows the image's shape, over a dark gray `backColor` instead of black `bgcolor`; `GridFlip` has thicker dividers, a `bgcolor` and a random order (`randomness`).
|
|
39
54
|
|
|
40
55
|
The [changelog](CHANGELOG.md) of 2.0 lists every renamed transition.
|
|
41
56
|
|