cheryglsljs 1.1.11 → 1.1.13

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.
@@ -6,3 +6,9 @@
6
6
  * Subject to the terms at https://gsap.com/standard-license
7
7
  * @author: Jack Doyle, jack@greensock.com
8
8
  */
9
+
10
+ /**
11
+ * @license
12
+ * Copyright 2010-2025 Three.js Authors
13
+ * SPDX-License-Identifier: MIT
14
+ */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cheryglsljs",
3
- "version": "1.1.11",
3
+ "version": "1.1.13",
4
4
  "description": "A Three.js + GLSL-based wave effect library.",
5
5
  "main": "dist/cherry.js",
6
6
  "module": "dist/cherry.js",
package/src/cherry.js CHANGED
@@ -1,4 +1,4 @@
1
- import *as THREE from 'three';
1
+
2
2
  import CherryWave from "./effects/waveEffect/Effect";
3
3
  import { ImageTransition1 } from "./effects/TransitionEffect1/Effect";
4
4
  export default {
@@ -2,7 +2,7 @@ import createWaveAssets from "../../utils/init.js";
2
2
  import fragmentShader from "./FragementShader.glsl.js";
3
3
  import vertexShader from "./VertexShader.glsl.js";
4
4
  import gsap from "gsap";
5
-
5
+ import *as THREE from 'three';
6
6
 
7
7
  export function ImageTransition1(
8
8
  container,
@@ -3,6 +3,7 @@ import createWaveAssets from '../../utils/init.js';
3
3
  import fragmentShader from './FragementShader.glsl.js';
4
4
  import vertexShader from './Vertexshader.glsl.js';
5
5
  import gsap from 'gsap';
6
+ import *as THREE from 'three';
6
7
 
7
8
  const CherryWave = ({ container, image, speed = 0.05, strength = 0.02, hover = false,light }) => {
8
9
  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,