cheryglsljs 1.0.0

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/cherry.js ADDED
@@ -0,0 +1 @@
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("chery",[],t):"object"==typeof exports?exports.chery=t():e.chery=t()}(self,(()=>(()=>{const e=new THREE.Scene,t=new THREE.PerspectiveCamera(75,window.innerWidth/window.innerHeight,.1,1e3),n=document.querySelector("canvas");n.width=400,n.height=400;const o=new THREE.WebGLRenderer({canvas:n});o.setSize(400,400);const r=new THREE.BoxGeometry,i=new THREE.MeshBasicMaterial({color:65280}),c=new THREE.Mesh(r,i);return e.add(c),t.position.z=2,function n(){requestAnimationFrame(n),gsap.to(c.rotation,{y:"+=0.01",duration:.1,overwrite:"auto"}),o.render(e,t)}(),{}})()));
@@ -0,0 +1,14 @@
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
+
10
+ /**
11
+ * @license
12
+ * Copyright 2010-2025 Three.js Authors
13
+ * SPDX-License-Identifier: MIT
14
+ */
package/package.json ADDED
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "cheryglsljs",
3
+ "version": "1.0.0",
4
+ "description": "\"It is threejs,glsl and gsap based js library\"",
5
+ "main": "src/cherry.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "build": "webpack",
9
+ "start": "webpack serve"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/shivam-070208/cheryjs.git"
14
+ },
15
+ "author": "@shivamGupta",
16
+ "license": "ISC",
17
+ "bugs": {
18
+ "url": "https://github.com/shivam-070208/cheryjs/issues"
19
+ },
20
+ "homepage": "https://github.com/shivam-070208/cheryjs#readme",
21
+ "dependencies": {
22
+ "gsap": "^3.13.0",
23
+ "three": "^0.176.0"
24
+ },
25
+ "files": [
26
+ "dist/",
27
+ "src/cherry.js"
28
+ ],
29
+ "devDependencies": {
30
+ "css-loader": "^6.8.1",
31
+ "css-minimizer-webpack-plugin": "^5.0.1",
32
+ "glsl-shader-loader": "^0.1.6",
33
+ "mini-css-extract-plugin": "^2.7.6",
34
+ "terser-webpack-plugin": "^5.3.9",
35
+ "webpack": "^5.88.2",
36
+ "webpack-cli": "^5.1.4",
37
+ "webpack-dev-server": "^4.15.1"
38
+ }
39
+ }
package/src/cherry.js ADDED
@@ -0,0 +1,7 @@
1
+
2
+ import CherryWave from "./effects/waveEffect/Effect";
3
+
4
+
5
+ export default {
6
+ CherryWave
7
+ }