MCPcopy Index your code
hub / github.com/7PH/powerglitch

github.com/7PH/powerglitch @v2.5.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.5.0 ↗ · + Follow
1,179 symbols 3,326 edges 13 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

PowerGlitch is a standalone library with no external dependencies. It leverages CSS animations to glitch anything on the web, without using a canvas. It weights less than 2kb minified and gzipped.

Want to try it out? Check out the demo 😊

Like this project? Give a star 🌟

Getting started

  1. Install PowerGlitch using a package manager bash npm i --save powerglitch # or yarn add powerglitch or by importing the web bundle in a script tag (or save it locally) html <script src="https://unpkg.com/powerglitch@latest/dist/powerglitch.min.js"></script>

  2. Find an element to glitch ```html

    click me 🤷‍♂️

Hello World

```
  1. Import PowerGlitch using ES6 import javascript import { PowerGlitch } from 'powerglitch' or using ES5 require javascript const PowerGlitch = require('powerglitch').PowerGlitch if you are importing PowerGlitch using a script tag, the PowerGlitch global variable is automatically available.

  2. Glitch the element javascript PowerGlitch.glitch('.glitch')

  3. That's it, your element is glitched!

  4. Check-out the usage guide for optimization and usage tips.

Useful links

Documentation - Visually try out effects using the demo. - Lookup PowerGlitch home page. - For customization and optimization tips, check the usage guide. - Check out the api documentation for reference.

Integrations - React: react-powerglitch - Vue: vue-powerglitch

Contributing

Having trouble? Found a bug? Want to contribute? Any kind of contribution is welcome. If you have any questions, please open an issue or create a pull request.

Core symbols most depended-on inside this repo

I
called by 132
docs/assets/index-f8740b30.js
Z
called by 78
docs/assets/index-f8740b30.js
le
called by 67
docs/assets/index-f8740b30.js
ve
called by 50
docs/assets/index-f8740b30.js
Te
called by 40
docs/assets/index-f8740b30.js
ke
called by 40
docs/assets/index-f8740b30.js
Me
called by 38
docs/assets/index-f8740b30.js
Fe
called by 33
docs/assets/index-f8740b30.js

Shape

Function 1,105
Method 50
Class 24

Languages

TypeScript100%

Modules by API surface

docs/assets/index-f8740b30.js1,157 symbols
src/index.ts15 symbols
test/powerglitch.test.ts3 symbols
docs-src/src/stores/app.js2 symbols
rollup.config.js1 symbols
docs-src/src/icons.js1 symbols

For agents

$ claude mcp add powerglitch \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact