Add Noise animation component and demo with adjustable parameters

This commit is contained in:
sayedTahsin
2025-07-14 00:48:20 +06:00
parent f44fbc0c8e
commit 48c1d688d2
5 changed files with 185 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
import code from '@content/Animations/Noise/Noise.vue?raw';
import type { CodeObject } from '../../../types/code';
export const noise: CodeObject = {
cli: `npx jsrepo add https://vue-bits.dev/ui/Animations/Noise`,
usage: `<template>
<Noise
:pattern-size="250"
:pattern-scale-x="1"
:pattern-scale-y="1"
:pattern-alpha="10"
/>
</template>
<script setup lang="ts">
import Noise from './Noise.vue'
</script>`,
code
};