@bg-effects/mobius 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/README.md +41 -0
- package/package.json +32 -0
package/README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# @bg-effects/mobius
|
|
2
|
+
|
|
3
|
+
3D Mobius Strip background effect with rotating mesh and flowing particles.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- Interactive 3D Mobius strip with single-sided topology
|
|
8
|
+
- Smooth rotation animation with customizable speed
|
|
9
|
+
- Particle flow system along the strip curve
|
|
10
|
+
- Wave deformation effects
|
|
11
|
+
- Wireframe mesh with glow
|
|
12
|
+
- 5 scene-based presets
|
|
13
|
+
- Full debug UI with 20+ configuration options
|
|
14
|
+
|
|
15
|
+
## Installation
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
pnpm add @bg-effects/mobius
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Quick Start
|
|
22
|
+
|
|
23
|
+
```vue
|
|
24
|
+
<script setup>
|
|
25
|
+
import { Mobius } from '@bg-effects/mobius'
|
|
26
|
+
</script>
|
|
27
|
+
|
|
28
|
+
<template>
|
|
29
|
+
<Mobius
|
|
30
|
+
:rotation-speed="0.3"
|
|
31
|
+
:particle-speed="1.0"
|
|
32
|
+
color1="#00ffff"
|
|
33
|
+
color2="#ff00ff"
|
|
34
|
+
particle-color="#ffffff"
|
|
35
|
+
/>
|
|
36
|
+
</template>
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## License
|
|
40
|
+
|
|
41
|
+
MIT
|
package/package.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@bg-effects/mobius",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"@bg-effects/debug-ui": "1.0.0"
|
|
13
|
+
},
|
|
14
|
+
"devDependencies": {
|
|
15
|
+
"@vitejs/plugin-vue": "^5.0.0",
|
|
16
|
+
"vue": "^3.5.13",
|
|
17
|
+
"vite": "^5.0.0",
|
|
18
|
+
"vite-plugin-dts": "^4.5.1",
|
|
19
|
+
"ogl": "^1.0.11",
|
|
20
|
+
"@bg-effects/core": "1.0.0",
|
|
21
|
+
"@bg-effects/shared": "1.0.0",
|
|
22
|
+
"@bg-effects/configs": "1.0.0"
|
|
23
|
+
},
|
|
24
|
+
"peerDependencies": {
|
|
25
|
+
"vue": "^3.3.0",
|
|
26
|
+
"ogl": "^1.0.0"
|
|
27
|
+
},
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "vite build",
|
|
30
|
+
"dev": "vite build --watch"
|
|
31
|
+
}
|
|
32
|
+
}
|