diff --git a/src/constants/Categories.ts b/src/constants/Categories.ts
index 2ceaea5..df46b61 100644
--- a/src/constants/Categories.ts
+++ b/src/constants/Categories.ts
@@ -90,7 +90,8 @@ export const CATEGORIES = [
'Threads',
'Grid Motion',
'Orb',
- 'Ballpit'
+ 'Ballpit',
+ 'Grid Distortion'
]
}
];
diff --git a/src/constants/Components.ts b/src/constants/Components.ts
index a6dba2d..cc64964 100644
--- a/src/constants/Components.ts
+++ b/src/constants/Components.ts
@@ -77,6 +77,7 @@ const backgrounds = {
'balatro': () => import('../demo/Backgrounds/BalatroDemo.vue'),
'orb': () => import('../demo/Backgrounds/OrbDemo.vue'),
'ballpit': () => import('../demo/Backgrounds/BallpitDemo.vue'),
+ 'grid-distortion': () => import('../demo/Backgrounds/GridDistortionDemo.vue'),
};
export const componentMap = {
diff --git a/src/constants/code/Backgrounds/gridDistortionCode.ts b/src/constants/code/Backgrounds/gridDistortionCode.ts
new file mode 100644
index 0000000..fad46f1
--- /dev/null
+++ b/src/constants/code/Backgrounds/gridDistortionCode.ts
@@ -0,0 +1,24 @@
+import code from '@content/Backgrounds/GridDistortion/GridDistortion.vue?raw';
+import type { CodeObject } from '../../../types/code';
+
+export const gridDistortion: CodeObject = {
+ cli: `npx jsrepo add https://vue-bits.dev/ui/Backgrounds/GridDistortion`,
+ installation: `npm i three`,
+ usage: `
+
+
+
+
+
+`,
+ code
+};
diff --git a/src/content/Backgrounds/GridDistortion/GridDistortion.vue b/src/content/Backgrounds/GridDistortion/GridDistortion.vue
new file mode 100644
index 0000000..7d01da7
--- /dev/null
+++ b/src/content/Backgrounds/GridDistortion/GridDistortion.vue
@@ -0,0 +1,235 @@
+
+
+
+
+
diff --git a/src/demo/Backgrounds/GridDistortionDemo.vue b/src/demo/Backgrounds/GridDistortionDemo.vue
new file mode 100644
index 0000000..ed37231
--- /dev/null
+++ b/src/demo/Backgrounds/GridDistortionDemo.vue
@@ -0,0 +1,145 @@
+
+
+
+
+
+
Distortion.
+
+
+
+
+
+ {
+ grid = val;
+ }
+ "
+ />
+
+ {
+ mouse = val;
+ }
+ "
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+