{"id":20515228,"url":"https://github.com/azeem/webvs","last_synced_at":"2025-04-14T00:16:29.039Z","repository":{"id":8664088,"uuid":"10319426","full_name":"azeem/webvs","owner":"azeem","description":"Audio Visualization rendering library for the browser","archived":false,"fork":false,"pushed_at":"2018-06-27T23:01:51.000Z","size":43826,"stargazers_count":88,"open_issues_count":8,"forks_count":18,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-14T00:16:18.128Z","etag":null,"topics":["glsl","graphics","javascript","typescript","visualization","webgl"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/azeem.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-27T17:35:40.000Z","updated_at":"2025-02-11T15:47:25.000Z","dependencies_parsed_at":"2022-07-08T06:20:35.018Z","dependency_job_id":null,"html_url":"https://github.com/azeem/webvs","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azeem%2Fwebvs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azeem%2Fwebvs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azeem%2Fwebvs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azeem%2Fwebvs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azeem","download_url":"https://codeload.github.com/azeem/webvs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248799951,"owners_count":21163404,"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","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":["glsl","graphics","javascript","typescript","visualization","webgl"],"created_at":"2024-11-15T21:20:19.012Z","updated_at":"2025-04-14T00:16:29.009Z","avatar_url":"https://github.com/azeem.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Webvs\n\n[![npm version](https://badge.fury.io/js/webvs.svg)](https://www.npmjs.com/package/webvs)\n[![CircleCI](https://img.shields.io/circleci/project/azeem/webvs.svg?)](https://circleci.com/gh/azeem/webvs/)\n[![David](https://img.shields.io/david/azeem/webvs.svg)](https://david-dm.org/azeem/webvs)\n[![David](https://img.shields.io/david/dev/azeem/webvs.svg)](https://david-dm.org/azeem/webvs?type=dev)\n\nA Winamp AVS like visualization library for the web.\n\n## Demo\n\nTry out some examples, or test your own presets on the [Webvs test page](http://azeemarshad.in/webvs/examples/)\n\n## Documentation\n\nYou can find TypeDoc generated documentation for Webvs on the [website](http://azeemarshad.in/webvs/).\nThe documentation for the [Main](http://azeemarshad.in/webvs/classes/main.html) class is a good place to start.\n\n## Installation\n\n### npm\n\nFor use with package bundlers, Webvs is available on [npm](https://www.npmjs.com/package/webvs) as `webvs`. Install using\n\n\tnpm install webvs\n\nand import in your code and initialize as follows\n\n```js\nimport Webvs from 'webvs';\nconst webvs = new Webvs.Main(....)\n```\n\n### CDN\n\nYou can also embed webvs.js directly from [unpkg](https://unpkg.com) CDN.\n\n\t\u003cscript src=\"https://unpkg.com/webvs/dist/webvs.js\"\u003e\u003c/script\u003e\n\nor for a minified version\n\n\t\u003cscript src=\"https://unpkg.com/webvs/dist/webvs.min.js\"\u003e\u003c/script\u003e\n\nThis script exposes a `Webvs` global which you can use to initialize like so `new Webvs.Main(...)`.\n\n## Usage\nA typical usage involves creating an Analyser from your music source (e.g. [Webvs.WebAudioAnalyser](http://azeemarshad.in/webvs/classes/webaudioanalyser.html) to use an `audio` tag or song url as a source) and initializing an instance of `Webvs.Main` with it. The main object serves as the primary interface or controlling the visualization. e.g.\n\n```js\nconst analyser = new Webvs.WebAudioAnalyser();\nconst webvs = new Webvs.Main({\n    canvas: document.getElementById(\"canvas\"),\n    analyser: analyser,\n    showStat: true\n});\nwebvs.loadPreset({\n  \"clearFrame\": true,\n  \"components\": [\n      {\n          \"type\": \"SuperScope\",\n          \"source\": \"WAVEFORM\",\n          \"code\": {\n              \"perPoint\": \"x=i*2-1;y=v;\"\n          },\n          \"colors\": [\"#ffffff\"]\n      }\n  ]\n});\nwebvs.start();\nanalyser.load(\"music.ogg\");\nanalyser.play();\n```\n\n## Development\n\nTo develop Webvs clone the repo and install packages\n\n\tnpm install\n\nFor typical workflow, start a dev server with\n\n\tnpm run dev\n\nand point browser to `http://localhost:8080/examples/` to view webvs test page.\n\n## Contributing\n\n[Fork](https://github.com/azeem/webvs/fork) and submit pull requests against master branch. Look for issues with [help wanted](https://github.com/azeem/webvs/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) label for things that we need help with. For suggestions/bug fixes use [Github/Issues](https://github.com/azeem/webvs/issues). Chat with us at [visbot/AVS gitter channel](https://gitter.im/visbot/AVS).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazeem%2Fwebvs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazeem%2Fwebvs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazeem%2Fwebvs/lists"}