liquid-gl 2.0.2 → 2.0.3
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 +4 -3
- package/liquidGL.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# liquidGL –
|
|
1
|
+
# liquidGL – Liquid Glass - Powered by WebGL
|
|
2
2
|
|
|
3
3
|
<a href="https://liquidgl.naughtyduk.com"><img src="https://raw.githubusercontent.com/naughtyduk/liquidGL/main/assets/liquidGL-npm-preview.gif" alt="liquidGL" width="100%" height="auto"/></a>
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
### v2.0.3
|
|
6
6
|
|
|
7
7
|
> [!NOTE]
|
|
8
|
-
> `liquidGL` is free to use for both non-commercial and commercial purposes.
|
|
8
|
+
> `liquidGL` is free to use for both non-commercial and commercial purposes.
|
|
9
9
|
|
|
10
10
|
> [!WARNING]
|
|
11
11
|
> **v2.0.1 changed snapshot capture.** `liquidGL` now snapshots the page with its own built-in rasteriser, so `html2canvas` is no longer a dependency. Nothing needs to change in your code.
|
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
**Performance**
|
|
57
57
|
|
|
58
58
|
- Video frames are no longer re-composited or re-uploaded when neither the frame time nor the destination region has changed. Paused, ended and unmoved videos now cost nothing per frame.
|
|
59
|
+
|
|
59
60
|
- The snapshot bounding box is read once per frame and shared across every lens, instead of twice per lens per frame, removing repeated forced layout from the render loop.
|
|
60
61
|
|
|
61
62
|
---
|
package/liquidGL.js
CHANGED
package/package.json
CHANGED