cheryglsljs 1.1.9 → 1.1.10

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.
@@ -1,3 +1,12 @@
1
+ /*!
2
+ * GSAP 3.13.0
3
+ * https://gsap.com
4
+ *
5
+ * @license Copyright 2008-2025, GreenSock. All rights reserved.
6
+ * Subject to the terms at https://gsap.com/standard-license
7
+ * @author: Jack Doyle, jack@greensock.com
8
+ */
9
+
1
10
  /**
2
11
  * @license
3
12
  * Copyright 2010-2025 Three.js Authors
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cheryglsljs",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "description": "A Three.js + GLSL-based wave effect library.",
5
5
  "main": "dist/cherry.js",
6
6
  "module": "dist/cherry.js",
@@ -1,9 +1,8 @@
1
1
  import createWaveAssets from "../../utils/init.js";
2
2
  import fragmentShader from "./FragementShader.glsl.js";
3
3
  import vertexShader from "./VertexShader.glsl.js";
4
- // Make sure the file 'FragmentShader.glsl.js' exists in the same directory as this file.
5
- // If the file is named differently or located elsewhere, update the import path accordingly.
6
- // Example: import fragmentShader from '../../shaders/FragmentShader.glsl.js';
4
+ import gsap from "gsap";
5
+
7
6
 
8
7
  export function ImageTransition1(
9
8
  container,
@@ -2,6 +2,7 @@
2
2
  import createWaveAssets from '../../utils/init.js';
3
3
  import fragmentShader from './FragementShader.glsl.js';
4
4
  import vertexShader from './Vertexshader.glsl.js';
5
+ import gsap from 'gsap';
5
6
 
6
7
  const CherryWave = ({ container, image, speed = 0.05, strength = 0.02, hover = false,light }) => {
7
8
  if (!image) {
package/src/utils/init.js CHANGED
@@ -1,4 +1,4 @@
1
-
1
+ import * as THREE from 'three'
2
2
  const Scene = () => new THREE.Scene();
3
3
  const camera = () => new THREE.PerspectiveCamera(
4
4
  75,