{"id":17309286,"url":"https://github.com/wavebeem/ui-glitch","last_synced_at":"2025-09-07T05:35:51.324Z","repository":{"id":57385167,"uuid":"241191758","full_name":"wavebeem/ui-glitch","owner":"wavebeem","description":"a JS library for making little UI glitches","archived":false,"fork":false,"pushed_at":"2020-04-05T02:10:09.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-01T05:46:58.664Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wavebeem.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-17T19:36:46.000Z","updated_at":"2020-04-05T02:10:06.000Z","dependencies_parsed_at":"2022-09-07T13:00:48.888Z","dependency_job_id":null,"html_url":"https://github.com/wavebeem/ui-glitch","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/wavebeem/ui-glitch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavebeem%2Fui-glitch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavebeem%2Fui-glitch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavebeem%2Fui-glitch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavebeem%2Fui-glitch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wavebeem","download_url":"https://codeload.github.com/wavebeem/ui-glitch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavebeem%2Fui-glitch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273997564,"owners_count":25204559,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T12:28:02.928Z","updated_at":"2025-09-07T05:35:51.303Z","avatar_url":"https://github.com/wavebeem.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ui-glitch\r\n\r\n`ui-glitch` lets you make glitches in your web UI.\r\n\r\n## Installation\r\n\r\n**npm**\r\n\r\n```\r\nnpm install ui-glitch\r\n```\r\n\r\n**script tag**\r\n\r\nDownload [dist/ui-glitch.umd.js](https://unpkg.com/ui-glitch/dist/ui-glitch.umd.js) and load via a `\u003cscript\u003e` tag or download [src/ui-glitch.esm.js](https://github.com/wavebeem/ui-glitch/blob/master/src/ui-glitch.esm.js) and load via ES Modules `import`.\r\n\r\n## Usage\r\n\r\n```js\r\n// --- load via npm and webpack ---\r\nimport * as UIGlitch from \"ui-glitch\";\r\n\r\n// --- or load via ES Modules ---\r\nimport * as UIGlitch from \"./ui-glitch.esm.js\";\r\n\r\n// --- or available as the global variable `UIGlitch` ---\r\n// \u003cscript src=\"ui-glitch.umd.js\"\u003e\u003c/script\u003e\r\n\r\n// --- example function call ---\r\nUIGlitch.blurScreen();\r\n```\r\n\r\n## Reference\r\n\r\n### UIGlitch.addDustSpeck()\r\n\r\nAdds a virtual \"dust speck\" to the screen. For best effect, call a few times. Dust specks are roughly 1px large.\r\n\r\n### UIGlitch.blurScreen()\r\n\r\nVery slightly blurs the entire screen. On a retina display, this looks like the browser's DPI scaling has been incorrectly configured, which is especially sinister.\r\n\r\n### UIGlitch.skewScreen()\r\n\r\nSkews the entire screen horizontally a little bit. This means as you scroll, things get more and more misaligned.\r\n\r\n### UIGlitch.saturateScreen()\r\n\r\nOversaturates all the colors a little bit. Looks like you're on a poorly calibrated TV.\r\n\r\n### UIGlitch.squishScreen()\r\n\r\nMakes the entire screen just a little bit shorter. It all gets squished down a bit. Subtle, but horrible looking.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwavebeem%2Fui-glitch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwavebeem%2Fui-glitch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwavebeem%2Fui-glitch/lists"}