anegis-webflow-new 1.3.1 → 1.3.2

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -77,14 +77,13 @@
77
77
  float dist = max(distX, distY); // Use maximum - reaches 1.0 at any edge
78
78
 
79
79
  // --- ANIMATED NOISE for organic color morphing ---
80
- vec2 noiseCoord = uv * 6.0;
81
- float n1 = fbm(noiseCoord + vec2(time * 0.6, time * 0.4));
82
- float n2 = fbm(noiseCoord * 0.8 - vec2(time * 0.5, time * -0.3));
83
- float noise = (n1 + n2) * 0.5;
80
+ // Very low frequency = just 1-2 large color areas, smooth and rounded
81
+ vec2 noiseCoord = uv * 0.8;
82
+ float noise = fbm(noiseCoord + vec2(time * 0.3, time * 0.2));
84
83
 
85
- // --- COLOR MIXING: two colors morphing together ---
86
- float colorMix = noise * 0.75 + 0.5;
87
- colorMix = smoothstep(0.3, 0.7, colorMix);
84
+ // --- COLOR MIXING: simple smooth blend between two colors ---
85
+ float colorMix = noise + 0.5;
86
+ colorMix = smoothstep(0.4, 0.6, colorMix); // Soft edge between colors
88
87
  vec3 gradientColor = mix(u_color1, u_color2, colorMix);
89
88
 
90
89
  // --- RADIAL FADE: MUST reach background before canvas edges ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anegis-webflow-new",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Webflow development project for Anegis",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/ANEGIS/anegis-webflow-new#readme",