{"id":13515445,"url":"https://github.com/mudin/vue-vr","last_synced_at":"2025-04-12T21:30:00.742Z","repository":{"id":45904954,"uuid":"125811498","full_name":"mudin/vue-vr","owner":"mudin","description":"A framework for building VR applications with Vue","archived":false,"fork":false,"pushed_at":"2021-11-29T03:30:43.000Z","size":26601,"stargazers_count":470,"open_issues_count":6,"forks_count":73,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-06-24T04:55:09.623Z","etag":null,"topics":["360-photo","360-video","demos","panolens","panorama","shaders","threejs","video360","vr","vr-applications","vr-tour","vr-viewer","vue","vue-vr","vuejs","webgl"],"latest_commit_sha":null,"homepage":"","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/mudin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-19T06:28:25.000Z","updated_at":"2024-05-30T02:51:41.000Z","dependencies_parsed_at":"2022-09-26T19:13:40.417Z","dependency_job_id":null,"html_url":"https://github.com/mudin/vue-vr","commit_stats":null,"previous_names":["imudin/vue-vr"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudin%2Fvue-vr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudin%2Fvue-vr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudin%2Fvue-vr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudin%2Fvue-vr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mudin","download_url":"https://codeload.github.com/mudin/vue-vr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248634796,"owners_count":21137118,"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":["360-photo","360-video","demos","panolens","panorama","shaders","threejs","video360","vr","vr-applications","vr-tour","vr-viewer","vue","vue-vr","vuejs","webgl"],"created_at":"2024-08-01T05:01:11.440Z","updated_at":"2025-04-12T21:30:00.719Z","avatar_url":"https://github.com/mudin.png","language":"JavaScript","readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/mudin/vue-vr/blob/master/LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/mudin/vue-vr.svg\" alt=\"License\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://badge.fury.io/js/vue-vr\"\u003e\n    \u003cimg src=\"https://badge.fury.io/js/vue-vr.svg\" alt=\"npm version\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"http://hits.dwyl.io/mudin/vue-vr\"\u003e\n    \u003cimg src=\"http://hits.dwyl.io/mudin/vue-vr.svg\" alt=\"HitCount\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://unpkg.com/vuejs-vr@latest/dist/vue-vr.min.js\"\u003e\n    \u003cimg src=\"https://img.badgesize.io/mudin/vue-vr/master/dist/vue-vr.js?compression=gzip\" alt=\"size\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n# Vue VR\nA Wrapper of [Panolens](https://pchen66.github.io/Panolens/) for building VR applications with Vue\nbased on [threejs](https://threejs.org/)\n\n## Demos\n[Image Pano](https://mudin.github.io/vue-vr/#/demo-pano)\n\n[Cube Pano](https://mudin.github.io/vue-vr/#/demo-cube-pano)\n\n[Video Pano](https://mudin.github.io/vue-vr/#/demo-video-pano)\n\n![360 Video Demo](https://mudin.github.io/vue-vr/assets/360video.gif?raw=true)\n\n[VR Tour](https://mudin.github.io/vue-vr/#/demo-tour)\n\n![VR Tour](https://mudin.github.io/vue-vr/assets/vrtour.gif?raw=true)\n\n## Getting started\nusing npm\n```\nnpm install vuejs-vr --save\n```\nOr using script tag for global use\n```html\n\u003cscript src=\"https://unpkg.com/vuejs-vr@latest/dist/vue-vr.min.js\"\u003e\u003c/script\u003e\n```\n\nOr Download \u003ca href=\"https://unpkg.com/vuejs-vr@latest/dist/vue-vr.min.js\"\u003evue-vr.min.js\u003c/a\u003e and include it in your html\n\n## Installing \u0026 Running Locally\n\nClone the repository using git:\n```\ngit clone https://github.com/mudin/vue-vr.git \n```\nInstalling all dependencies:\n```\nnpm install \n```\nBuild by webpack:\n```\nnpm run-script build \n```\nRun locally:\n```\nnpm start \n```\nThis will start development server on localhost:8080\n\n## Usage\n\n####For simple panorama:\nPanorama by equirectangular image\n```vue\n\u003ctemplate\u003e\n    \u003cPano source=\"pano.jpg\"\u003e\u003c/Pano\u003e\n\u003c/template\u003e\n\u003cscript\u003e\n    import { Pano } from 'vuejs-vr'\n\n    export default {\n        components: { Pano }\n    }\n\u003c/script\u003e\n```\nOr\n```vue\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n\u003chead\u003e\n    \u003cmeta charset=\"UTF-8\"\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n    \u003cdiv id=\"app\"\u003e\n        \u003cPano source=\"pano.jpg\"\u003e\u003c/Pano\u003e\n    \u003c/div\u003e\n    \u003cscript src=\"vue.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"vuejs-vr.js\"\u003e\u003c/script\u003e\n    \u003cscript\u003e\n        new Vue({\n            el: '#app'\n        })\n    \u003c/script\u003e\n\u003c/body\u003e\n```\n\n\n####For cube faces:\nPanorama with a six-face cubemap\n```vue\n\u003ctemplate\u003e\n    \u003cPano type='cube' source=\"pano_%s.jpg\"\u003e\u003c/Pano\u003e\n\u003c/template\u003e\n\u003cscript\u003e\n    import { Pano } from 'vuejs-vr'\n\n    export default {\n        components: { Pano }\n    }\n\u003c/script\u003e\n```\nNote: `%s` replaced by `'l'|'f'|'r'|'b'|'u'|'d'`\nOr\n```vue\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n\u003chead\u003e\n    \u003cmeta charset=\"UTF-8\"\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n    \u003cdiv id=\"app\"\u003e\n        \u003cPano type='cube' source=\"pano_%s.jpg\"\u003e\u003c/Pano\u003e\n    \u003c/div\u003e\n    \u003cscript src=\"vue.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"vuejs-vr.js\"\u003e\u003c/script\u003e\n    \u003cscript\u003e\n        new Vue({\n            el: '#app'\n        })\n    \u003c/script\u003e\n\u003c/body\u003e\n```\n\n\n\n####360 video:\nPanorama with 360 video\n```vue\n\u003ctemplate\u003e\n    \u003cPano type='video' source=\"video.mp4\"\u003e\u003c/Pano\u003e\n\u003c/template\u003e\n\u003cscript\u003e\n    import { Pano } from 'vuejs-vr'\n\n    export default {\n        components: { Pano }\n    }\n\u003c/script\u003e\n```\nOr\n```vue\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n\u003chead\u003e\n    \u003cmeta charset=\"UTF-8\"\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n    \u003cdiv id=\"app\"\u003e\n        \u003cPano type='video' source=\"video.mp4\"\u003e\u003c/Pano\u003e\n    \u003c/div\u003e\n    \u003cscript src=\"vue.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"vuejs-vr.js\"\u003e\u003c/script\u003e\n    \u003cscript\u003e\n        new Vue({\n            el: '#app'\n        })\n    \u003c/script\u003e\n\u003c/body\u003e\n```\n\n## TODO List\n* Hotspots\n* Multi touch on touchsceen devices\n* 3D objects\n* HlS, Live Streaming video Support\n\n## Contributing\nIf you would like to contribute code you can do so through GitHub by forking the repository and sending a pull request.\n\n## LICENSE\nMIT\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmudin%2Fvue-vr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmudin%2Fvue-vr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmudin%2Fvue-vr/lists"}