@cruxgarden/plasma-ui 0.2.2 → 0.2.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/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -580,7 +580,7 @@ var _PlasmaRenderer = class _PlasmaRenderer {
|
|
|
580
580
|
this.recs.forEach((r) => {
|
|
581
581
|
if (!r.el.isConnected) return;
|
|
582
582
|
if (!s.reducedMotion) {
|
|
583
|
-
r.formV += (170 * (1 - r.form) -
|
|
583
|
+
r.formV += (170 * (1 - r.form) - 26 * r.formV) * dt;
|
|
584
584
|
r.form += r.formV * dt;
|
|
585
585
|
} else r.form = 1;
|
|
586
586
|
const b = elementBox(r.el);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cruxgarden/plasma-ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Liquid panels for React, rendered in WebGL on canvas: every panel is one shared plasma - they fuse on contact, refract, and snap to a grid.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|